Chapter 4: Commands for CLI configuration
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
135
To enter
line mode
Example:
To enter
line mode
(
vty 1
)
Switch# configure terminal
Switch (config)#
line vty 1
Switch (config-line)#
do
Command:
do < exec commands >
do
To run exec commands.
Default:
N/A
Usage Guide:
To run
exec commands.
Example:
To run “show aaa”
.
Switch# configure terminal
Switch (config)#
line vty 1
Switch (config-line)#
do show aaa
console : local
telnet : local
ssh : local
http : local
editing
Command:
editing
editing
Enable command line editing
Default:
Enabled
Usage Guide:
To allow user editing command line.
Example:
To allow user editing command line
.
Switch# configure terminal
Switch (config)#
line vty 1
Switch (config-line)#
editing
end
Command:
end
end
Go back to EXEC mode