3Com 3031 Command Reference Manual page 678

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

678
C
6: R
P
HAPTER
OUTING
if-match ip-prefix
if-match tag
ROTOCOL
Description
Using the if-match ip next-hop command, you can configure one of the match
rules of route-policy on the next hop address of the routing information. Using the
undo if-match ip next-hop command, you can cancel the setting of match
condition.
By default, no if-match clause is defined.
This if-match clause of the route-policy is used to specify the next hop address
field matching the routing information when it filters the routing information and
implement its filtering function by referring to an ACL or address prefix list.
For the related command, see if-match interface, if-match acl, if-match ip-prefix,
if-match cost, if-match tag, route-policy, apply ip-address, apply cost, apply
local-preference, apply origin, and apply tag.
Example
Define an if-match clause. It permits the routing information, whose route next
hop address passes the filtering of the prefix address list p1, to pass this if-match
clause.
[3Com-route-policy] if-match ip next-hop ip-prefix p1
Syntax
if-match ip-prefix ip-prefix-name
undo if-match [ ip-prefix ip-prefix-name ]
View
Routing policy view
Parameter
ip-prefix-name: Specifies the name of the prefix address list used for filtering.
Description
Using the if-match ip-prefix command, you can configure one of the match rules
of route-policy on the IP address range of the routing information. Using the undo
if-match ip next-hop command, you can cancel the setting of match condition.
The filtering is achieved through importing an IP address prefix name.
For the related command, see if-match acl, if-match interface, if-match ip
next-hop, if-match cost, if-match tag, route-policy, apply ip-address, apply cost,
apply local-preference, apply origin, and apply tag.
Example
Define an if-match sub-statement in which the IP address prefix list p1 is used in
routing information filtering.
[3Com-route-policy] if-match ip-prefix p1
Syntax
if-match tag value
undo if-match tag

Advertisement

Table of Contents
loading

Table of Contents