Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0)

PDF

Displaying Configured Class Maps and Match Criteria

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

Dell 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.

Dell#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
                                 Dell#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
                                 
                                 Dell#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
                                 
                                 Dell#show cam layer3-qos interface tengigabitethernet 2/49
                                 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.

Dell#show cam layer3-qos interface tengigabitethernet 2/49
                                 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
                              

Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\