Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC Configuration Guide for the S4048T–ON System 9.14.2.4

PDF

Displaying Configured Class Maps and Match Criteria

To display all class-maps or a specific class map, use the following command.

Dell EMC Networking OS Behavior: An explicit “deny any" rule in a Layer 3 ACL used in a (match any or match all) class-map creates a "default to Queue 0" entry in the CAM, which causes unintended traffic classification. In the following example, traffic is classified in two Queues, 1 and 2. Class-map ClassAF1 is “match any,” and ClassAF2 is “match all”.
Display all class-maps or a specific class map.
EXEC Privilege mode
show qos class-map

Examples of Traffic Classifications

The following example shows incorrect traffic classifications.

DellEMC#show running-config policy-map-input
!
policy-map-input PolicyMapIn
  service-queue 1 class-map ClassAF1 qos-policy QosPolicyIn-1
  service-queue 2 class-map ClassAF2 qos-policy QosPolicyIn-2
DellEMC#show running-config class-map
!
class-map match-any ClassAF1
  match ip access-group AF1-FB1 set-ip-dscp 10
  match ip access-group AF1-FB2 set-ip-dscp 12
  match ip dscp 10 set-ip-dscp 14
  match ipv6 dscp 20 set-ip-dscp 14
!
class-map match-all ClassAF2
  match ip access-group AF2
  match ip dscp 18

DellEMC#show running-config ACL
!
ip access-list extended AF1-FB1
  seq 5 permit ip host 23.64.0.2 any
  seq 10 deny ip any any
!
ip access-list extended AF1-FB2
  seq 5 permit ip host 23.64.0.3 any
  seq 10 deny ip any any
!
ip access-list extended AF2
  seq 5 permit ip host 23.64.0.5 any
  seq 10 deny ip any any

DellEMC# show cam layer3-qos interface tengigabitethernet 2/4
Cam   Port Dscp Proto Tcp  Src  Dst SrcIp        DstIp     DSCP   Queue
Index                 Flag Port Port                       Marking
-----------------------------------------------------------------------
20416 1   18    IP   0x0   0    0   23.64.0.5/32 0.0.0.0/0 20     2
20417 1   18    IP   0x0   0    0   0.0.0.0/0    0.0.0.0/0 -      0
20418 1   0     IP   0x0   0    0   23.64.0.2/32 0.0.0.0/0 10     1
20419 1   0     IP   0x0   0    0   0.0.0.0/0    0.0.0.0/0 -      0
20420 1   0     IP   0x0   0    0   23.64.0.3/32 0.0.0.0/0 12     1
20421 1   0     IP   0x0   0    0   0.0.0.0/0    0.0.0.0/0 -      0
20422 1   10    0    0x0   0    0   0.0.0.0/0    0.0.0.0/0 14     1
24511 1   0     0    0x0   0    0   0.0.0.0/0    0.0.0.0/0 -      0

In the previous example, the ClassAF1 does not classify traffic as intended. Traffic matching the first match criteria is classified to Queue 1, but all other traffic is classified to Queue 0 as a result of CAM entry 20419.

When you remove the explicit “deny any” rule from all three ACLs, the CAM reflects exactly the desired classification.

The following example shows correct traffic classifications.

DellEMC#show cam layer3-qos interface tengigabitethernet 2/4
Cam   Port Dscp Proto Tcp  Src  Dst SrcIp        DstIp     DSCP    Queue
Index                 Flag Port Port                       Marking
-------------------------------------------------------------------------
20416 1    18   IP    0x0  0    0   23.64.0.5/32 0.0.0.0/0 20      2
20417 1    0    IP    0x0  0    0   23.64.0.2/32 0.0.0.0/0 10      1
20418 1    0    IP    0x0  0    0   23.64.0.3/32 0.0.0.0/0 12      1
20419 1    10   0     0x0  0    0   0.0.0.0/0    0.0.0.0/0 14      1
24511 1    0    0     0x0  0    0   0.0.0.0/0    0.0.0.0/0  -      0

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\