3com MSR 20-20 참조 매뉴얼
1202
C
HAPTER
78: R
OUTING
P
OLICY
C
OMMON
C
ONFIGURATION
C
OMMANDS
nssa-external-type1or2: OSPF NSSA Type 1 or 2 external routes.
Description
Use the if-match route-type command to configure a route type match
criterion.
criterion.
Use the undo if-match route-type command to remove the match criterion.
The match criterion is not configured by default.
Examples
# Create a routing policy named policy1 with node 10, matching mode as permit.
Define an if-match clause to match internal routes.
Define an if-match clause to match internal routes.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match route-type internal
if-match tag
Syntax
if-match tag value
undo if-match tag
View
Routing policy view
Parameters
value: Specifies a tag value, ranging from 0 to 4294967295.
Description
Use the if-match tag command to specify a tag for matching against the tag
field of the routes.
field of the routes.
Use the undo if-match tag command to remove the match criterion.
The match criterion is not configured by default.
Related commands:
if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop,
if-match cost, route-policy, apply ip-address next-hop, apply cost, apply
local-preference, apply origin and apply tag.
if-match cost, route-policy, apply ip-address next-hop, apply cost, apply
local-preference, apply origin and apply tag.
Examples
# Create a routing policy named policy1 with node 10, matching mode as permit.
Define an if-match clause to permit RIP, OSPF and IS-IS routing information with
the tag as 8.
Define an if-match clause to permit RIP, OSPF and IS-IS routing information with
the tag as 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8
ip as-path
Syntax
ip as-path as-path-number { deny | permit } regular-expression
undo ip as-path as-path-number