3Com S7902E Command Reference Manual - page 1095
1-25
Use the
undo if-match ip
command to remove the match criterion.
The match criterion is not configured by default.
Related commands:
route-policy
.
Examples
# Configure node 10 of route policy
policy1
to permit routing information whose next hop address
matches IP prefix list
p1
.
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match ip next-hop ip-prefix p1
if-match ip-prefix
Syntax
if-match
ip-prefix
ip-prefix-name
undo if-match
ip-prefix
View
Route policy view
Default Level
2: System level
Parameters
ip-prefix-name
: Matches an IP prefix list with a name being a string of 1 to 19 characters.
Description
Use the
if-match ip-prefix
command to configure an IP prefix list based match criterion.
Use the
undo if-match ip-prefix
command to remove the match criterion.
No IP prefix list based match criterion is configured by default.
Related commands:
if-match interface
,
if-match ip next-hop
,
if-match cost
,
if-match tag
,
route-policy
,
apply ip-address next-hop
,
apply cost
,
apply local-preference
,
apply origin
,
apply
tag
.
Examples
# Configure node 10 of route policy
policy2
to permit routes whose destination address matches IP
prefix list
p1
.
[Sysname] route-policy policy2 permit node 10
[Sysname-route-policy] if-match ip-prefix p1
ip ip-prefix
Syntax
ip ip-prefix
ip-prefix-name
[
index
index-number
] {
permit
|
deny
}
ip-address mask-length
[
greater-equal
min-mask-length
] [
less-equal
max-mask-length
]