ES4710BD 10 Slots L2/L3/L4 Chassis Switch
Example: Configuring Ethernet port 1/1 to trust CoS value, i.e., classifying the packets according to CoS value, DSCP value should not be changed.
Switch(Config)#interface ethernet 1/1
16.2.2.11 mls qos cos
Command: mls qos cos {<default-cos> } no mls qos cos
Function: Configures the default CoS value of the port; the “no mls qos cos” command restores the default setting.
Parameters: <
Default: The default CoS value is 0.
Command mode: Interface Mode
Usage Guide:
Example: Setting the default CoS value of Ethernet port 1/1 to 5, i.e., packets coming in through this port will be assigned a default CoS value of 5 if no CoS value present.
Switch(Config)#interface ethernet 1/1
16.2.2.12 service-policy
Command:
Function: Applies a policy map to the specified port; the “no
Parameters: input
Default: No policy map is bound to ports by default.
Command mode: Interface Mode
Usage Guide: Configuring port trust status and applying policy map on the port are two conflicting operations; the later configuration will override the earlier configuration. Only one policy map can be applied to each direction of each port. Egress policy map is not supported yet.
Example: Binding policy p1 to ingress of Ethernet port 1/1. Switch(Config)#interface ethernet 1/1
345