beautypg.com

4 ++access-list logging, 5 access-list policy – PLANET SGS-5220-24T2X User Manual

Page 73

background image

Command Guide of SGS-5220-24T2X

4.2.45.3

4.2.45.4 ++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

4.2.45.5 access-list policy

Command:

access-list policy

policy Policy

Policy ID

Default:

Policy ID: 0

Usage Guide:

To configure Policy ID for the ACL.

Example:

To configure ACL Policy ID 1 for the GigabitEthernet X/X.

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

-73-