Planet Technology SGSD-1022P Switch User Manual


 
User’s Manual of SGSD-1022 / SGSD-1022P
SGSW-2840 / SGSW-2840P
634
Global Configuration
Command Usage
First enter this command to designate a class map and enter the Class Map configuration mode. Then use the
match command to specify the criteria for ingress traffic that will be classified under this class map.
Up to 16 match commands are permitted per class map.
The class map is used with a policy map to create a service policy for a specific interface that defines packet
classification, service tagging, and bandwidth policing.
Example
This example creates a class map call “rd_class,” and sets it to match packets marked for DSCP service value 3:
Console(config)#class-map rd_class match-any
Console(config-cmap)#match ip dscp 3
Console(config-cmap)#
Related Commands
show class map
match
This command defines the criteria used to classify traffic. Use the no form to delete the matching criteria.
Syntax
[no] match access-list acl-name
acl-name -Name of the access control list. Any type of ACL can be specified, including standard or extended IP ACLs and
MAC ACLs. (Range: 1-16 characters)
Default Setting
None
Command Mode
Class Map Configuration
Command Usage
First enter the class-map command to designate a class map and enter the Class Map configuration mode. Then use
the match command to specify the fields within ingress packets that must match to qualify for this class map.
Only one match command can be entered per class map.
Example
This example creates a class map call “rd_class#3,” and sets it to match packets defined in an access list: