H3C S3610 Series Operating instructions

Type
Operating instructions

This manual is also suitable for

Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 Logging into an Ethernet Switch ...............................................................................1-1
1.1 Logging into an Ethernet Switch........................................................................................1-1
1.2 Introduction to the User Interface ...................................................................................... 1-1
1.2.1 Supported User Interfaces......................................................................................1-1
1.2.2 User Interface Number............................................................................................1-1
1.2.3 Common User Interface Configuration ...................................................................1-2
Chapter 2 Logging in Through the Console Port....................................................................... 2-1
2.1 Introduction........................................................................................................................2-1
2.2 Setting Up the Connection to the Console Port................................................................. 2-1
2.3 Console Port Login Configuration......................................................................................2-4
2.3.1 Common Configuration........................................................................................... 2-4
2.3.2 Console Port Login Configurations for Different Authentication Modes..................2-5
2.4 Console Port Login Configuration with Authentication Mode Being None........................ 2-6
2.4.1 Configuration Procedure.........................................................................................2-6
2.4.2 Configuration Example............................................................................................2-8
2.5 Console Port Login Configuration with Authentication Mode Being Password...............2-10
2.5.1 Configuration Procedure.......................................................................................2-10
2.5.2 Configuration Example..........................................................................................2-12
2.6 Console Port Login Configuration with Authentication Mode Being Scheme.................. 2-13
2.6.1 Configuration Procedure.......................................................................................2-13
2.6.2 Configuration Example..........................................................................................2-17
Chapter 3 Logging in Through Telnet......................................................................................... 3-1
3.1 Introduction........................................................................................................................3-1
3.1.1 Common Configuration........................................................................................... 3-1
3.1.2 Telnet Configurations for Different Authentication Modes......................................3-2
3.2 Telnet Configuration with Authentication Mode Being None.............................................3-4
3.2.1 Configuration Procedure.........................................................................................3-4
3.2.2 Configuration Example............................................................................................3-5
3.3 Telnet Configuration with Authentication Mode Being Password......................................3-7
3.3.1 Configuration Procedure.........................................................................................3-7
3.3.2 Configuration Example............................................................................................3-9
3.4 Telnet Configuration with Authentication Mode Being Scheme ......................................3-11
3.4.1 Configuration Procedure.......................................................................................3-11
3.4.2 Configuration Example.......................................................................................... 3-14
3.5 Telnet Connection Establishment....................................................................................3-16
3.5.1 Telneting to a Switch from a Terminal...................................................................3-16
3.5.2 Telneting to Another Switch from the Current Switch........................................... 3-17
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Table of Contents
ii
Chapter 4 Logging in Using Modem............................................................................................ 4-1
4.1 Introduction........................................................................................................................4-1
4.2 Configuration on the Administrator Side............................................................................4-1
4.3 Configuration on the Switch Side.......................................................................................4-1
4.3.1 Modem Configuration.............................................................................................. 4-1
4.3.2 Switch Configuration............................................................................................... 4-2
4.4 Modem Connection Establishment....................................................................................4-3
Chapter 5 Logging in Through Web-based Network Management System............................ 5-1
5.1 Introduction........................................................................................................................5-1
5.2 HTTP Connection Establishment.......................................................................................5-1
5.3 Web Server Shutdown/Startup.......................................................................................... 5-3
5.4 Displaying Web Users .......................................................................................................5-3
Chapter 6 Logging in Through NMS............................................................................................ 6-1
6.1 Introduction........................................................................................................................6-1
6.2 Connection Establishment Using NMS..............................................................................6-2
Chapter 7 Controlling Login Users.............................................................................................. 7-1
7.1 Introduction........................................................................................................................7-1
7.2 Controlling Telnet Users.................................................................................................... 7-1
7.2.1 Prerequisites ........................................................................................................... 7-1
7.2.2 Controlling Telnet Users by Source IP Addresses.................................................. 7-1
7.2.3 Controlling Telnet Users by Source and Destination IP Addresses........................ 7-2
7.2.4 Controlling Telnet Users by Source MAC Addresses.............................................7-3
7.2.5 Configuration Example............................................................................................7-4
7.3 Controlling Network Management Users by Source IP Addresses...................................7-4
7.3.1 Prerequisites ........................................................................................................... 7-5
7.3.2 Controlling Network Management Users by Source IP Addresses ........................7-5
7.3.3 Configuration Example............................................................................................7-6
7.4 Controlling Web Users by Source IP Address...................................................................7-7
7.4.1 Prerequisites ........................................................................................................... 7-7
7.4.2 Controlling Web Users by Source IP Addresses ....................................................7-8
7.4.3 Disconnecting a Web User by Force ......................................................................7-8
7.4.4 Configuration Example............................................................................................7-8
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Logging into an Ethernet Switch
1-1
Chapter 1 Logging into an Ethernet Switch
1.1 Logging into an Ethernet Switch
You can log into an S3610&S5510 series Ethernet switch in one of the following ways:
z Logging in locally through the Console port
z Telneting locally or remotely to an Ethernet port
z Telneting to the Console port using a modem
z Logging into the Web-based network management system
z Logging in through NMS (network management station)
1.2 Introduction to the User Interface
1.2.1 Supported User Interfaces
S3610&S5510 series Ethernet switch supports two types of user interfaces: AUX and
VTY.
Table 1-1 Description on user interface
User interface Applicable user Port used Description
AUX
Users logging in
through the
Console port
Console port
Each switch can
accommodate one
AUX user.
VTY
Telnet users and
SSH users
Ethernet port
Each switch can
accommodate up
to five VTY users.
Note:
As the AUX port and the Console port of a H3C series switch are the same one, you will
be in the AUX user interface if you log in through this port.
1.2.2 User Interface Number
Two kinds of user interface index exist: absolute user interface index and relative user
interface index.
1) The absolute user interface indexes are as follows:
z AUX user interface: 0
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Logging into an Ethernet Switch
1-2
z VTY user interfaces: Numbered after AUX user interfaces and increases in the
step of 1
2) A relative user interface index can be obtained by appending a number to the
identifier of a user interface type. It is generated by user interface type. The
relative user interface indexes are as follows:
z AUX user interface: AUX 0
z VTY user interfaces: VTY 0, VTY 1, VTY 2, and so on.
1.2.3 Common User Interface Configuration
To do… Use the command… Remarks
Lock the current user
interface
lock
Optional
Execute this command in
user view.
A user interface is not
locked by default.
Specify to send
messages to all user
interfaces/a specified
user interface
send { all | number | type
number }
Optional
Execute this command in
user view.
Disconnect a specified
user interface
free user-interface
[ type ] number
Optional
Execute this command in
user view.
Enter system view
system-view
Set the banner
header { incoming |
legal | login | shell |
motd } text
Optional
Set a system name for the
switch
sysname string
Optional
Enter user interface view
user-interface [ type ]
first-number
[ last-number ]
Define a shortcut key for
aborting tasks
escape-key { default |
character }
Optional
The default shortcut key
combination for aborting
tasks is < Ctrl+C >.
Set the history command
buffer size
history-command
max-size value
Optional
The default history
command buffer size is
10. That is, a history
command buffer can store
up to 10 commands by
default.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 1
Logging into an Ethernet Switch
1-3
To do… Use the command… Remarks
Set the timeout time for
the user interface
idle-timeout minutes
[ seconds ]
Optional
The default timeout time
of a user interface is 10
minutes.
With the timeout time
being 10 minutes, the
connection to a user
interface is terminated if
no operation is performed
in the user interface within
10 minutes.
You can use the
idle-timeout 0 command
to disable the timeout
function.
Set the maximum number
of lines the screen can
contain
screen-length
screen-length
Optional
By default, the screen can
contain up to 24 lines.
You can use the
screen-length 0
command to disable the
function to display
information in pages.
Make terminal services
available
shell
Optional
By default, terminal
services are available in
all user interfaces.
Set the display type of a
terminal
terminal type { ansi |
vt100 }
Optional
By default, the terminal
display type is ANSI. The
device must use the same
type of display as the
terminal. If the terminal
uses VT 100, the device
should also use VT 100.
Display the information
about the current user
interface/all user
interfaces
display users [ all ]
You can execute this
command in any view.
Display the physical
attributes and
configuration of the
current/a specified user
interface
display user-interface
[ type number | number ]
[ summary ]
You can execute this
command in any view.
Display the information
about the current web
users
display web users
You can execute this
command in any view.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-1
Chapter 2 Logging in Through the Console Port
Note:
The default system name of S3610&S5510 series Ethernet switches is H3C, that is, the
command line prompt is H3C. All the following examples take H3C as the command
line prompt.
2.1 Introduction
To log in through the Console port is the most common way to log into a switch. It is also
the prerequisite to configure other login methods. By default, you can log into an
S3610&S5510 series Ethernet switch through its Console port only.
To log into an Ethernet switch through its Console port, the related configuration of the
user terminal must be in accordance with that of the Console port.
Table 2-1 lists the default settings of a Console port.
Table 2-1 The default settings of a Console port
Setting Default
Baud rate 9,600 bps
Flow control Off
Check mode No check bit
Stop bits 1
Data bits 8
After logging into a switch, you can perform configuration for AUX users. Refer to
section
2.3 Console Port Login Configuration” for more.
2.2 Setting Up the Connection to the Console Port
z Connect the serial port of your PC/terminal to the Console port of the switch, as
shown in
Figure 2-1.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-2
Console port
RS-232 port
Configuration cable
Console port
RS-232 port
Configuration cable
Figure 2-1 Diagram for setting the connection to the Console port
z If you use a PC to connect to the Console port, launch a terminal emulation utility
(such as Terminal in Windows 3.X or HyperTerminal in Windows 9X/Windows
2000/Windows XP) and perform the configuration shown in
Figure 2-2 through
Figure 2-4 for the connection to be created. Normally, the parameters of a terminal
are configured as those listed in
Table 2-1.
Figure 2-2 Create a connection
Figure 2-3 Specify the port used to establish the connection
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-3
Figure 2-4 Set port parameters terminal window
z Turn on the switch. The user will be prompted to press the Enter key if the switch
successfully completes POST (power-on self test). The prompt (such as <H3C>)
appears after the user presses the Enter key, as shown in
Figure 2-5.
Figure 2-5 The terminal window
z You can then configure the switch or check the information about the switch by
executing commands. You can also acquire help by type the ? character. Refer to
the following chapters for information about the commands.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-4
2.3 Console Port Login Configuration
2.3.1 Common Configuration
Table 2-2 lists the common configuration of Console port login.
Table 2-2 Common configuration of Console port login
Configuration Description
Baud rate
Optional
The default baud rate is 9,600 bps.
Check mode
Optional
By default, the check mode of the Console
port is set to “none”, which means no check
bit.
Stop bits
Optional
The default stop bits of a Console port is 1.
Console port
configuration
Data bits
Optional
The default data bits of a Console port is 8.
AUX user
interface
configuration
Configure the
command level
available to the users
logging into the AUX
user interface
Optional
By default, commands of level 3 are
available to the users logging into the AUX
user interface.
Define a shortcut key
for aborting tasks
Optional
The default shortcut key combination for
aborting tasks is < Ctrl+C >.
Define a shortcut key
for starting terminal
sessions
Optional
By default, pressing Enter key starts the
terminal session.
Make terminal
services available
Optional
By default, terminal services are available in
all user interfaces
Set the maximum
number of lines the
screen can contain
Optional
By default, the screen can contain up to 24
lines.
Set history command
buffer size
Optional
By default, the history command buffer can
contain up to 10 commands.
Terminal
configuration
Set the timeout time
of a user interface
Optional
The default timeout time is 10 minutes.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-5
Caution:
Changing of Console port configuration terminates the connection to the Console port.
To establish the connection again, you need to modify the configuration of the
termination emulation utility running on your PC accordingly. Refer to section
2.2
Setting Up the Connection to the Console Port” for more.
2.3.2 Console Port Login Configurations for Different Authentication Modes
Table 2-3 lists Console port login configurations for different authentication modes.
Table 2-3 Console port login configurations for different authentication modes
Authentication
mode
Console port login
configuration
Description
None
Perform
common
configuration
Perform
common
configuration
for Console
port login
Optional
Refer to section
2.3.1
Common Configuration” for
more.
Configure
the password
Configure the
password for
local
authentication
Required
Password
Perform
common
configuration
Perform
common
configuration
for Console
port login
Optional
Refer to section
2.3.1
Common Configuration” for
more.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-6
Authentication
mode
Console port login
configuration
Description
Specify to
perform local
authenticatio
n or RADIUS
authenticatio
n
AAA
configuration
specifies
whether to
perform local
authentication
or RADIUS
authentication
Optional
Local authentication is
performed by default.
Refer to the
AAA-RADIUS-HWTACACS
module for more.
Configure
user name
and
password
Configure user
names and
passwords for
local/remote
users
Required
z The user name and
password of a local user
are configured on the
switch.
z The user name and
password of a remote user
are configured on the
DADIUS server. Refer to
user manual of RADIUS
server for more.
Manage AUX
users
Set service
type for AUX
users
Required
Scheme
Perform
common
configuration
Perform
common
configuration
for Console
port login
Optional
Refer to section
2.3.1
Common Configuration” for
more.
Note:
Changes of the authentication mode of Console port login will not take effect unless
you exit and enter again the CLI.
2.4 Console Port Login Configuration with Authentication
Mode Being None
2.4.1 Configuration Procedure
To do… Use the command… Remarks
Enter system view
system-view
Enter AUX user interface
view
user-interface aux 0
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-7
To do… Use the command… Remarks
Configure not to
authenticate users
authentication-mode
none
Required
By default, users logging in
through the Console port are
not authenticated.
Set the
baud rate
speed speed-value
Optional
The default baud rate of an
AUX port (also the Console
port) is 9,600 bps.
Set the
check mode
parity { even | mark |
none | odd | space }
Optional
By default, the check mode of
a Console port is set to none,
that is, no check bit.
Set the stop
bits
stopbits { 1 | 1.5 | 2 }
Optional
The stop bits of a Console
port is 1.
Configure
the
Console
port
Set the data
bits
databits { 5 | 6 | 7 | 8 }
Optional
The default data bits of a
Console port is 8.
Configure the command
level available to users
logging into the user
interface
user privilege level
level
Optional
By default, commands of
level 3 are available to users
logging into the AUX user
interface.
Define a shortcut key for
starting terminal
sessions
activation-key
character
Optional
By default, pressing Enter
key starts the terminal
session.
Define a shortcut key for
aborting tasks
escape-key { default |
character }
Optional
The default shortcut key
combination for aborting
tasks is < Ctrl+C >.
Make terminal services
available
shell
Optional
By default, terminal services
are available in all user
interfaces.
Set the maximum
number of lines the
screen can contain
screen-length
screen-length
Optional
By default, the screen can
contain up to 24 lines.
You can use the
screen-length 0 command
to disable the function to
display information in pages.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-8
To do… Use the command… Remarks
Set the history command
buffer size
history-command
max-size value
Optional
The default history command
buffer size is 10. That is, a
history command buffer can
store up to 10 commands by
default.
Set the timeout time for
the user interface
idle-timeout minutes
[ seconds ]
Optional
The default timeout time of a
user interface is 10 minutes.
With the timeout time being
10 minutes, the connection to
a user interface is terminated
if no operation is performed
in the user interface within 10
minutes.
You can use the
idle-timeout 0 command to
disable the timeout function.
Note that if you configure not to authenticate the users, the command level available to
users logging into a switch depends on both the authentication-mode none command
and the user privilege level level command, as listed in the following table.
Table 2-4 Determine the command level (A)
Scenario
Authentication
mode
User type Command
Command
level
The user privilege level level
mmand not executed
co
Level 3
None
(authentication-m
ode none)
Users
logging in
through
Console
ports
The user privilege level level
command already executed
Determined
by the level
argument
2.4.2 Configuration Example
I. Network requirements
Assume the switch is configured to allow you to login through Telnet, and your user
level is set to the administrator level (level 3). After you telnet to the switch, you need to
limit the console user at the following aspects.
z The user is not authenticated when logging in through the Console port.
z Commands of level 2 are available to user logging into the AUX user interface.
z The baud rate of the Console port is 19,200 bps.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-9
z The screen can contain up to 30 lines.
z The history command buffer can contain up to 20 commands.
z The timeout time of the AUX user interface is 6 minutes.
II. Network diagram
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/1/1
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/1/1
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/1/1
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/
Ethernet
Figure 2-6 Network diagram for AUX user interface configuration (with th
authentication mode being none)
e
III. Configuration procedure
# Enter system view.
<H3C> system-view
# Enter AUX user interface view.
[H3C] user-interface aux 0
# Specify not to authenticate the user logging in through the Console port.
[H3C-ui-aux0] authentication-mode none
# Specify commands of level 2 are available to the user logging into the AUX user
interface.
[H3C-ui-aux0] user privilege level 2
# Set the baud rate of the Console port to 19,200 bps.
[H3C-ui-aux0] speed 19200
# Set the maximum number of lines the screen can contain to 30.
[H3C-ui-aux0] screen-length 30
# Set the maximum number of commands the history command buffer can store to 20.
[H3C-ui-aux0] history-command max-size 20
# Set the timeout time of the AUX user interface to 6 minutes.
[H3C-ui-aux0] idle-timeout 6
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-10
After the above configuration, to ensure a successful login, the console user needs to
change the corresponding configuration of the terminal emulation program running on
the PC, to make the configuration consistent with that on the switch. Refer to section
2.2 Setting Up the Connection to the Console Port” for more.
2.5 Console Port Login Configuration with Authentication
Mode Being Password
2.5.1 Configuration Procedure
To do… Use the command… Remarks
Enter system view
system-view
Enter AUX user
interface view
user-interface aux 0
Configure to
authenticate users
using the local
password
authentication-mode
password
Required
By default, users logging in
through the Console port are not
authenticated, while users
logging in through the Modem or
Telnet need to pass the password
authentication.
Set the local
password
set authentication
password { cipher |
simple } password
Required
Set the
baud rate
speed speed-value
Optional
The default baud rate of an AUX
port (also the Console port) is
9,600 bps.
Set the
check
de
mo
parity { even | mark |
none | odd | space }
Optional
By default, the check mode of a
Console port is set to none, that
is, no check bit.
Set the
stop bits
stopbits { 1 | 1.5 | 2 }
Optional
The default stop bits of a Console
port is 1.
Configur
e the
Console
port
Set the
data bits
databits { 5 | 6 | 7 | 8 }
Optional
The default data bits of a Console
port is 8.
Configure the
command level
available to users
logging into the user
interface
user privilege level
level
Optional
By default, commands of level 3
are available to users logging into
the AUX user interface.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-11
To do… Use the command… Remarks
Define a shortcut key
for starting terminal
sessions
activation-key
character
Optional
By default, pressing Enter key
starts the terminal session.
Define a shortcut key
for aborting tasks
escape-key { default |
character }
Optional
The default shortcut key
combination for aborting tasks is
< Ctrl+C >.
Make terminal
services available to
the user interface
shell
Optional
By default, terminal services are
available in all user interfaces.
Set the maximum
number of lines the
screen can contain
screen-length
screen-length
Optional
By default, the screen can contain
up to 24 lines.
You can use the screen-length 0
command to disable the function
to display information in pages.
Set history command
buffer size
history-command
max-size value
Optional
The default history command
buffer size is 10. That is, a history
command buffer can store up to
10 commands by default.
Set the timeout time
for the user interface
idle-timeout minutes
[ seconds ]
Optional
The default timeout time of a user
interface is 10 minutes.
With the timeout time being 10
minutes, the connection to a user
interface is terminated if no
operation is performed in the user
interface within 10 minutes.
You can use the idle-timeout 0
command to disable the timeout
function.
Note that if you configure to authenticate the users in the password mode, the
command level available to users logging into a switch depends on both the
authentication-mode password and the user privilege level level command, as
listed in the following table.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-12
Table 2-5 Determine the command level (B)
Scenario
Authentication
mode
User type Command
Command
level
The user privilege level
level command not
xecuted
e
Level 3
Local authentication
(authentication-mod
e password)
Users logging
into the AUX
user interface
The user privilege level
level command already
executed
Determined
by the level
argument
2.5.2 Configuration Example
I. Network requirements
Assume the switch is configured to allow you to login through Telnet, and your user
level is set to the administrator level (level 3). After you telnet to the switch, you need to
limit the Console user at the following aspects.
z The user is authenticated against the local password when logging in through the
Console port.
z The local password is set to 123456 (in plain text).
z The commands of level 2 are available to users logging into the AUX user
interface.
z The baud rate of the Console port is 19,200 bps.
z The screen can contain up to 30 lines.
z The history command buffer can store up to 20 commands.
z The timeout time of the AUX user interface is 6 minutes.
II. Network diagram
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/1/1
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/1/1
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/1/1
Ethernet
User PC running Telnet
Ethernet
User PC running Telnet
Gigabit
Ethernet1/
Ethernet
Figure 2-7 Network diagram for AUX user interface configuration (with the
authentication mode being
password)
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-13
III. Configuration procedure
# Enter system view.
<H3C> system-view
# Enter AUX user interface view.
[H3C] user-interface aux 0
# Specify to authenticate the user logging in through the Console port using the local
password.
[H3C-ui-aux0] authentication-mode password
# Set the local password to 123456 (in plain text).
[H3C-ui-aux0] set authentication password simple 123456
# Specify commands of level 2 are available to the user logging into the AUX user
interface.
[H3C-ui-aux0] user privilege level 2
# Set the baud rate of the Console port to 19,200 bps.
[H3C-ui-aux0] speed 19200
# Set the maximum number of lines the screen can contain to 30.
[H3C-ui-aux0] screen-length 30
# Set the maximum number of commands the history command buffer can store to 20.
[H3C-ui-aux0] history-command max-size 20
# Set the timeout time of the AUX user interface to 6 minutes.
[H3C-ui-aux0] idle-timeout 6
After the above configuration, to ensure a successful login, the console user needs to
change the corresponding configuration of the terminal emulation program running on
the PC, to make the configuration consistent with that on the switch. Refer to section
2.2 Setting Up the Connection to the Console Port” for more.
2.6 Console Port Login Configuration with Authentication
Mode Being Scheme
2.6.1 Configuration Procedure
To do… Use the command… Remarks
Enter system view
system-view
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-14
To do… Use the command… Remarks
Enter the
default
ISP
domain
view
domain Domain
name
Specify
the AAA
cheme
to be
applied to
the
domain
s
authentication
default { hwtacacs-
scheme
hwtacacs-scheme-na
me [ local ] | local |
none |
radius-scheme
radius-scheme-name
[ local ] }
Configu
re the
authenti
cation
mode
Quit to
system
view
quit
Optional
By default, the local AAA scheme
is applied. If you specify to apply
the local AAA scheme, you need to
perform the configuration
concerning local user as well.
If you specify to apply an existing
scheme by providing the
radius-scheme-name argument,
you need to perform the following
configuration as well:
z Perform AAA-RADIUS
configuration on the switch.
(Refer to the
AAA-RADIUS-HWTACACS
module for more.)
z Configure the user name and
password accordingly on the
AAA server. (Refer to the user
manual of AAA server.)
Create a local user
(Enter local user
view.)
local-user user-name
Required
No local user exists by default.
Set the
authentication
password for the
local user
password { simple |
cipher } password
Required
Specify the service
type for AUX users
service-type
terminal [ level level ]
Required
Quit to system view
quit
Enter AUX user
interface view
user-interface aux 0
Configure to
authenticate users
locally or remotely
authentication-mode
scheme [ command-
authorization ]
Required
The specified AAA scheme
determines whether to
authenticate users locally or
remotely.
Users are authenticated locally by
default.
Operation Manual – Login
H3C S3610&S5510 Series Ethernet Switches Chapter 2 Logging in Through the Console Port
2-15
To do… Use the command… Remarks
Set the
baud
rate
speed speed-value
Optional
The default baud rate of the AUX
port (also the Console port) is
9,600 bps.
Set the
check
mode
parity { even | mark |
none | odd | space }
Optional
By default, the check mode of a
Console port is set to none, that is,
no check bit.
Set the
stop
bits
stopbits { 1 | 1.5 | 2 }
Optional
The default stop bits of a Console
port is 1.
Configure
the
Console
port
Set the
data
bits
databits { 5 | 6 | 7 | 8 }
Optional
The default data bits of a Console
port is 8.
Configure the
command level
available to users
logging into the user
interface
user privilege level
level
Optional
By default, commands of level 3
are available to users logging into
the AUX user interface.
Define a shortcut
key for starting
terminal sessions
activation-key
character
Optional
By default, pressing Enter key
starts the terminal session.
Define a shortcut
key for aborting
tasks
escape-key { default
| character }
Optional
The default shortcut key
combination for aborting tasks is <
Ctrl+C >.
Make terminal
services available to
the user interface
shell
Optional
By default, terminal services are
available in all user interfaces.
Set the maximum
number of lines the
screen can contain
screen-length
screen-length
Optional
By default, the screen can contain
up to 24 lines.
You can use the screen-length 0
command to disable the function to
display information in pages.
Set history
command buffer
size
history-command
max-size value
Optional
The default history command
buffer size is 10. That is, a history
command buffer can store up to 10
commands by default.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60

H3C S3610 Series Operating instructions

Type
Operating instructions
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI