Switch 7700 Command reference Guide, v2.0

Table Of Contents
IP Routing Policy Configuration Commands 239
Related commands: if-match interface, if-match acl, if-match ip-prefix,
if-match cost, if-match tag, route-policy, apply ip next-hop, apply cost,
apply local-preference, apply origin, apply tag.
Example
Define a match sub-statement. It permits the routing information, whose route
next hop address passes the filtration of the prefix address list p1, to pass this
match sub-statement.
[SW7700-route-policy]if-match ip next-hop ip-prefix p1
if-match tag Syntax
if-match tag value
undo if-match tag
View
Route policy view
Parameter
value: Specify the value in tag field of OSPF route information.
Description
Use the if-match tag command to configure to match the tag field of OSPF
route information.
Use the undo if-match tag command to cancel the existing matching rules.
Related commands: if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match cost, route-policy, apply ip next-hop,
apply cost, apply local-preference, apply origin, apply tag.
Example
Define one match sub-statement and enable the OSPF route information whose
value of tag is 8 to pass the match sub-statement.
[SW7700-route-policy]if-match tag 8
ip ip-prefix Syntax
ip ip-prefix ip_prefix_name [ index index_number ] { permit | deny }
network len [ greater-equal greater_equal | less-equal less_equal ]
undo ip ip-prefix ip_prefix_name [ index index_number | permit | deny
]
View
System view
Parameter
ip_prefix_name: The specified address prefix list name. It identifies one address
prefix list uniquely.