D-Link DGS-1510 Series Reference Manual page 43

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
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
drop
redirect INTERFACE-ID
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.
Specifies to forward the packet when matched.
Specifies to drop the packet when matched.
Specifies the interface ID for the redirection action. Only physical
ports are allowed to be specified.
40

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents