37
no debug ssh-server
Function:
Display SSH server debugging information; the “
no debug ssh-server
”
command stops displaying SSH server debugging information.
Default:
This function is disabled by default.
Command mode:
Admin Mode
2.1.1.5 dir
Command:
dir
Function:
Display the files and their sizes in the Flash memory.
Command mode:
Admin Mode
Example:
Check for files and their sizes in the Flash memory.
Switch#dir
boot.rom 329,828 1900-01-01 00: 00: 00 --SH
boot.conf 94 1900-01-01 00: 00: 00 --SH
nos.img 2,449,496 1980-01-01 00: 01: 06 ----
startup-config 2,064 1980-01-01 00: 30: 12 ----
2.1.1.6 enable
Command:
enable
Function:
Enter Admin Mode from User Mode.
Command mode:
User Mode
Usage Guide:
To prevent unauthorized access of non-admin user, user authentication is
required (i.e. Admin user password is required) when entering Admin Mode from User
Mode. If the correct Admin user password is entered, Admin Mode access is granted; if 3
consecutive entry of Admin user password are all wrong, it remains in the User Mode.
Set the Admin user password under Global Mode with “
enable password
” command.
Example:
Switch>enable
password: ***** (admin)
Switch#
2.1.1.7 enable password
Command: enable password [8] <password>
no enable password
Function:
Configure the password used for enter Admin Mode from the User Mode,
The “
no enable password
” command deletes this password
Parameter:
password is the configured code. Encryption will be performed by entering 8.
Command mode:
Global Mode