IP Routing Policy Configuration Commands
679
View
Routing policy view
Parameter
■
value: Specifies the required tag value.
Description
Using the if-match tag command, you can match the tag field of OSPF route
information. Using the undo if-match tag command, you can cancel the existing
matching rules.
For the related command, see if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match cost, route-policy, apply ip-address, apply cost,
apply local-preference, apply origin, and apply tag.
Example
Display how to define one if-match clause and enable the OSPF route information
whose tag field is 8 to pass the if-match clause.
[3Com-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: Specifies an address prefix list name. It identifies one address
prefix list uniquely.
■
index-number: Identifies an item in the prefix address list. The item with smaller
index-number will be tested first.
■
permit: Specifies the match mode of the defined address prefix list items as
permit mode. In the permit mode, if the IP address to be filtered is in the
defined range, it will not be tested by the next node. Otherwise, it has to go on
with the test.
■
deny: Specifies the match mode of the defined address prefix list items as deny
mode. In the deny mode, the IP address in the defined range cannot pass the
filtering and is refused to go on with the next test. Otherwise, it will have the
next test.
■
network: IP address prefix range (IP address). If it is 0.0.0.0 0, all the IP
addresses are matched.
■
len: IP address prefix range (mask length). If it is 0.0.0.0 0, all the IP addresses
are matched.
■
greater-equal, less-equal: Specifies the address prefix range [greater-equal,
less-equal] to be matched after the address prefix network len has been
matched. The meaning of greater-equal is "greater than or equal to" , and the
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...