Feedback

  • Contents
  • Index
 

Ingress DSCP mapping (Cisco)

As mentioned previously, Cisco Catalyst switches support trusting using DSCP (DiffServ), IP Precedence, or CoS values on ingress frames. Internally, the switch maps the IP precedence or CoS value to a DSCP value. The following tables illustrate the default mapping tables for CoS-to-DSCP and IP Precedence-to-DSCP, respectively. Based on these mappings, the packets are placed in the appropriate queue.

CoS 0 1 2 3 4 5 6 7

DSCP

0

8

16

24

32

40

48

56

IP Precedence 0 1 2 3 4 5 6 7

DSCP

0

8

16

24

32

40

48

56

The above mappings are configurable. For example, the following command changes the mappings from the default CoS-to-DSCP map to this custom table. This command is automatically run during Cisco's AutoQoS. AutoQoS should not be used. AutoQoS is designed for Cisco products.

From the privileged exec mode:

  configure terminal
  mls qos map cos-dscp 0 8 16 26 32 46 48 56
  exit