D-Link dgs-1510-28 [43/702] Usage guideline

D-Link dgs-1510-28 [43/702] Usage guideline
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
40
Usage Guideline
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.

Содержание

Скачать