mac

203
7.5 drop
Command: drop
no drop
Function: Drop data package that match the class, the no command cancels the
assigned action.
Parameters: None.
Default: Do not set the action.
Command mode: Policy class map configuration mode
Usage Guide: Drop the specified packet after configure this command.
Example: Drop the packet which satisfy c1.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#drop
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#exit
7.6 match
Command: match {access-group <acl-index-or-name> | ip dscp <dscp-list> | ip
precedence <ip-precedence-list> | ipv6 access-group <acl-index-or-name> | ipv6
dscp <dscp-list> | ipv6 flowlabel <flowlabel-list> | vlan <vlan-list> | cos <cos-list> |
c-vlan <vlan-list> | c-cos <cos-list>}
no match {access-group | ip dscp | ip precedence| ipv6 access-group|
ipv6 dscp | ipv6 flowlabel | vlan | cos | c-vlan | c-cos}
Function: Configure the match standard of the class map; the no form of this command
deletes the specified match standard.
Parameter: access-group <acl-index-or-name> match specified IP ACL, MAC ACL or
IPv6 ACL, the parameters are the number or name of the ACL;
ip dscp <dscp-list> and ipv6 dscp <dscp-list> match specified DSCP
value, the parameter is a list of DSCP consisting of maximum 8 DSCP values, the ranging
is 0~63;
ip precedence <ip-precedence-list> match specified IP Precedence, the
parameter is a IP Precedence list consisting of maximum 8 IP Precedence values with a
valid range of 0~7;
ipv6 access-group <acl-index-or-name> match specified IPv6 ACL, the