R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

980
Default level
2: System level
Parameters
value: Specifies a tag from 0 to 4294967295.
Description
Use if-match tag to match routing information having the specified tag.
Use undo if-match tag to remove the match criterion.
The match criterion is not configured by default.
Examples
# Configure node 10 in permit mode of routing policy policy1 to permit RIP, OSPF and IS-IS routing
information with a tag of 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8
ip as-path
Syntax
ip as-path as-path-number { deny | permit } regular-expression
undo ip as-path as-path-number
View
System view
Default level
2: System level
Parameters
as-path-number: AS-PATH list number, in the range of 1 to 256.
deny: Specifies the match mode for the AS-PATH list as deny.
permit: Specifies the match mode for the AS-PATH list as permit.
regular-expression: AS-PATH regular expression, a string of 1 to 50 characters.
BGP routing updates contain the AS path attribute field that identifies the autonomous systems through
which the routing information has passed. An AS-PATH regular expression, for example, ^200. *100$,
matches the AS path attribute that starts with AS200 and ends with AS100. For the meanings of special
characters used in regular expressions, see Getting Started Guide.
Description
Use ip as-path to create an AS-PATH list.
Use undo ip as-path to remove an AS-PATH list.
No AS-PATH list is created by default.
Examples
# Create AS-PATH list 1, permitting routing information whose AS_PATH attribute starts with 10.
<Sysname> system-view