S3610 Series

H3C S3610 Series, S5510 Series Operating instructions

  • Hello! I am an AI chatbot trained to assist you with the H3C S3610 Series Operating instructions. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 Basic Configurations...................................................................................................1-1
1.1 CLI Features......................................................................................................................1-1
1.1.1 CLI Overview...........................................................................................................1-1
1.1.2 Online Help with Command Lines...........................................................................1-1
1.1.3 Display Features ..................................................................................................... 1-3
1.1.4 History Command ...................................................................................................1-3
1.1.5 Command Line Error Information............................................................................1-4
1.1.6 Edit Features...........................................................................................................1-4
1.1.7 CLI Views................................................................................................................1-5
1.2 Basic Configurations........................................................................................................ 1-13
1.2.1 Entering/Exiting System View...............................................................................1-13
1.2.2 Switch CLI Language Mode..................................................................................1-13
1.2.3 Configuring Device Name.....................................................................................1-14
1.2.4 Configuring System Clock.....................................................................................1-14
1.2.5 Configuring Welcome Information.........................................................................1-15
1.2.6 Configuring CLI Hotkeys....................................................................................... 1-16
1.2.7 Configuring User Levels and Command Levels....................................................1-18
1.2.8 Displaying System Configuration Information and Running Information ..............1-19
1.2.9 Displaying System Statistics.................................................................................1-20
Chapter 2 System Maintaining and Debugging.......................................................................... 2-1
2.1 System Maintaining and Debugging Overview.................................................................. 2-1
2.1.1 Introduction to System Maintaining and Debugging...............................................2-1
2.1.2 Introduction to System Debugging..........................................................................2-2
2.2 System Maintaining and Debugging.................................................................................. 2-3
2.2.1 System Maintaining.................................................................................................2-3
2.2.2 System Debugging..................................................................................................2-4
2.3 System Maintaining and Debugging Example...................................................................2-4
Chapter 3 Device Management.................................................................................................... 3-1
3.1 Device Management Overview..........................................................................................3-1
3.2 BootROM and Host Software Loading .............................................................................. 3-1
3.2.1 Introduction to Loading Approaches.......................................................................3-2
3.2.2 Local Software Loading........................................................................................... 3-2
3.2.3 Remote Software Loading.....................................................................................3-12
3.3 Device Management Configuration................................................................................. 3-18
3.3.1 Rebooting a Device............................................................................................... 3-18
3.3.2 Specifying a BootROM File for the Next Device Boot........................................... 3-18
3.3.3 Upgrading a BootROM File...................................................................................3-19
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Table of Contents
ii
3.3.4 Clearing the 16bit Interface Indexes Not Used in the Current System.................3-19
3.4 Displaying and Maintaining Device Management Configuration.....................................3-20
3.5 Remote Upgrade Configuration Example........................................................................ 3-21
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-1
Chapter 1 Basic Configurations
While configuring the system, go to these sections for information you are interested in:
z CLI Features
z Basic Configurations
1.1 CLI Features
This section covers the following topics:
z Online Help with Command Lines
z Display Features
z History Command
z Command Line Error Information
z Edit Features
z CLI Views
1.1.1 CLI Overview
H3C S3610&S5510 Series Ethernet Switches provide a series of configuration
commands and command line interface for you to configure and maintain the Ethernet
switches. The command line interface is featured by the following:
z Configure the command levels to make sure that unauthorized users cannot use
related commands to configure a switch.
z You can enter <?> at any time to get the online help.
z Provide network test commands, such as tracert, and ping, to help you to
diagnose the network.
z Provide plenty of detail debugging information to help you to diagnose and locate
the network failures.
z Provide a function similar to Doskey to execute a history command.
z Adopt the partial match method to search for the keywords of a command line.
You only need to enter a non-conflicting keyword to execute the command
correctly.
1.1.2 Online Help with Command Lines
The following are the types of online help available with the CLI:
z Full help
z Fuzzy help
To obtain the desired help information, you can:
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-2
1) Enter <?> in any view to access all the commands in this view and brief description
about them as well.
<Sysname> ?
User view commands:
backup Backup next startup-configuration file to TFTP server
boot-loader Set boot loader
bootrom Update/read/backup/restore bootrom
cd Change current directory
clock Specify the system clock
cluster Run cluster command
copy Copy from one file to another
debugging Enable system debugging functions
delete Delete a file
dir List files on a file system
display Show running system information
<omitted>
2) Enter a command and a <?> separated by a space. If <?> is at the position of a
keyword, all the keywords are given with a brief description.
<Sysname> language-mode ?
chinese Chinese environment
english English environment
3) Enter a command and a <?> separated by a space. If <?> is at the position of a
parameter, the description about these parameters is given.
<Sysname> system-view
[Sysname] interface Vlan-interface ?
<1-4094> VLAN interface
[Sysname] interface Vlan-interface 1 ?
<cr>
[Sysname] interface Vlan-interface 1
Where, <cr> indicates that there is no parameter at this position. The command is then
repeated in the next command line and executed if <Enter> is input.
4) Enter a character string followed by a <?>. All the commands starting with this
string are displayed.
<Sysname> pi?
ping
5) Enter a command followed by a character string and <?>. All the keywords starting
with this string are listed.
<Sysname> display ver?
version
6) Press <tab> after entering the first several letters of a keyword to display the
complete keyword, provided these letters can uniquely identify the keyword in this
command.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-3
7) You can view the help information in Chinese with the language-mode command.
1.1.3 Display Features
CLI offers the following features:
z It offers both English and Chinese help information. You can toggle between them.
z When the information displayed exceeds one screen, you can pause using one of
the methods shown in
Table 1-1
Table 1-1 Display functions
Action Function
Enter <Space> when information display
pauses
Continues to display information of the
next screen page
Enter <Enter> when information display
pauses
Continues to display information of the
next line.
Enter <Ctrl+C> when information
display pauses
Stops the display and the command
execution.
1.1.4 History Command
The CLI can automatically save the commands that have been entered. You can invoke
and repeatedly execute them whenever needed. By default, the CLI can save up to ten
commands for each user. But you can configure the history command buffer size of the
current user interface by using the history-command max-size command. For details
about the command, refer to the Login module.
Table 1-2 lists the operation that you can perform.
Table 1-2 Access history commands
To do…
Use the
Key/command…
Result
View the history
commands
display
history-command
Displays the commands that you
have entered
Access the last
history command
Up-arrow key or
<Ctrl+P>
Displays the earlier history
command, if there is any.
Otherwise, the system rings alarm.
Access the next
history command
Down-arrow key or
<Ctrl+N>
Displays the next history
command, if there is any.
Otherwise, the system clears the
commands and rings alarm.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-4
Note:
You may use arrow keys to access history commands in Windows 2000/XP Terminal or
Telnet. However, the up-arrow and down-arrow keys are invalid in Windows 9X
HyperTerminal, because they are defined in a different way. You can use <Ctrl+P> and
<Ctrl+N> instead.
1.1.5 Command Line Error Information
The commands are executed only if they have no syntax error. Otherwise, error
information is reported.
Table 1-3 lists some common errors.
Table 1-3 Common command line errors
Error information Cause
The command was not found.
The keyword was not found.
Parameter type error
Unrecognized command
The parameter value is beyond the allowed range.
Incomplete command
Incomplete command
Too many parameters Too many parameters are input.
Ambiguous command Parameter value input is ambiguous.
Wrong parameter
Wrong parameter
1.1.6 Edit Features
The CLI provides the basic command edit functions and supports multi-line editing. The
maximum length of each command is 256 characters.
Table 1-4 lists these functions.
Table 1-4 Edit functions
Key Function
Common Keys
If the editing buffer is not full, insert the character at the position
of the cursor and move the cursor to the right. Otherwise, the
alarm rings.
Backspace key
Delete the character to the left of the cursor and move the
cursor back one character. If the cursor gets to the beginning of
the command line, the alarm rings.
Left-arrow key or
<Ctrl+B>
The cursor moves one character space to the left, and the alarm
rings when the cursor gets to the beginning of the command
line.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-5
Key Function
Right-arrow key
or <Ctrl+F>
The cursor moves one character space to the right, and the
alarm rings when the cursor gets to end of the command line.
Up-arrow key or
<Ctrl+P>
Down-arrow key
or <Ctrl+N>
Display history command
Tab key
Pressing <Tab> after entering part of a keyword enables the
fuzzy help function. If finding a unique match, the system will
substitute the complete keyword for the incomplete one and
display it in the next line. If there are several matches or no
match at all, the system will not modify the incomplete keyword
and display it again in the next line.
1.1.7 CLI Views
CLI views are designed for different configuration tasks. They are interrelated. You will
enter user view once you log into a switch successfully, where you can perform
operations such as displaying operation status and statistical information. And by
executing the system-view command, you can enter system view, where you can
enter other views by executing the corresponding commands.
The following CLI views are provided:
z User view
z System view
z Ethernet port view
z NULL interface view
z VLAN view
z VLAN interface view
z Loopback interface view
z Tunnel interface view
z Local user view
z User interface view
z FTP client view
z MST region view
z IGMP-Snooping view
z MLD-Snooping view
z Traffic classifier view
z Traffic behavior view
z QoS policy view
z Cluster view
z Port group view
z NQA view
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-6
z HWTACACS scheme view
z Public key view
z Public key editing view
z Routing policy view
z Basic IPv4 ACL view
z Advanced IPv4 ACL view
z Ethernet frame header ACL view
z User-defined ACL view
z Basic IPv6 ACL view
z Advanced IPv6 ACL view
z QinQ view
z RADIUS scheme view
z RIP view
z RIPng view
z ISP domain view
z <omitted>
Table 1-5 lists information about CLI views (including the operations you can performed
in these views, how to enter these views, and so on).
Table 1-5 CLI views
View
Available
operation
Prompt
example
Enter method Quit method
User view
Display
operation
status and
statistical
information
<Sysname>
Enter user view
once logging
into the switch.
Execute the quit
command in
user view to log
out of the
switch.
System
view
Configure
system
parameters
[Sysname]
Execute the
system-view
command in
user view.
Execute the quit
or return
command to
return to user
view.
[Sysname-
Ethernet1/0/1]
Ethernet port
view
Execute the
interface
Ethernet 1/1/1
command in
system view.
Ethernet
port view
Configure
Ethernet
port
parameters
[Sysname-
GigabitEthernet
1/0/1]
Gigabit Ethernet
port view
Execute the
interface
GigabitEtherne
t 1/1/1 command
in system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-7
View
Available
operation
Prompt
example
Enter method Quit method
NULL
interface
view
Configure
NULL
interface
parameters
[Sysname-
NULL0]
Execute the
interface null 0
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
VLAN
view
Configure
VLAN
parameters
[Sysname-vlan1
]
Execute the
vlan 1 command
in system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
VLAN
interface
view
Configure IP
interface
parameters
for VLANs
and
aggregated
VLANs
[Sysname-Vlan-
interface1]
Execute the
interface
Vlan-interface 1
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Loopback
interface
view
Configure
Loopback
interface
parameters
[Sysname-
LoopBack0]
Execute the
interface
Loopback 0
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Tunnel
interface
view
Configure
Tunnel
interface
parameters
[Sysname-
Tunnel0]
Execute the
interface
Tunnel 0
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-8
View
Available
operation
Prompt
example
Enter method Quit method
Local
user view
Configure
local user
parameters
[Sysname-luser-
user1]
Execute the
local-user
user1 command
in system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
User
interface
view
Configure
user
interface
parameters
[Sysname-ui0]
Execute the
user-interface 0
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
FTP client
view
Configure
FTP client
parameters
[ftp]
Execute the ftp
command in
user view.
Execute the quit
command to
return to user
view.
MST
region
view
Configure
MST region
parameters
[Sysname-mst-
region]
Execute the stp
region-configur
ation command
in system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
IGMP-
Snooping
view
Configure
IGMP–
Snooping
protocol
parameters
[Sysname-igmp-
snooping]
Execute the
igmp-snooping
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
MLD-
Snooping
view
Configure
MLD-Snoopi
ng protocol
parameters
[Sysname-mld-
snooping]
Execute the
mld-snooping
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-9
View
Available
operation
Prompt
example
Enter method Quit method
Traffic
classifier
view
Configure
traffic
classifier
related
parameters
[Sysname-
classifier-test]
Execute the
traffic classifier
test command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Traffic
behavior
view
Configure
traffic
behavior
related
parameters
[Sysname-
behavior-test]
Execute the
traffic behavior
test command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
QoS
policy
view
Configure
QoS policy
related
parameters
[Sysname-
qospolicy-test]
Execute the qos
policy test
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Cluster
view
Configure
cluster
parameters
[Sysname-
cluster]
Execute the
cluster
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Configure
manual port
group
parameters
[Sysname-port-
group-manual-
test]
Execute the
port-group
manual test
command in
system
Port
group
view
Configure
aggregate
port group
parameters
[Sysname-port-g
roup-
aggregation-1]
Execute the
port-group
aggregation 1
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-10
View
Available
operation
Prompt
example
Enter method Quit method
NQA view
Configure
NQA
parameters
[Sysname-nqa-
admin-test]
Execute the nqa
admin test
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
HWTACA
CS
scheme
view
Configure
HWTACAC
S
parameters
[Sysname-
hwtacacs-test]
Execute the
hwtacacs
scheme test
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Public
key view
Configure
RSA public
keys for
SSH users
[Sysname-rsa-
public-key]
Execute the rsa
peer-public-key
h3c003
command in
system view.
Execute the
peer-public-ke
y end command
to return to
system view.
Public
key
editing
view
Edit RSA
public keys
of SSH
users
[Sysname-rsa-
key-code]
Execute the
public-key-cod
e begin
command in
public key view.
Execute the
public-key-cod
e end command
to return to
public key view.
Routing
policy
view
Configure
routing
policies
[Sysname-route-
policy]
Execute the
route-policy
policy1 permit
node 10
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Basic
IPv4 ACL
view
Define rules
for a basic
IPv4 ACL
(ACLs with
their IDs
ranging from
2000 to
2999 are
basic
ACLs.)
[Sysname-acl-
basic-2000]
Execute the acl
number 2000
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-11
View
Available
operation
Prompt
example
Enter method Quit method
Advanced
IPv4 ACL
view
Define rules
for an
advanced
IPv4 ACL
(ACLs with
their IDs
ranging from
3000 to
3999 are
advanced
ACLs.)
[Sysname-acl-
adv-3000]
Execute the acl
number 3000
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Ethernet
frame
header
ACL view
Define the
sub-rules of
Ethernet
frame
header
ACLs, which
is numbered
from 4000 to
4999.
[Sysname-acl-
ethernetframe-
4000]
Execute the acl
number 4000
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
User-
defined
IPv4 ACL
view
Define the
sub-rules of
user-defined
IPv4 ACLs,
which are in
the range of
5000 to
5999
[Sysname-acl-
user-5000]
Execute the acl
number 5000
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Basic
IPv6 ACL
view
Define rules
for a basic
IPv6 ACL
(ACLs with
their IDs
ranging from
2000 to
2999 are
basic
ACLs.)
[Sysname-acl6-
basic-2000]
Execute the acl
ipv6 number
2000 command
in system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Advanced
IPv6 ACL
view
Define rules
for an
advanced
IPv6 ACL
(ACLs with
their IDs
ranging from
3000 to
3999 are
advanced
ACLs.)
[Sysname-acl6-
adv-3000]
Execute the acl
ipv6 number
3000 command
in system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-12
View
Available
operation
Prompt
example
Enter method Quit method
[Sysname-
hernet1/0/1-
vid-1]
Et
QinQ
view
Create a
QinQ
instance
and
configure
QinQ
related
parameters.
[Sysname-
GigabitEthernet
1/1/1-vid-1]
Execute the
vlan-vpn vid 1
command in
Ethernet view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
RADIUS
scheme
view
Configure
RADIUS
parameters
[Sysname-
radius-1]
Execute the
radius scheme
1 command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
RIP view
Configure
RIP
parameters
[Sysname-rip-1]
Execute the rip
1 command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
RIPng
view
Configure
RIPng
parameters
[Sysname-ripng-
1]
Execute the
ripng 1
command in
system view
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
ISP
domain
view
Configure
parameters
for an ISP
domain
[Sysname-isp-
aabbcc.net]
Execute the
domain
aabbcc.net
command in
system view.
Execute the quit
command to
return to system
view.
Execute the
return
command to
return to user
view.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-13
1.2 Basic Configurations
This section covers the following topics:
z Entering/Exiting System View
z Switch CLI Language Mode
z Configuring Device Name
z Configuring System Clock
z Configuring Welcome Information
z Configuring CLI Hotkeys
z Configuring User Levels and Command Levels
z Displaying System Configuration Information and Running Information
z Displaying System Statistics
1.2.1 Entering/Exiting System View
You will enter user view automatically after you log into the device. And a prompt
<Sysname> will be displayed on the screen.
Table 1-6 Follow these steps to enter/exit system view
To do… Use the command… Remarks
Enter system view from
user view
system-view
You enter user view
automatically after logging
onto the device.
Return to user view from
system view
quit
Note:
With the quit command, you can return to the previous view or exit the system from
user view. The hot key <Ctrl+Z> is equivalent to the return command.
1.2.2 Switch CLI Language Mode
The device supports two CLI language modes, English and Chinese. You can switch
the CLI language mode as needed.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-14
Table 1-7 Follow these steps to switch CLI language mode
To do… Use the command… Remarks
Switch CLI language
mode
language-mode { chinese |
english }
Optional
CLI language is English
by default.
1.2.3 Configuring Device Name
You can use the sysname command to set the device name. The set device name is
correlated to the CLI prompt. For example, if the device name is set to Sysname, the
prompt in user view will be <Sysname>.
Table 1-8 Follow these steps to configure the device name
To do… Use the command… Remarks
Enter system view
system-view
Configure the device name
sysname sysname
Optional
By default, the device
name is H3C.
1.2.4 Configuring System Clock
To ensure that the device works with other devices properly, you need to set a correct
system clock.
Table 1-9 Follow these steps to configure the system clock
To do… Use the command… Remarks
Set the standard time
clock datetime time date
Optional
Set the time zone
clock timezone time-zone-name { add |
minus } time
Optional
clock summer-time zone_name one-off
start-time start-date end-time end-date
add-time
Set a daylight
summer time scheme
clock summer-time zone-name repeating
{ start-time start-date end-time end-date |
start-time start-year start-month start-week
start-day end-time end-year end-month
end-week end-day } offset-time
Optional
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-15
1.2.5 Configuring Welcome Information
I. Introduction to welcome information
Welcome information is a piece of prompt displayed when a user connects to a device
for logging and interoperation. The administrator is allowed to configure the banner as
the situation requires.
For the time being, there are five kinds of banners available:
z Shell welcome information or session banner, displayed when you enter console
session.
z User interface welcome information or incoming banner, displayed when a user
interface is enabled by TTY Modem.
z Logging welcome information or login banner, displayed when the user configures
password authentication and scheme authentication,
z MOTD welcome information, displayed before the authentication is started.
z Authorization welcome information or legal banner. When a user logins into a
device, the system displays some copyright or authorization information and a
legal banner and waits for confirmation of the user. If the user enters “Y” or the
<Enter> key, the authentication or login process continues; if the user enters “N”,
the authentication or login process breaks. "Y” and “N” are case-insensitive.
II. Configuring welcome information
There are two modes to configure welcome information:
The first mode is to enter all the welcome content right after the command keywords in
one line. The beginning character and the end character of the entered content must be
the same, but the two characters are not part of the welcome information. In this case,
the command keywords, the beginning and end characters, and the welcome
information altogether must not exceed 510 characters. The second mode is to enter
the welcome content in two or more lines, each line ended with an <Enter> key. In this
case, the content may be up to 2000 characters.
You can enter contents in multiple lines in three ways:
z Straight <Enter> in the first line: End the configuration with “%”. The <Enter> and
“%” characters are not included in the banner content.
z One character followed with <Enter> in the first line: End the configuration with the
character entered in the first line. The character entered in the first line and the
ending character are not included in the banner content.
z Multiple characters (the leading and ending characters are different) followed with
<Enter> in the first line: End the configuration with the first character of the first line.
The first character of the first line and the ending character are not included in the
banner content.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-16
Table 1-10 Follow these steps to configure welcome information
To do… Use the command… Remarks
Enter system view
system-view
Configure the welcome information at
entering user view (TTY Modem login
mode)
header incoming [ text ] Optional
Configure the welcome information at
login authentication
header login [ text ] Optional
Configure the authorization information
before logging onto the terminal
header legal [ text ] Optional
Configure the welcome information at
entering user view (non-TTY Modem login
mode)
header shell [ text ] Optional
Configure the welcome information before
logging onto the terminal
header motd [ text ] Optional
1.2.6 Configuring CLI Hotkeys
The system enables users to customize five hotkeys for some common used
commands. After the definition, you can press hotkey to execute the corresponding
command.
Table 1-11 Follow these steps to configure CLI hotkeys
To do… Use the command… Remarks
Enter system view
system-view
Configure CLI
hotkeys
hotkey [ CTRL_G | CTRL_L |
CTRL_O | CTRL_T |
CTRL_U ] command
Optional
Refer to the note below this
table for the default case.
Display hotkeys
display hotkey
Available in any view. Refer
to
Table 1-12 for hotkeys
reserved by system.
Note:
By default, the <Ctrl+G>, <Ctrl+L> and <Ctrl+O> hotkeys are associated with
command lines as follows and the <Ctrl+T> and <Ctrl+U> commands are NULL.
z <Ctrl+G> corresponds to the display current-configuration command.
z <Ctrl+L> corresponds to the display ip routing-table command.
z <Ctrl+O> corresponds to the undo debugging all command.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-17
Table 1-12 Hotkeys reserved by the system
Hotkey Function
<Ctrl+A> Move the cursor to the beginning of the current line.
<Ctrl+B> Move the cursor one character to the left.
<Ctrl+C> Stop performing a command.
<Ctrl+D> Delete a character.
<Ctrl+E> Move the cursor to the end of the current line.
<Ctrl+F> Move the cursor one character to the right.
<Ctrl+H> Delete the character to the left of the cursor.
<Ctrl+K> Break an outward connection.
<Ctrl+N> Display the next command after history command buffer.
<Ctrl+P> Display the next command before history command buffer.
<Ctrl+R> Redisplay the current line information.
<Ctrl+V> Paste the content in the clipboard.
<Ctrl+W> Delete all the characters in a continuous string to the left of the cursor.
<Ctrl+X> Delete all the characters to the left of the cursor.
<Ctrl+Y> Delete all the characters to the right of the cursor.
<Ctrl+Z> Return to user view.
<Ctrl+]> Break an inward connection or redirect connection.
<Esc+B>
Move the cursor to the leading character of the continuous string to
the left.
<Esc+D>
Delete all the characters of the continuous string to the left of the
cursor.
<Esc+F> Move the cursor to the front of the next continuous string to the right.
<Esc+N>
Move the cursor down by one line (available before press the Enter
key)
<Esc+P> Move the cursor up by one line (available before press the Enter key)
<Esc+<> Specify the cursor as the beginning of the clipboard.
<Esc+>> Specify the cursor as the ending of the clipboard.
Operation Manual – System Maintenance and Debugging
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Basic Configurations
1-18
Note:
These hotkeys are defined by the system. When a user interacts with the device from
terminal software, they may be defined to perform other operations. If so, the definition
of the terminal software will dominate.
1.2.7 Configuring User Levels and Command Levels
Corresponding to the command levels, the system categorizes users into 4 levels. A
user can perform only the commands that have the command levels equal to or below
the user level.
The command levels include visit, monitor, system and management, as the following:
z Visit: Used for network diagnosing commands (ping, tracert), commands sent to
outer devices (including Telnet client, SSH client, RLOGIN), etc. Commands of
this level cannot save configuration files.
z Monitor: Used for system maintaining, service troubleshooting, etc, including
commands such as refresh, reset and send. Commands of this level cannot save
configuration files.
z System: Used for service configuration, including commands of routing and
different network layers. Commands of this level provide users with direct network
services.
z Management: Used for commands related to system running and system support
modules, including file system, FTP, TFTP, Xmodem download, configuration file
switching, power control, backup board control, user management, level
configuration and interim system parameter configuration (non-protocol and
non-RFC).
You need to enhance your user level to obtain privileges to use commands of higher
levels. When switching the user level, you are required to enter the corresponding
password for the sake of security. The password entered is not displayed on the screen.
If it is entered correctly within three times, the user level is switched to a higher level.
You can specify the command level and its view as required. Every command has its
own default view and privilege and you don’t have to re-configure it.
Table 1-13 Default command levels
Level Privilege Command
0 Visit ping, tracert, telnet
1 Monitor display, debugging
2 System
All configuration commands except for those at
manage level
/