Chapter 4: Commands for CLI configuration
52
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
do
Command:
do < exec commands >
do
To run exec commands in config mode
Default:
N/A
Usage Guide:
To run
exec commands
in
configure terminal mode
Example:
To run “show aaa” in
configure terminal mode.
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
do show aaa
console : local
telnet : local
ssh : local
http : local
dot1x guest-vlan
Command:
dot1x guest-vlan
dot1x
IEEE Standard for port-based Network Access Control
guest-vlan
Enables/disables guest VLAN
Default:
Disable
Usage Guide:
To enable
Guest VLAN
Example:
To enable
Guest VLAN
for
GigabitEthernet X/X
.
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
dot1x guest-vlan
dot1x port-control
Command:
dot1x port-control auto | force-authorized | force-
unauthorized | mac-based | multi | single
dot1x
IEEE Standard for port-based Network Access Control
port-control
Sets the port security state.
auto
Port-based 802.1X Authentication
force-authorized
Port access is allowed
force-unauthorized
Port access is not allowed
mac-based
Switch authenticates on behalf of the client