Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
41
Switch# show vlan access-map
VLAN access-map vlan-map 20
match mac address: ext_mac(ID: 6856)
action: forward
Switch# configure terminal
Switch(config)# vlan access-map vlan-map 20
Switch(config-access-map)# action redirect eth1/0/5
Switch(config-access-map)# end
Switch# show vlan access-map
VLAN access-map vlan-map 20
match mac address: ext_mac(ID: 6856)
action: redirect eth1/0/5
Switch#
4-4 clear acl-hardware-counter
This command is used to clear the ACL hardware counter.
clear acl-hardware-counter {access-group [ACCESS-LIST-NAME | ACCESS-LIST-NUMBER] |
vlan-filter [ACCESS-MAP-NAME]}
Parameters
access-group ACCESS-LIST-
NAME
Specifies the name of the access list to be cleared.
access-group ACCESS-LIST-
NUMBER
Specifies the number of the access list to be configured.
vlan-filter ACCESS-MAP-
NAME
Specifies the name of the access map to be cleared.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
If no access-list name or number is specified with the parameter access-group, all access-group
hardware counters will be cleared. If no access-map name is specified with the parameter vlan-filter, all
VLAN filter hardware counters will be cleared.
Example
This example shows how to clear the ACL hardware counter.
Switch(config)# clear acl-hardware-counter access-group abc
Switch#