F3215-HP Load Balancing Module Network Management Command Reference-6PW101
549
Examples
# Configure node 10 in permit mode of routing policy policy1. Set a preferred value of 66 for BGP
routing information matching AS path list 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply preferred-value 66
apply tag
Use apply tag to set a specified tag for RIP or OSPF 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 or OSPF routing information.
Views
Routing policy view
Default command level
2: System level
Parameters
value: 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.
Views
Routing policy view