D-Link DXS-1210-12TC Reference Manual page 37

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

Switch# configure terminal
Switch(config)# show access-list ip R&D
Extended IP access list R&D(ID: 3552)
10 permit tcp any 10.20.0.0 255.255.0.0
20 permit tcp any host 10.100.1.2
30 permit icmp any any
Switch(config)# ip access-list extended R&D
Switch(config-ip-ext-acl)# rule 5 permit tcp any 10.30.0.0 255.255.0.0
Switch(config-ip-ext-acl)# exit
Switch(config)# show access-list ip R&D
Extended IP access list R&D(ID: 3552)5 permit tcp any 10.30.0.0 255.255.0.0
10 permit tcp any 10.20.0.0 255.255.0.0
20 permit tcp any host 10.100.1.2
30 permit icmp any any
Switch(config)# access-list resequence R&D 1 2
Switch(config)# show access-list ip R&D
Extended IP access list R&D(ID: 3552)
1 permit tcp any 10.30.0.0 255.255.0.0
3 permit tcp any 10.20.0.0 255.255.0.0
5 permit tcp any host 10.100.1.2
7 permit icmp any any
Switch(config)#
4-2 acl-hardware-counter
This command is used to enable the ACL hardware counter of the specified access-list name for
access group functions or access map for the VLAN filter function. Use the no form of this command
to disable the ACL hardware counter function.
acl-hardware-counter access-group {ACCESS-LIST-NAME | ACCESS-LIST-NUMBER}
no acl-hardware-counter access-group {ACCESS-LIST-NAME | ACCESS-LIST-NUMBER}
Parameters
access-group ACCESS-LIST-
NAME
access-group ACCESS-LIST-
NUMBER
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
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.
DXS-1210 Series Smart Managed Switch CLI Reference Guide
Specifies the name of the accesslist to be configured.
Specifies the number of the accesslist to be configured.
34

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents