Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 6 IP Routing Policy Configuration
Commands
3Com Corporation
6-15
Related command: 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
6.1.20 if-match ip-prefix
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
Use the if-match ip-prefix command to configure one of the match rules of
route-policy on the IP address range of the routing information.
Use the undo if-match ip next-hop command to cancel the setting of match condition.
The filtering is achieved through redistributing an IP address prefix name.
Related command: 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
6.1.21 if-match tag
Syntax
if-match tag value
undo if-match tag