Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 5 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
5-15
5.1.19 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
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
5.1.20 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.
index-number: Identify an item in the prefix address list. The item with smaller
index-number will be tested first.