Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 4 IP Routing Policy Configuration
Commands
Huawei Technologies Proprietary
4-8
4.1.9 if-match tag
Syntax
if-match tag
value
undo if-match tag
View
Route policy view
Parameter
value
: Tag field value.
Description
Use the
if-match tag
command to configure to match the tag field of route information.
Use the
undo if-match tag
command to cancel the existing matching rules.
Related command:
if-match interface
,
if-match acl
,
if-match ip-prefix
,
if-match ip
next-hop
,
if-match cost
,
route-policy
,
apply cost,
and
apply tag
.
Example
# Define an if-match clause to permit the OSPF route information whose tag value is 8
to pass the if-match clause.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] route-policy policy permit node 1
%New sequence of this list
[Quidway-route-policy] if-match tag 8
4.1.10 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:
Name of address prefix list. It identifies an address prefix list uniquely.