3Com 3031 Command Reference Manual page 677

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

Advertisement

if-match interface
if-match ip next-hop
Example
Define an if-match clause, which allows the routing information with routing cost
8 to pass this if-match clause.
[3Com-route-policy] if-match cost 8
Syntax
if-match interface { interface-name | interface-type interface-number }
undo if-match interface
View
Routing policy view
Parameter
interface-type: Specifies interface type.
interface-number: Specifies interface number.
interface-name: Specifies interface name.
Description
Using the if-match interface command, you can match the route whose next hop
is designated interface. Using the undo if-match interface 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 match the corresponding
interface of the route next hop when it filters the route.
For the related command, see if-match acl, if-match ip-prefix, 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
Display how to define one if-match clause to match the route whose next hop
interface is ethernet 1/0/2.
[3Com-route-policy] if-match interface Ethernet1/0/2
Syntax
if-match ip next-hop { acl acl-number | ip-prefix ip-prefix-name }
undo if-match ip next-hop [ ip-prefix ]
View
Routing policy view
Parameter
acl-number: Specifies the number of the access control list used for filtering.
The range is 1 to 99.
ip-prefix-name: Specifies the name of the prefix address list used for filtering.
The range is 1 to 19.
IP Routing Policy Configuration Commands
677

Advertisement

Table of Contents
loading

Table of Contents