3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
1190
C
HAPTER
 78: R
OUTING
 P
OLICY
 C
OMMON
 C
ONFIGURATION
 C
OMMANDS
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match interface serial 2/0
[Sysname-route-policy] apply cost 120 
apply cost-type
Syntax
apply cost-type { external | internal | type-1 | type-}
undo apply cost-type
View
Routing policy view
Parameters
external: IS-IS external route.
internal: IS-IS internal route.
type-1: Type-1 external route of OSPF.
type-2: Type-2 external route of OSPF.
Description
Use the apply cost-type command to set a cost type for routing information.
Use the undo apply cost-type command to remove the clause configuration.
No cost type is set for routing information by default.
Examples
# Create routing policy policy1 with node 10, matching mode as permit. If a route 
matches tag 8, set the cost type for the route to IS-IS internal route.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8
[Sysname-route-policy] apply cost-type internal 
apply extcommunity
Syntax
apply extcommunity { rt route-target }&<1-16> [ additive ]
undo apply extcommunity
View
Routing policy view
Parameters
rt route-target: Sets the route target extended community attribute, which is a 
string of 3 to 21 characters. route-target has two forms:
16-bit AS number: 32-bit self-defined number, for example, 101:3;
32-bit IP address: 16-bit self-defined number, for example, 192.168.122.15:1.
&<1-16>: Indicates the argument before it can be entered up to 16 times.