A SERVICE OF

logo

809
Examples # Set the next hop to 1.1.1.1 for matched packets.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-policy-based-route] apply ip-address next-hop 1.1.1.1 track 1
apply ip-precedence
Syntax apply ip-precedence { type | value }
undo apply ip-precedence
View policy-based-route view
Parameters type: Specifies the precedence type of IP packets.
value: Specifies a precedence value. There are eight precedences (0 to 7) for an IP
packet, each corresponding to a keyword. The precedences are listed in the
following table:
Description Use the
apply ip-precedence command to set a precedence for matched
packets.
Use the
undo apply ip-precedence command to remove the setting.
Related commands: apply output-interface, apply ip-address next-hop, apply default
output-interface, and apply ip-address default next-hop.
Examples # Set the precedence to 5 (critical) for matched packets.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-policy-based-route] apply ip-precedence critical
Table 164 IP precedences and the corresponding keywords
Precedence Keyword
0 routine
1 priority
2 immediate
3 flash
4 flash-override
5 critical
6 internet
7 network