User Manual
UMN:CLI
V8102
347
no action match dscp
no action match route next-hop
no action match route next-hop6
9.3.4.5
Setting CoS and ToS values
To specify a CoS or ToS value for a matching condition, use the following command.
Command
Mode
Description
action match cos
<0-7>
[
over-
write
]
Policy
Configures the 802.1p class of service value.
0-7: CoS value
overwrite: changes 802.1p class of service value with
the one you set
action match cos same-as-ip-
precedence
[
overwrite
]
Changes the 802.1p CoS field in the packet with an IP
ToS precedence value.
action match tos
<0-255>
Changes ToS bits in the packets.
0-255: ToS value
action match dscp
<0-63>
Marks the packets with DSCP field.
0-63: DSCP value
action match ip-precedence
<0-
7>
Configures the IP ToS precedence value in the packet.
0-7: ToS precedence value
action
match
ip-precedence
same-as-cos
Changes the IP ToS precedence value in the packet
with an 802.1p CoS value.
To delete the CoS or ToS matching condition, use the following command.
Command
Mode
Description
no action match cos
[
overwrite
]
Policy
Deletes the CoS /ToS/ DSCP matching
condition.
no action match cos same-as-ip-precedence
overwrite
no action match tos
no action match dscp
no action match ip-precedence
no action match ip-precedence same-as-cos
9.3.4.6
Applying and Modifying Policy
After configuring a policy using the above commands, apply it to the system with the fol-
lowing command. If you do not apply the policy to the system, all specified configurations
from
Policy Configuration
mode will be lost.
To save and apply a policy, use the following command.
Command
Mode
Description
apply
Policy
Applies a policy to the system.