Previous page Next page

Setting a Physical Port to Mask DiffServ Bits

CLI Command

Use the set port mask-diffserv command to mask the three least significant bits of the DSCP when the switch is using the DSCP to classify bridged IP traffic. If you mask the three least significant bits of the DSCP, the switch recognizes the remaining bits as the precedence field of the type of service (TOS) field and classifies the packets accordingly.

The syntax of this command is:

(configure)# set port mask-diffserv {{<mod-num> | <mod-swport-range>} [..., {<mod-num> | <mod-swport-range>}] | all-ports} {on | off}

Table�190:�set port mask-diffserv Command Parameters �
Parameter
Description
<mod-num>
The slot number of a module. If you specify <mod-num>, all ports on the module mask the three least significant bits of the DSCP.
<mod-swport-range>
The slot number of a module, and, either a port number, or a range of port numbers having the format Px-Py. For example:
  • To specify port 1 on the module in slot 3, enter 3/1.
  • To specify ports 1 through 5 on the module in slot 3, enter 3/1-5.
If you specify <mod-swport-range>, the port or range of ports on the module that you specify mask the three least significant bits of the DSCP.
{all-ports}
All ports in the chassis. If you enter all-ports, all ports in the chassis are set to mask the three least significant bits of the DSCP.
{on | off}
Indicates whether the switch masks the three least significant bits of the DSCP:
  • Enter on to mask the bits.
  • Enter off to not mask the bits.
The default setting is off.


Previous page Next page