beautypg.com

4 acl configuration, 5 configure query function – KBC Networks ESML6-P3 User Manual

Page 16

background image

Ethernet Switch User Manual

Manual_cmd_line_config-ESML6-P3-Rev1106

Copyright © KBC Networks Ltd.

Page 15 of 49

www.kbcnetworks.com

3.4 ACL configuration

Setting ‘accept’ mode for port ACL:

SWITCH(config-if-eth1)# acl mode accept

Setting ‘reject’ mode for port ACL:

SWITCH(config-if-eth1)# acl mode reject

Setting none for port ACL:

SWITCH(config-if-eth1)# acl mode none

Adding MAC address for the port:

KYLAND(config-if-eth1)# acl mac add HH:HH:HH:HH:HH:HH

Delete MAC address for the port:

SWITCH(config-if-eth1)# acl mac delete HH:HH:HH:HH:HH:HH

3.5 Configure query function

3.5.1 ACL configuration query

Query ACL port mode configuration:

SWITCH(config-if-eth1)# show acl mode

Query of ACL port MAC address configuration

SWITCH(config-if-eth1)# show acl mac

3.5.2 Port statistics query

SWITCH(config-if-eth1)# show stats

3.5.3 Port mirroring query

SWITCH# show mirror

3.5.4 Port configuration query

KYLAND# show int eth <1, 24>

Note:

The parameter <1, 24> is the Port ID.