beautypg.com

1 access-list action permit, 2 access-list action deny – PLANET SGS-5220-24T2X User Manual

Page 72

background image

Command Guide of SGS-5220-24T2X

-72-

4.2.45.1 access-list action permit

Command:

access-list action permit

action Access list action

Default:

Permit

Usage Guide:

To configure Permit for the ACL action.

Example:

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

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

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

4.2.45.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