DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
40
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
form of this command to revert to the default
setting.
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.
Содержание DGS-1510 Series
Страница 1: ...1 0 ...
Страница 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Страница 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Страница 315: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 312 VLAN The VLAN number of the client interface ...
Страница 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Страница 450: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 447 Auth Delay Authentication Delay ...
Страница 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Страница 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...