F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
1065
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, 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: Tag value, in the range of 0 to 4294967295.
Usage guidelines
Only F5000 firewalls support this command.
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.