H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
6-15
%New sequence of this list
[H3C-route-policy] if-match ip next-hop ip-prefix p1
6.1.18 if-match tag
Syntax
if-match tag value
undo if-match tag
View
Route policy view
Parameters
value: Tag field value, ranging from 0 to 4,294,967,295.
Description
Use the if-match tag command to match the tag field of routing information.
Use the undo if-match tag command to remove the matching rule.
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.
Examples
# Define an if-match clause. It permits the OSPF route information whose tag value is 8
to pass the if-match clause.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] route-policy policy permit node 1
%New sequence of this list
[H3C-route-policy] if-match tag 8
6.1.19 ip as-path-acl
Syntax
ip as-path-acl acl-number { permit | deny } as-regular-expression
undo ip as-path-acl acl-number
View
System view