Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-16
Description
Using if-match tag command, you can configure to match the tag field of OSPF route
information. Using undo if-match tag command, you can cancel the existing matching
rules.
For the related commands, see 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 and apply tag.
Example
# Define one if-match sub-statement and enable the OSPF route information whose
value of tag is 8 to pass the if-match sub-statement.
[Quidway-route-policy] if-match tag 8
6.1.21 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. The length of ip-prefix-name ranges from 1 to 19 character string.
index-number: Identify an item in the prefix address list. The item with smaller
index-number will be tested first.
permit: Specify the match mode of the defined address prefix list items as permit
mode.
deny: Specify the match mode of the defined address prefix list items as deny mode.
network: The IP address prefix range (IP address). If it is 0.0.0.0 0, all the IP addresses
are matched.
len: The IP address prefix range (mask length). If it is 0.0.0.0 0, all the IP addresses are
matched.
greater-equal, less-equal: 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 "larger than or equal to" , and the meaning of less-equal is "less than
or equal to". The range is len <= greater-equal <= less-equal <= 32. When only