3com S7906E Guide De Référence
1-10
[Sysname-route-policy] apply preferred-value 66
apply tag
Syntax
apply tag value
undo apply tag
View
Route policy view
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 route 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.