1195
View Routing policy view
Parameters value: Tag value, in the range 0 to 4294967295.
Description Use the
apply tag command to set a specified tag value for RIP, OSPF or IS-IS
routing information.
Use the
undo apply tag command to remove the clause configuration.
No routing tag is set for RIP, OSPF or IS-IS routing information by default.
Related commands: if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop,
if-match cost, if-match tag, route-policy, apply ip-address next-hop, apply
local-preference, apply cost and apply origin.
Examples # Create routing policy policy1 with node 10, matching mode as permit. If a route
matches OSPF external route type 1, set the tag of the route to 100.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match route-type external-type1
[Sysname-route-policy] apply tag 100
display ip as-path
Syntax display ip as-path [ as-path-acl number ]
View Any view
Parameters as-path-acl-number: AS path ACL number, in the range of 1 to 256.
Description Use the
display ip as-path command to display BGP AS path ACL information.
Information about all BGP AS path ACLs will be displayed if no as-path-acl-number
is specified.
Related commands: ip as-path, if-match as-path and apply as-path.
Examples # Display the information of BGP AS path ACL 1.
<Sysname> display ip as-path-acl 1
ListID Mode Expression
1 permit 2
Table 283 Description on the fields of the display ip as-path-acl command
Field Description
ListID AS path ACL ID
Mode Matching mode: permit, deny
Expression Regular expression for matching