HP VPN Firewall Appliances Network Management Command Reference
1075
Default command level
2: System level
Parameters
value: Specifies a tag in the range of 0 to 4294967295.
Usage guidelines
Only F5000 firewalls support this command.
Examples
# Configure node 10 in permit mode of routing policy policy1 to match RIP and OSPF routing
information having a tag of 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match tag 8
ip as-path
Use ip as-path to create an AS path list.
Use undo ip as-path to remove an AS path list.
Syntax
ip as-path as-path-number { deny | permit } regular-expression
undo ip as-path as-path-number
Default
No AS path list is created.
Views
System view
Default command level
2: System level
Parameters
as-path-number: Specifies an AS path list by its 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: Specifies the 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 AS 200 and ends with AS 100. For the meanings of
special characters used in regular expressions, see Getting Started Guide.
Examples
# Create AS path list 1, permitting routing information whose AS_PATH attribute starts with 10.
<Sysname> system-view
[Sysname] ip as-path 1 permit ^10