Accton Technology ES4626 Switch User Manual


 
321
Default: The default CoS value is 0.
Command mode: Interface Mode
Example: Set the default CoS value of port ethernet 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
Switch(Config-Ethernet1/1)#mls qos cos 5
13.1.2.2.12 service-policy
Command: service-policy {input <policy-map-name> | output <policy-map-name>}
no service-policy {input <policy-map-name> | output
<policy-map-name>}
Function: Apply a policy map to the specified port; the “no service-policy {input
<policy-map-name> | output <policy-map-name>}” command deletes the
specified policy map applied to the port.
Parameter: input <policy-map-name> applies the specified policy map to the ingress of
switch port; output <policy-map-name> applies the specified policy map to
the egress of switch port.
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: Bind policy p1 to ingress of port ethernet 1/1.
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)# service-policy input p1
13.1.2.2.13 mls qos dscp-mutation
Command: mls qos dscp-mutation <dscp-mutation-name>
no mls qos dscp-mutation <dscp-mutation-name>
Function: Apply DSCP mutation mapping to the port; the “no mls qos dscp-mutation
<dscp-mutation-name>” command restores the DSCP mutation mapping
default.
Parameter: <dscp-mutation-name> is the DSCP mutation mapping name.