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

Creating a Layer 3 Class Map

A Layer 3 class map differentiates ingress packets based on the DSCP value or IP precedence, and characteristics defined in an IP ACL. You can also use VLAN IDs and VRF IDs to classify the traffic using layer 3 class-maps.

You may specify more than one DSCP and IP precedence value, but only one value must match to trigger a positive match for the class map.
  • NOTE: IPv6 and IP-any class maps cannot match on ACLs or VLANs.

Use step 1 or step 2 to start creating a Layer 3 class map.

  1. Create a match-any class map. CONFIGURATION mode class-map match-any
  2. Create a match-all class map. CONFIGURATION mode class-map match-all
  3. Specify your match criteria. CLASS MAP mode match ip After you create a class-map, the Dell Networking OS places you in CLASS MAP mode. Match-any class maps allow up to five ACLs. Match-all class-maps allow only one ACL.
  4. Link the class-map to a queue. POLICY MAP mode service-queue

Example of Creating a Layer 3 Class Map

Dell(conf)#ip access-list standard acl1
                                 Dell(conf-std-nacl)#permit 20.0.0.0/8
                                 Dell(conf-std-nacl)#exit
                                 Dell(conf)#ip access-list standard acl2
                                 Dell(conf-std-nacl)#permit 20.1.1.0/24 order 0
                                 Dell(conf-std-nacl)#exit
                                 Dell(conf)#class-map match-all cmap1
                                 Dell(conf-class-map)#match ip access-group acl1
                                 Dell(conf-class-map)#exit
                                 Dell(conf)#class-map match-all cmap2
                                 Dell(conf-class-map)#match ip access-group acl2
                                 Dell(conf-class-map)#exit
                                 Dell(conf)#policy-map-input pmap
                                 Dell(conf-policy-map-in)#service-queue 0 to 3 class-map cmap1
                                 Dell(conf-policy-map-in)#service-queue 1 class-map cmap2
                                 Dell(conf-policy-map-in)#exit
                                 Dell(conf)#interface tengig 1/0
                                 Dell(conf-if-te-1/0)#service-policy input pmap
                              

Examples f Creating a Layer 3 IPv6 Class Map

The following example matches IPv6 traffic with a DSCP value of 40.

Dell(conf)# class-map match-all test 
                                 Dell(conf-class-map)# match ipv6 dscp 40
                                 
                              

The following example matches IPv4 and IPv6 traffic with a precedence value of 3.

Dell(conf)# class-map match-any test1 
                                 Dell(conf-class-map)#match ip-any precedence 3 
                              

É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 : <>()\