- •1.1 Configuring File Management Commands
- •1.1.1 Copy
- •1.1.2 Delete
- •1.1.4 ip address
- •1.1.5 ip route
- •1.1.6 show configuration
- •1.1.7 format
- •1.1.8 more
- •1.2 BasicSystemManagementCommands
- •1.2.1 boot flash
- •1.2.3 chinese
- •1.2.4 chram
- •1.2.5 date
- •1.2.6 english
- •1.2.10 rename
- •1.2.11 reboot
- •1.2.12 alias
- •1.2.13 boot system flash
- •1.2.14 help
- •1.2.15 history
- •1.2.16 show alias
- •1.2.17 show job
- •1.2.18 show break
- •1.2.19 show memory
- •1.3 HTTP Configuration Command
- •1.3.1 ip http access-class
- •1.3.2 ip http port
- •1.3.3 ip http server
- •1.3.4 debug ip http
- •Chapter 2 Terminal Service Configuration Command
- •2.1 Telnet Configuration Command
- •2.1.1 telnet
- •2.1.2 ip telnet
- •2.1.4 where
- •2.1.5 resume
- •2.1.6 disconnect
- •2.1.7 switchkey
- •2.1.8 switchmsg
- •2.1.9 sequence-char
- •2.1.10 clear telnet
- •2.1.11 show telnet
- •2.1.12 debug telnet
- •2.2 Terminal Configuration Command
- •2.2.1 attach-port
- •2.2.2 autocommand
- •2.2.3 clear line
- •2.2.4 connect
- •2.2.5 disconnect
- •2.2.6 exec-timeout
- •2.2.7 length
- •2.2.8 line
- •2.2.9 location
- •2.2.10 login authentication
- •2.2.11 monitor
- •2.2.12 no debug all
- •2.2.13 password
- •2.2.14 resume
- •2.2.15 switchkey
- •2.2.16 sequence-char
- •2.2.17 show debug
- •2.2.18 show line
- •2.2.19 switchmsg
- •2.2.20 terminal length
- •2.2.21 terminal monitor
- •2.2.22 terminal width
- •2.2.23 terminal-type
- •2.2.24 where
- •2.2.25 width
- •3.1 SNMP Commands
- •3.1.1 snmp-server community
- •3.1.2 snmp-server contact
- •3.1.4 snmp-server location
- •3.1.5 snmp-server packetsize
- •3.1.6 snmp-server queue-length
- •3.1.7 snmp-server trap-source
- •3.1.8 snmp-server trap-timeout
- •3.1.11 snmp-server source-addr
- •3.1.12 snmp-server encryption
- •3.1.13 show snmp
- •3.1.14 debug snmp
- •3.2 Configuring RMON Commands
- •3.2.1 rmon alarm
- •3.2.2 rmon event
- •3.2.3 rmon collection stat
- •3.2.4 rmon collection history
- •3.2.5 show rmon
- •3.3 Configuring PDP Commands
- •3.3.1 pdp timer
- •3.3.2 pdp holdtime
- •3.3.3 pdp version
- •3.3.5 pdp enable
- •3.3.6 show pdp traffic
- •3.3.7 show pdp neighbour
- •4.1 Network Testing Tool Commands
- •4.1.1 ping
- •4.2 System Debugging Commands
- •4.3 Fault Diagnosis Commands
- •4.3.1 logging
- •4.3.2 logging buffered
- •4.3.3 logging console
- •4.3.4 logging facility
- •4.3.5 logging monitor
- •4.3.6 logging on
- •4.3.7 logging trap
- •4.3.8 service timestamps
- •4.3.9 clear logging
- •4.3.10 show break
- •4.3.11 show controller
- •4.3.12 show debug
- •4.3.13 show logging
- •Chapter 5 SSH Configuration Commands
- •5.1.1 ip sshd enable
- •5.1.2 ip sshd timeout
- •5.1.3 ip sshd auth-method
- •5.1.4 ip sshd access-class
- •5.1.5 ip sshd auth-retries
- •5.1.6 ip sshd clear
- •5.1.8 show ssh
- •5.1.9 show ip sshd
- •Chapter 6 Other system Command
- •6.1 The link scan command
Baisc Configuration Commands
Example
The following example shows how to configure the character sequence of terminal call-back to 0x1b 0x21 0x38 0x51 when the terminal is switched.
switch_config_line#sequence-char ctrl-a 0x1b 0x21 0x38 0x51
2.2.17show debug
It is used to display all debugging information of the current VTY: show debug
Parameter
None
Command mode
Management mode or global configuration mode
Example
Switch# show debug
http authentication debug is on http cli debug is on
http request debug is on http response debug is on http session debug is on http erro debug is on
http file debug is on TELNET:
Incoming Telnet debugging is on
2.2.18show line
It is used to display the status of the current effective line: show line {[console | aux | tty | vty] [number]}
Parameter
(3) If there is no parameter followed, the status of all effective lines will be displayed. The definition of other parameters is similar to that of the line command.
Command mode
All configuration modes except the user mode
2.2.19switchmsg
It is used to decide whether the prompt information is displayed when the terminal is switched:
switchmsg enable switchmsg disable
- 41 -
|
|
Baisc Configuration Commands |
|
Parameter |
|
|
|
|
|
|
|
|
Parameter |
Parameter |
|
|
|
|
|
|
enable |
Displays the prompt information when the terminal is switched. |
|
|
|
|
|
|
disable |
Does not display the prompt information when the terminal is |
|
|
switched. |
|
|
|
|
|
|
|
|
|
|
Default |
|
|
disable
Command mode
Line configuration mode
Example
The following example shows how to display the prompt information when the terminal is switched:
switch_config_line#switchmsg enable
2.2.20terminal length
It is used to change the line number on the current terminal screen. The parameter can be obtained by the remote host. The rlogin protocol uses the parameter to notify the remote UNIX host. Run the no terminal length command to resume the default value:
terminal length length no terminal length
Parameter
Parameter |
Description |
|
|
length |
Line number displayed on each screen |
|
|
Default
Pause when 24 lines are displayed on the screen.
Command mode
Global configuration
Instruction
The command is effective only to the current terminal. When the session is complete, the terminal attribute is invalid.
Example
switch#terminal length 40
- 42 -
Baisc Configuration Commands
Relative command
line
2.2.21terminal monitor
It is used to display the debugging output information and system faulty information at the current terminal. The negative form of the command is used to disable the monitoring:
terminal monitor no terminal monitor
Parameter
None
Default
The system monitoring port (console) is open by default. Other terminals are closed by default.
Command mode
Global configuration
Instruction
The command is effective only to the current terminal. When the session is complete, the terminal attribute is invalid.
Example
switch#terminal monitor
Relative command
line debug
2.2.22terminal width
In default settings, the switch is to export 80 characters in each line. If the default settings cannot meet your requirements, you can reset it. The parameter can be obtained by the remote host. Run the terminal width command to set the character number in each line. Run the no terminal width command to resume to the default value.
terminal width number no terminal width
Parameter
Parameter |
Description |
|
|
number |
Character number of each line |
|
|
- 43 -
Baisc Configuration Commands
Default
80 characters in each line
Command mode
Global configuration
Instruction
The command is effective only to the current terminal. When the session is complete, the terminal attribute is invalid.
Example
switch#terminal width 40
Relative command
line
2.2.23terminal-type
It is used to set the terminal type: [no] terminal-type [name]
Parameter
Parameter |
Description |
Terminal name
name Terminal types currently supported are VT100, ANSI and VT100J.
Default
ANSI
Command mode
Line configuration mode
2.2.24where
It is used to check the currently mounted outward telnet session at the client side: where
Parameter
None
Command mode
All configuration modes
- 44 -