Chapter 4: Commands for CLI configuration
Usage Guide:
To enter the
interface mode.
Example:
To enter the
interface 10GigabitEthernet 1/2
Switch# configure terminal
Switch (config)#
interface 10GigabitEthernet 1/2
Switch (config-if) #
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
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
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
NS4702-24P-4X Managed Switch Command Guide
55