Basic Configuration Commands_1
Basic Configuration Commands_1
-I-
Table of
Contents
Table of Contents
Table of Contents............................................................................................................ I
1.1.1.......................................................................................................copy 1
1.1.2....................................................................................................delete 2
1.1.3..........................................................................................................dir 3
1.1.4..............................................................................................ip address 3
1.1.5..................................................................................................ip route 4
1.1.6................................................................................show configuration 5
1.1.7....................................................................................................format 5
1.1.8......................................................................................................more 6
1.2.1...............................................................................................boot flash 7
1.2.2...........................................................................................................cd 8
1.2.3..................................................................................................chinese 8
1.2.4.......................................................................................................date 9
1.2.5...............................................................................................debug job 10
1.2.6...................................................................................................english 10
1.2.7 md....................................................................................................11
1.2.8 pwd...................................................................................................11
1.2.9 rd......................................................................................................12
1.2.10................................................................................................rename 12
1.2.11..................................................................................................reboot 13
-I-
Table of
Contents
1.2.12.....................................................................................................alias 14
1.2.14......................................................................................................help 16
1.2.15..................................................................................................history 16
1.1.1 show.................................................................................................18
1.2.16..............................................................................................show job 19
1.2.17..........................................................................................show break 21
2.1.1.....................................................................................................telnet 22
2.1.2.................................................................................................ip telnet 24
2.1.4.....................................................................................................where 27
2.1.5..................................................................................................resume 28
2.1.6.............................................................................................disconnect 30
2.1.7............................................................................................clear telnet 31
2.1.8............................................................................................show telnet 32
2.1.9..........................................................................................debug telnet 32
2.2.1.............................................................................................attach-port 34
2.2.2........................................................................................autocommand 35
2.2.3................................................................................................clear line 35
2.2.4..................................................................................................connect 35
2.2.5.............................................................................................disconnect 36
2.2.6.........................................................................................exec-timeout 37
2.2.7....................................................................................................length 37
2.2.8.........................................................................................................line 38
-I-
Table of
Contents
2.2.9..................................................................................................location 38
2.2.10.............................................................................login authentication 39
2.2.11................................................................................................monitor 39
2.2.13.............................................................................................password 40
2.2.14................................................................................................resume 41
2.2.15.........................................................................................show debug 41
2.2.16..............................................................................................show line 42
2.2.17....................................................................................terminal length 42
2.2.18..................................................................................terminal monitor 43
2.2.19.....................................................................................terminal width 43
2.2.20.......................................................................................terminal-type 44
2.2.21...................................................................................................where 45
2.2.22....................................................................................................width 45
3.1.1.......................................................................................................ping 47
3.1.2..............................................................................................traceroute 50
3.2.1...................................................................................................logging 52
3.2.2....................................................................................logging buffered 53
3.2.3......................................................................................logging console 55
3.2.4.......................................................................................logging facility 56
3.2.5.....................................................................................logging monitor 58
3.2.6..............................................................................................logging on 59
3.2.7...........................................................................................logging trap 61
3.2.8..................................................................................logging command 62
-I-
Table of
Contents
3.2.9........................................................................logging source-interface 63
3.2.20..............................................................................service timestamps 69
3.2.21........................................................................................clear logging 70
3.2.22..........................................................................................show break 70
3.2.23.........................................................................................show debug 72
3.2.24........................................................................................show logging 72
4.1.12..............................................................................................show ssh 82
4.1.13........................................................................................show ip sshd 83
-I-
Baisc Configuration
Commands
copy
delete
dir
ip address
ip route
show configuration
format
more
1.1.1 copy
To read a file from the tftp server to a switch, use the copy command.
copy tftp<:filename> {flash<:filename>|rom} [ip_addr]
Parameter
Parameter Description
tftp<:filename> Read a file from the tftp server. Filename indicates the
flash <:filename> Write a file to the flash memory of the switch. Filename
command.
after executing
Default
-1-
Baisc Configuration
Commands
None
-2-
Baisc Configuration
Commands
Command mode
monitor mode
Instrution
None
Example
The example shows how to read the switch.bin from the tftp
server to the flash memory of the switch:
Related commands
None
1.1.2 delete
Parameter
Parameter Description
Default
Command mode
monitor mode
Instruction
None
Related commands
None
-3-
Baisc Configuration
Commands
1.1.3 dir
dir file-name
Parameter
Parameter Description
Default
None
Command mode
monitor mode
Instruction
None
Related commands
None
1.1.4 ip address
Parameter
Parameter Description
ip-address IP address
Default
None
-4-
Baisc Configuration
Commands
Command mode
monitor mode
Instruction
None
Example
Related commands
ip
route
ping
1.1.5 ip route
Parameter
Parameter Description
Default
None
Command mode
Monitor mode
Instrution
None
Example
Related commands
ip address
-5-
Baisc Configuration
Commands
Parameter
None
Default
None
Command mode
monitor mode
Instrution
None
Related commands
None
1.1.7 format
Parameter
None
Default
None
Command mode
EXEC
Instrution
-6-
Baisc Configuration
Commands
Related commands
None
1.1.8 more
Parameter
Parameter Description
Default
None
Command mode
EXEC
Instrution
Related commands
None
bootflash
cd
chinese
english
chram
date
debub job
md
pwd
rd
rename
-7-
Baisc Configuration
Commands
reboot
show break
show memory
alias
boot system flash
help
history
job
jobd
show alias
show job
To enable the system from the specified file in monitor mode, use the
boot flash command.
boot flash filename
Parameter
Parameter Description
Default
None
Command mode
monitor mode
Command mode
Use the boot flash command to enable the device after user
entering the monitor mode.
Example
Related commands
None
-8-
Baisc Configuration
Commands
1.2.2 cd
Parameter:
Parameter Description
.. Upper directory.
Default
None
Command mode
Monitor mode
Command mode
None
Example
monitor#cd my_dir
Related commands
pwd
1.2.3 chinese
Parameter
None
Default
None
-9-
Baisc Configuration
Commands
Command mode
monitor mode
Command mode
None
Example
None
Related commands
None
1.2.4 date
Parameter
None
Default
None
Command mode
Monitor mode
Command mode
This command is used to set the abslute time for the system.
For the switch with a battery-powered clock, the clock will be
powered by the battery. If the clock doesn’t keep good time,
you need to change the battery.
Example
monitor#date
The current date is 2000-7-27 21:17:24
- 10
-
Baisc Configuration
Commands
Related commands
Parameter
None
Command mode
EXEC
Instrution
Example
config#debug job
JOB: <showver>
fired
JOB: job <showver>, cmd "show ver" is parsing
Related commands
job
jobd
show job
1.2.6 english
Parameter
None
Default
- 11
-
Baisc Configuration
Commands
None
- 12
-
Baisc Configuration
Commands
Command mode
monitor
Instruction
None
Example
None
Related commands
None
1.2.7 md
md directory
Parameter
Parameter Description
Default
None
Command mode
monitor
Instruction
Related commands
None
1.2.8 pwd
Parameter
None
- 13
-
Baisc Configuration
Commands
Default
None
Command mode
monitor mode
Instruction
Related commands
None
1.2.9 rd
rd directory
Parameter
Parameter Description
Default
None
Command mode
monitor mode
Instruction
Related commands
None
1.2.10 rename
- 14
-
Baisc Configuration
Commands
Parameter
Parameter Description
Default
None
Command mode
monitor mode
Instruction
None
Related commands
None
1.2.11 reboot
Parameter
None
Default
None
Command mode
monitor mode
Instruction
None
- 15
-
Baisc Configuration
Commands
Related commands
None
1.2.12 alias
Parameter
Parameter Description
Default
Comand mode
Explanation
Example
- 16
-
Baisc Configuration
Commands
addr
- 17
-
Baisc Configuration
Commands
Related command
None
Parameter
Parameter Description
Default
None
Command mode
Instruction
Example
Related command
None
- 18
-
Baisc Configuration
Commands
1.2.14 help
help
Parameter
None
Default
None
Command mode
Management mode
Instruction
Example
After you enter the command, the help system of the switch
is displayed.
switch# help
Help may be requested at any point in a command by entering a
question mark '?',If nothing matches, the help list will be empty and
you must backup until entering a '?' shows the available options.
Two styles of help are provided:
1. Full help is available when you are ready to enter a command
argument (e.g.'show ?') and describes each possible argument.
2. Partial help is provided when an abbreviated argument is entered
and you want to know what arguments match the input (e.g. 'interface
e?'.)
Related command
None
1.2.15 history
- 19
-
Baisc Configuration
Commands
Parameter
Parameter Description
Default
Command mode
Instruction
Example
Related command
N/A
- 20
-
Baisc Configuration
Commands
1.1.1 show
Parameter
Parameter Description
exclude Means not to show the lines of the result of the show
Default value
N/A
Command mode
Explanation
- 21
-
Baisc Configuration
Commands
Example
Current configuration:
!
interface
GigaEthernet0/1
interface
GigaEthernet0/2
interface
GigaEthernet0/3
interface
GigaEthernet0/4
interface
GigaEthernet0/5
interface
GigaEthernet0/6
interface
GigaEthernet0/7
interface
GigaEthernet0/8
Related command
N/A
Parameter
- 22
-
Baisc Configuration
Commands
Parameter Description
Default
None
- 23
-
Baisc Configuration
Commands
Command mode
Instruction
Example
The following example shows how to display the parameters of the job:
switch_config#show job parameter
seconds Name:
job's name
fired ever
===========================
Related command
debug job
job
jobd
- 24
-
Baisc Configuration
Commands
Parameter
None
Default
None
Command mode
Monitoring state
Instruction
Related command
None
- 25
-
Baisc Configuration
Commands
2.1.1 telnet
Parameter
Parameter Description
command
- 26
-
Baisc Configuration
Commands
Default
The default port number is 23. The interface has no default number.
Command mode
Management mode
Instruction
- 27
-
Baisc Configuration
Commands
Example
2.1.2 ip telnet
- 28
-
Baisc Configuration
Commands
ip telnet script scriptname ‘user_prompt’ user_answer ‘pwd_prompt’ pwd_answer
- 29
-
Baisc Configuration
Commands
Parameter
Parameter Description
Default
None
Command mode
Global configuration
Instruction
- 30
-
Baisc Configuration
Commands
Example
- 31
-
Baisc Configuration
Commands
Run the following command to mount the current telnet connection:
ctrl-shift-6+x
- 32
-
Baisc Configuration
Commands
Parameter
None
Default
None
Command mode
Instruction
You can use the shortcut key to mount the current telnet
connection at the client side.
Example
switchA>telnet 192.168.20.1
Welcome to Multi-Protocol 2000 Series
switch switchB>ena
switchB#(press ctrl-shift-
6+x) switchA>
2.1.4 where
Parameter
None
Default
None
Command mode
Global configuration
- 33
-
Baisc Configuration
Commands
Instruction
Example
switchA>telnet 192.168.20.1
Welcome to Multi-Protocol 2000 Series
switch switchB>ena
switchB#(Press ctrl-shift-
6+x) switchA> telnet
192.168.20.2
Welcome to Multi-Protocol 2000 Series
switch switchC>ena
switchC#(Press ctrl-shift-
6+x) switchA>where
NO. Remote Addr Remote Port Local Addr
Local Port
1 192.168.20.1 23 192.168.20.180
20034
2 192.168.20.2 23 192.168.20.180
20035
2.1.5 resume
Parameter
Parameter Description
no
- 34
-
Baisc Configuration
Commands
Number of the currently mounted telnet session that is
checked
- 35
-
Baisc Configuration
Commands
Default
None
Command mode
Global configuration
Instruction
Example
switchA>telnet 192.168.20.1
Welcome to Multi-Protocol 2000 Series
switch switchB>ena
switchB#( press ctrl-shift-
6+x) switchA> telnet
192.168.20.2
Welcome to Multi-Protocol 2000 Series
switch switchC>ena
switchC#( press ctrl-shift-
6+x) switchA>where
NO. Remote Addr Remote Port Local Addr
Local Port
1 192.168.20.1 23 192.168.20.180
20034
2 192.168.20.2 23 192.168.20.180
20035
switchA>Resume 1
[Resuming connection 1 to
192.168.20.73 . . . ] (enter)
switchB#
- 36
-
Baisc Configuration
Commands
2.1.6 disconnect
Parameter
Parameter Description
Default
None
Command mode
Global configuration
Instruction
Example
switchA>telnet 192.168.20.1
Welcome to Multi-Protocol 2000 Series
switch switchB>ena
switchB#(press ctrl-shift-
6+x) switchA> telnet
192.168.20.2
Welcome to Multi-Protocol 2000 Series
switch switchC>ena
switchC#(press ctrl-shift-
6+x) switchA>where
NO. Remote Addr Remote Port Local Addr
Local Port
- 37
-
Baisc Configuration
Commands
1 192.168.20.1 23 192.168.20.180
20034
2 192.168.20.2 23 192.168.20.180
20035
switchA>disconnect 1
<Closing connection to 192.168.20.1> <y/n>y
Parameter
Parameter Description
Default
None
Command mode
Management mode
Instruction
Example
clear telnet 1
- 38
-
Baisc Configuration
Commands
Parameter
None
Default
None
Command mode
Instruction
Example
The following is a format of the debug command for the telnet session:
debug telnet
Parameter
None
- 39
-
Baisc Configuration
Commands
Default
None
Command mode
Management mode
Instruction
Example
debug telnet
- 40
-
Baisc Configuration
Commands
resume
script activation
script callback
script connection
script dialer
script reset
script startup
sequence-char
show debug
show line
show tty-status
switchkey
switchmsg
terminal-type
terminal monitor
terminal width
terminal length
where
width
2.2.1 attach-port
Parameter
Parameter Description
Default
None
Command mode
Example
- 41
-
Baisc Configuration
Commands
switch_config_line#attach-port 3001
2.2.2 autocommand
Parameter
Parameter Description
Command mode
Example
switch_conf#line vty 1
switch_conf_line#autocommand pad 123456
After you successfully log in, the host whose X.121 address is
123456 will be automatically padded.
Parameter
Command mode
Management mode
Example
2.2.4 connect
- 42
-
Baisc Configuration
Commands
Parameter
Parameter Description
server-ip-addr/server-ho
IP address of the server or the host name of the server
st-name
Command mode
Example
2.2.5 disconnect
Parameter
Parameter Description
Command mode
Example
switch#disconnect 1
- 43
-
Baisc Configuration
Commands
2.2.6 exec-timeout
Parameter
Parameter Description
Default
Command mode
Example
2.2.7 length
Parameter
Parameter Description
Default
24
Command mode
- 44
-
Baisc Configuration
Commands
2.2.8 line
Parameter
Parameter Description
Command mode
Global configuration
Example
2.2.9 location
Parameter
Parameter Description
Command mode
- 45
-
Baisc Configuration
Commands
Parameter
Parameter Description
Command mode
Example
2.2.11 monitor
Parameter
None
Command mode
Example
switch_config_line#monitor
Parameter
None
- 46
-
Baisc Configuration
Commands
Command mode
Management mode
Example
2.2.13 password
Parameter
Parameter Description
encryption text
Command mode
Example
switch_conf#line vty 1
switch_conf_line#password test
- 47
-
Baisc Configuration
Commands
The previous example shows the login password of VTY1 is set to
- 48
-
Baisc Configuration
Commands
test.
2.2.14 resume
resume N
Parameter
Parameter Description
Command mode
Example
switch#resume 1
Parameter
None
Command mode
Example
- 49
-
Baisc Configuration
Commands
TELNET:
Incoming Telnet debugging is on
Parameter
Command mode
Parameter
Parameter Description
Default
Command mode
Global configuration
Instruction
- 50
-
Baisc Configuration
Commands
Example
switch#terminal length 40
Related command
line
Parameter
None
Default
Command mode
Global configuration
Instruction
Example
switch#terminal monitor
Related command
line
debug
Parameter
Parameter Description
Default
Command mode
Global configuration
Instruction
Example
switch#terminal width 40
Related command
line
2.2.20 terminal-type
Parameter
Parameter Description
Terminal name
Name
Terminal types currently supported are VT100, ANSI
and
- 52
-
Baisc Configuration
Commands
VT100J.
Default
ANSI
Command mode
2.2.21 where
Parameter
None
Command mode
Example
switch#where
2.2.22 width
Parameter
Parameter Description
Default
80
- 53
-
Baisc Configuration
Commands
Command mode
- 54
-
Baisc Configuration
Commands
3.1.1 ping
Parameter
Parameter Description
address of an interface.
interface
- 55
-
Baisc Configuration
Commands
Default: 56 bytes
Default: 5 messages
record
Default: 0
Default: 255
-v Detailed output
Default: 2 seconds
Command mode
- 56
-
Baisc Configuration
Commands
Instruction
received.
ICMP messages
Example
- 57
-
Baisc Configuration
Commands
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 192.168.20.125 ping statistics ---
30 packets transmitted, 30 packets received, 0%
packet loss round-trip min/avg/max = 50/64/110 ms
3.1.2 traceroute
traceroute [-i source-ip-address ] [-m source-interface}] [-j host1 [host2 host3 …]]
[–k host1 [host2, host3 …]] [-p port-number] [-q probe-count] [-r hops] [-t ttl] [-
w waittime] [-x icmp] host
Parameter
Parameter Descriptio
n
-j host1 [host2 host3…] Sets the loose source route.Default: Not set
- 58
-
Baisc Configuration
Commands
-q probe-count Sets the number of packets that you detect each time.
Default: 3 packets
-r hops Records the routes (at most hops routes can be recorded).
-w waittime Means the time that each packet waits for echo.
Command mode
Explanation
The UDP packet is used for detection by default, but you can
run –x icmp to replace it with ICMP ECHO for detection.
If you want to stop traceroute, press q or Q.
By default, the simple output information is as follows.
Parameter Description
- 59
-
Baisc Configuration
Commands
Example
switch#traceroute 90.1.1.10
traceroute to 90.1.1.10 (90.1.1.10), 30 hops max, 36 byte packets
1 90.2.2.1 0 ms 0 ms 0 ms
2 90.1.1.10 0 ms 0 ms 0 ms
3.2.1 logging
- 60
-
Baisc Configuration
Commands
Parameter
Parameter Description
Default:
Command mode
Global configuration
Instruction
Example
logging 192.168.1.1
Related command
logging trap
no logging buffered
Parameter
Parameter Description
Refer to table 1.
- 61
-
Baisc Configuration
Commands
Default
Command mode
Global configuration
Instruction
action needed
significant
condition
messages
only
- 63
-
Baisc Configuration
Commands
Related command
clear logging
show loggin
Parameter
Parameter Description
Refer to table 2.
Default
None
Command mode
Global configuration
Instruction
action needed
- 64
-
Baisc Configuration
Commands
significant
condition
messages
only
Example
Related command
logging facility
show logging
Parameter
Parameter Description
Facility type
facility-type
Refer to table 3.
Default
local7
Command mode
Global configuration
- 65
-
Baisc Configuration
Commands
Instruction
Type Descriptio
n
kern Kernel
Example
Related command
logging console
- 66
-
Baisc Configuration
Commands
Parameter
Parameter Description
Refer to table 4.
Default
debugging
Command mode
Global configuration
Instruction
el
action needed
significant condition
- 67
-
Baisc Configuration
Commands
messages
only
Example
Related command
terminal monitor
3.2.6 logging on
Parameter
None
Default
logging on
Command mode
Global configuration
Example
switch_config# logging on
switch_config#
^Z switch#
Configured from console 0 by
switch#ping 192.167.1.1
PING 192.167.1.1 (192.167.1.1): 56 data bytes
!!!!!
- 68
-
Baisc Configuration
Commands
switch_config# no logging on
switch_config#
^Z switch#
Related command
logging
logging buffered
logging monitor
- 69
-
Baisc Configuration
Commands
logging console
Parameter
Parameter Description
Refer to table 5.
Default
Informational
Command mode
Global configuration
Instruction
el
action needed
- 70
-
Baisc Configuration
Commands
significant condition
messages
only
Example
logging 192.168.1.1
logging trap
notifications
Related command
logging
Parameter
N/A
Default value
no logging command
Command mode
Example
Switch_config#logging command
Switch_config#Jul 11 15:26:56 %CMD-6-EXECUTE: `logging command ` return 0,
switch(vty 0, 192.168.25.42).
- 71
-
Baisc Configuration
Commands
Related command
logging
Parameter
N/A
Default value
no logging source-interface
Command mode
Example
Related command
logging
This command is used to set the level of the historical log table to
alerts (need to act immediately).
Parameter
N/A
Default value
Command mode
- 72
-
Baisc Configuration
Commands
Example
Related command
logging
This command is used to set the level of the historical log table to
critical.
Parameter
N/A
Default value
Command mode
Example
Related command
logging
This command is used to set the level of the historical log table to
debugging.
Parameter
N/A
Default value
- 73
-
Baisc Configuration
Commands
Command mode
Example
Related command
logging
This command is used to set the level of the historical log table to
emergencies.
Parameter
N/A
Default value
Command mode
Example
Related command
logging
This command is used to set the level of the historical log table to
errors.
Parameter
N/A
- 74
-
Baisc Configuration
Commands
Default value
Command mode
Example
Related command
logging
This command is used to set the level of the historical log table to
informational.
Parameter
N/A
Default value
Command mode
Example
Related command
logging
This command is used to set the level of the historical log table to
notifications.
- 75
-
Baisc Configuration
Commands
Parameter
N/A
Default value
Command mode
Example
Related command
logging
This command is used to set the level of the historical log table to
warnings.
Parameter
N/A
Default value
Command mode
Example
Related command
logging
- 76
-
Baisc Configuration
Commands
Parameter
Parameter Description
<1-512> Stands for the number of logs which are exported each
second.
Default value
Command mode
Example
Related command
logging
Parameter
Parameter Description
Default value
Command mode
Example
- 77
-
Baisc Configuration
Commands
Related command
logging
Parameter
Parameter Description
Default
Command mode
Global configuration
Instruction
- 78
-
Baisc Configuration
Commands
Example
Parameter
None
Command mode
Management mode
Related command
logging buffered
show logging
Parameter
Parameter Description
Default
None
Command mode
Management mode
Instruction
- 79
-
Baisc Configuration
Commands
Example
switch#sh break
Exception Type:1400-Data TLB error
BreakNum: 1 s date: 2000-1-1 time:
0:34:6
r0 r1 r2 r3 r4 r5 r6
00008538-01dbc970-0054ca18-00000003-80808080-fefefeff-
01dbcca1-
r7 r8 r9 r10 r11 r12 r13
00000000-00009032-00000000-7ffffff0-00008588-44444444-
0054c190-
r14 r15 r16 r17 r18 r19 r20
000083f4-000083f4-00000000-00000000-00000000-00000000-00000000-
r21 r22 r23 r24 r25 r26 r27
00000000-0000000a-00000001-00000000-00000000-004d6ce8-01dbd15c-
r28 r29 r30 r31 spr8 spr9 ip
00000002-00467078-00010300-00000300-00000310-00008588-00000370-
Variables :
00008538-44444444-01dbd15c-01dbcaac-00000002-00000000-004d6ce8-
01dbca18-
00008538 --- do_chram_mem_sys_addr---
bspcfg.o 0001060c --- subcmd---
cmdparse.o---libcmd.a 000083e4 ---
do_chram_mem_sys---bspcfg.o 0000fb24 ---
lookupcmd---cmdparse.o---libcmd.a 0000f05c
--- cmdparse---cmdparse.o---libcmd.a
003e220c --- vty---vty.o---libvty.a
00499820 --- pSOS_qcv_broadcast---ksppc.o---os\libsys.a
3 BreakNum
It is the current abnormal number. It means the number of
- 80
-
Baisc Configuration
Commands
abnormalities that the system has since it is powered on in
the latest time. It is followed by the time when the
abnormality occurs.
- 81
-
Baisc Configuration
Commands
5 Variable area
The content in the stack is listed out.
Parameter
None
Command mode
Management mode
Example
Crypto Subsystem:
Crypto Ipsec debugging is
on Crypto Isakmp
debugging is on Crypto
Packet debugging is on
Related command
debug
- 82
-
Baisc Configuration
Commands
Parameter
None
Command mode
Management mode
Instruction
Example
Related command
clear logging
- 83
-
Baisc Configuration
Commands
Command description
ip sshd enable
no ip sshd enable
Parameter
None
Default
1024 bits
Instruction
Command mode
Example
Command description
Parameter
Parameter Descriptio
n
- 84
-
Baisc Configuration
Commands
authentication approval
Default
180 seconds
Instruction
Command mode
Example
Command description
Parameter
Parameter Descriptio
n
Default
Instrunction
The ssh server uses the authentication method list of the login type.
- 85
-
Baisc Configuration
Commands
Command mode
Example
Command description
Parameter
Parameter Descriptio
n
Default
Instrunction
Command mode
Example
Command description
Parameter
Parameter Descriptio
n
Default
3 times
Instrunction
Command mode
Example
Command description
ip sshd clear ID
Parameter
Parameter Descriptio
n
- 87
-
Baisc Configuration
Commands
Default
N/A
Instruction
Command mode
Example
Syntax
Parameter
Parameter Description
time-length Means the time of the silence, which ranges from 0 to 3600.
Default value
60s
Remarks
- 88
-
Baisc Configuration
Commands
Command mode
Example
Syntax
ip sshd sftp
no ip sshd
sftp
Parameter
N/A
Default value
N/A
Remarks
Command mode
Example
Syntax
ip sshd save
- 89
-
Baisc Configuration
Commands
no ip sshd save
Parameter
N/A
Default value
N/A
Remarks
This command is used to save the initial key. When the SSH
server is restarted, the key will be first read from the flash; if
the key reading is successful, the recalculation of key will be
avoided and the startup time will be shortened.
Command mode
Example
Syntax
ip sshd disable-aes
no ip sshd disable-
aes
Parameter
N/A
Default value
Remarks
Command mode
Example
4.1.11 ssh
Command description
Parameter
Parameter Descriptio
n
numberofpassw Actual re-authentication times is the set value plus the smallest
dpr ompts value set on the server. Its default value is three times.
{des|3des|blowfis
communication The encryption algorithm is
h}
3des by default.
Default
N/A
- 91
-
Baisc Configuration
Commands
Instruction
Command mode
Privileged mode
Example
Command description
show ssh
Parameter
None
Default value
N/A
Instrunction
Command mode
Privileged mode
Example
In the following example, the sessions on the ssh server are displayed:
device#show ssh
- 92
-
Baisc Configuration
Commands
Command description
show ip sshd
Parameter
None
Default value
N/A
Instrunction
Command mode
Privileged mode
Example
- 93
-