Access lists, IP precedence, DSCP values, or VLANs are commonly used to classify traffic. Access lists select traffic based on layer 2, layer 3, or layer 4 information contained in each packet.
match [access-list [ex3500-ext-access-list|ex3500-std-access-list|mac-acl] <ACL-NAME>|cos <0-7>|ip [dscp <0-63>|precedence <0-7>]|ipv6 dscp <0-63>|vlan <1-4094>]
match [access-list [ex3500-ext-access-list|ex3500-std-access-list|mac-acl] <ACL-NAME>|cos <0-7>|ip [dscp <0-63>|precedence <0-7>]|ipv6 dscp <0-63>|vlan <1-4094>]
match | Configures the match criteria. The options are: access-list, cos, ip, ipv6, vlan Incoming packets matching the specified criteria are included in this QoS class map. |
access-list [ex3500-ext-access-list| ex3500-std-access-list| mac-acl] <ACL-NAME> | Uses access lists to provide the match criteria. You can
use any one the following ACL types to classify traffic:
The following keyword is common to all of the above ACL types:
|
cos <0-7> | Configures the class of service (CoS) value used to apply user priority.
CoS is a form of QoS applicable only to layer 2 Ethernet frames. It uses 3-bits (8
values) of the 802.1Q tag to differentiate and shape network traffic.
|
ip [dscp <0-63>| precedence <0-7>] | Configures the IPv4 DSCP value to match and/or the IP
precedence value to match.
|
ipv6 dscp <0-63> | Configures the IPv6 DSCP value to match
|
vlan <1-4094> | Configures the VLAN to match
|
nx9500-6C8809(config-ex3500-qos-class-map-policy-dscp)#match ip dscp 3
nx9500-6C8809(config-ex3500-qos-class-map-policy-dscp)#show context ex3500-qos-class-map-policy dscp description "Matches packets marked for DSCP service 3" match ip dscp 3 nx9500-6C8809(config-ex3500-qos-class-map-policy-dscp)#
nx9500-6C8809(config-ex3500-qos-class-map-policy-test2)#match ip precedence 1
no (ex3500-qos-class-map-policy-config-commands) | Removes match criteria rules configured for this EX3500 QoS class map policy |