R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
494
Examples
# Configure node 10 in permit mode of routing policy policy1. Set QoS-local ID 200 for routes matching
the prefix list abc.
<Sysname> system-view
[Sysname] ip ip-prefix abc index 10 permit 100.1.1.0 24
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match ip-prefix abc
[Sysname-route-policy] apply qos-local-id 200
apply tag
Use apply tag to set a specified tag for RIP, OSPF, or IS-IS routing information.
Use undo apply tag to remove the clause configuration.
Syntax
apply tag value
undo apply tag
Default
No routing tag is set for RIP, OSPF, or IS-IS routing information.
Views
Routing policy view
Default command level
2: System level
Parameters
value: Specifies a tag value in the range of 0 to 4294967295.
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
continue
Use continue to specify the next node to be matched.
Use undo continue to remove the configuration.
Syntax
continue [ node-number ]
undo continue
Default
No next node is specified.