D-Link DGS-3130 Emulator - Page 647
match
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 647 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide class-map [match-all | match-any] NAME no class-map NAME Parameters match-all match-any NAME (Optional) Specifies how to evaluate multiple match criteria. Multiple match statements in the class map will be evaluated based on the logical AND. If neither match-all nor match-any is specified, match-any is implied. (Optional) Specifies how to evaluate multiple match criteria. Multiple match statements in the class map will be evaluated based on the logical OR. If neither match-all nor match-any is specified, match-any is implied. Specifies the name of the class map with a maximum of 32 characters. Default By default, only class-default exists. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to create or modify a class-map that defines the criteria for matching packets. This command enters the Class-map Configuration mode where match commands are entered to define the match criteria for this class. When multiple match commands are defined for a class, use the match-all or match-any keyword to specify whether to evaluate the multiple match criteria based on either the logical AND or the logical OR. Example This example shows how to configure the "class_home_user "as the name of a class map. In this class map, a match statement specifies that the traffic that matches the access control list "acl_home_user" and matches the IPv6 protocol will be included under the class-map "class_home_user". Switch# configure terminal Switch(config)# class-map match-all class_home_user Switch(config-cmap)# match access-group name acl_home_user Switch(config-cmap)# match protocol ipv6 Switch(config-cmap)# 63-3 match This command is used to define the match criteria for a class-map. Use the no form of this command to remove the match criteria. match {access-group name ACCESS-LIST-NAME | cos [inner] COS-LIST | [ip] dscp DSCP-LIST | [ip] precedence IP-PRECEDENCE-LIST | protocol PROTOCOL-NAME | vlan [inner] VLAN-LIST} no match {access-group name ACCESS-LIST-NAME | cos [inner] COS-LIST | [ip] dscp DSCP-LIST | [ip] precedence IP-PRECEDENCE-LIST | protocol PROTOCOL-NAME | vlan [inner] VLAN-ID-LIST} 643