12-9
Default Level
2: System level
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
,
apply origin
.
Examples
# Configure node 10 in
permit
mode of routing policy
policy1
: set a tag of 100 for OSPF
external routes.
<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-number
]
View
Any view
Default Level
1: Monitor level
Parameters
as-path-number
: AS-PATH list number, in the range of 1 to 256.
Description
Use the
display ip as-path
command to display BGP AS-PATH list information.
Information about all BGP AS-PATH lists will be displayed if no
as-path-number
is specified.
Related commands:
ip as-path
,
if-match as-path
,
apply as-path
.
Examples
# Display the information of BGP AS-PATH list 1.
<Sysname> display ip as-path 1
ListID Mode Expression
1 permit 2