2 access-list action deny, 3 access-list logging – PLANET GS-5220-48T4X User Manual

Page 96

Advertising
background image

Command Guide

4.2.65.2 access-list action deny

Command:

access-list action deny

action Access list action

Default:

Deny

Usage Guide:

To configure Deny for the ACL action.

Example:

To configure Deny ACL action for the GigabitEthernet X/X.

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # access-list action deny

4.2.65.3 access-list logging

Command:

access-list logging

logging Logging frame information. Note: The logging feature only works when the packet length is less than

1518 (without VLAN tags) and the System Log memory size and logging rate is limited.

Default:

Disable

Usage Guide:

To enable Logging function for the ACL.

Example:

To enable ACL Logging function for the GigabitEthernet X/X.

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # access-list logging

-96-

Advertising