Chapter 4: Commands for CLI configuration
48
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
GigabitEthernet <port_type_list>
*
All switches or All ports
GigabitEthernet
1 Gigabit Ethernet Port
10GigabitEthernet
10 Gigabit Ethernet Port
Default:
N/A
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