DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
39
The command with parameter
access-group
will enable the ACL hardware counter for all ports that have
applied the specified access-list name or number. The number of packets, that match each rule, are
counted.
The command with parameter
vlan-filter
will enable the ACL hardware counter for all VLAN(s) that have
applied the specified VLAN access-map. The number of packets that permitted by each access map are
counted.
Example
This example shows how to enable the ACL hardware counter.
Switch# configure terminal
Switch(config)# acl-hardware-counter access-group abc
Switch(config)#
4-3 action
This command is used to configure the forward, drop, or redirect action of the sub-map in the VLAN
access-map sub-map configuration mode. Use the
no
command to reset to the default action.
action {forward | drop | redirect INTERFACE-ID}
no action
Parameters
forward
Specifies to forward the packet when matched.
drop
Specifies to drop the packet when matched.
redirect INTERFACE-ID
Specifies the interface ID for the redirection action. Only physical ports
are allowed to be specified.
Default
By default, the action is
forward
.
Command Mode
VLAN Access-map Sub-map Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
One sub-map has only one action. The action configured later overwrites the previous action. A VLAN
access map can contain multiple sub-maps. The packet that matches a sub-map (a packet permitted by
the associated access-list) will take the action specified for the sub-map. No further checking against the
next sub-maps is done. If the packet does not match a sub-map, then the next sub-map will be checked.
Example
This example shows how to configure the action in the sub-map.
Switch# show vlan access-map
VLAN access-map vlan-map 20
match mac address: ext_mac(ID: 6856)
action: forward
Switch# configure terminal
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...