Huawei Quidway S3000-EI, Quidway S3026G, Quidway S3026C, Quidway S3026T, Quidway S3026E FM Operation Manual

...
HUAWEI
1. Getting Started
2. Port
3. VLAN
5. QoS/ACL
6. Integrated Management
7. STP
8. Security
9. Network Protocol
10. System Management
11. Remote Power-feeding
12. Appendix
Quidway S3000-EI Series Ethernet Switches
Operation Manual
VRP3.10
Huawei Technologies Proprietary
Quidway S3000-EI Series Ethernet Switches
Operation Manual
Manual Version
T2-081691-20050625-C-1.04
Product Version
VRP3.10
BOM
31161091
Huawei Technologies Co., Ltd. provides customers with comprehensive technical support
and service. If you purchase the products from the sales agent of Huawei Technologies Co.,
Ltd., please contact our sales agent. If you purchase the products from Huawei
Technologies Co., Ltd. directly, Please feel free to contact our local office, customer care
center or company headquarters.
Huawei Technologies Co., Ltd.
Ad dress: Administration Building, Huawei Technologies Co., Ltd.,
Bantian, Longgang District, Shenzhen, P. R. China
Postal Code: 518129
Website:
http://www.huawei.com
Huawei Technologies Proprietary
Copyright © 2005 Huawei Technologies Co., Ltd.
All Rights Reserved
No part of this manual may be reproduced or transmitted in any form or by any
means without prior written consent of Huawei Technologies Co., Ltd.
Trademarks
, HUAWEI, C&C08, EAST8000, HONET, , ViewPoint, INtess, ETS, DMC,
TELLIN, InfoLink, Netkey, Quidway, SYNLOCK, Radium,
M900/M1800,
TELESIGHT, Quidview, Musa, Airbridge, Tellwin, Inmedia, VRP, DOPRA,
iTELLIN, HUAWEI OptiX, C&C08
iNET, NETENGINE, OptiX, iSite, U-SYS, iMUSE,
OpenEye, Lansway, SmartAX, infoX, and TopEng are trademarks of Huawei
Technologies Co., Ltd.
All other trademarks and trade names mentioned in this manual are the property of
their respective holders.
Notice
The information in this manual is subject to change without notice. Every effort has
been made in the preparation of this manual to ensure accuracy of the contents,
but all statements, information, and recommendations in this manual do not
constitute the warranty of any kind, express or implied.
Huawei Technologies Proprietary
About This Manual
Release Notes
The product version that corresponds to the manual is VRP3.10.
Related Manuals
The following manuals provide more information about the Quidway S3000-EI Series
Ethernet Switches.
Manual Content
Quidway S3026C-PWR Ethernet Switch Installation Manual
Introduces the system installation, booting, configuration and maintenance of S3026C-PWR Ethernet Switch.
Quidway S3000-EI Series Ethernet Switches Installation Manual
Introduces the system installation, booting, configuration and maintenance of S3000-EI Series Ethernet Switches.
Quidway S3000-EI Series Ethernet Switches Command Manual
Introduces the commands of such modules as getting started, port, VLAN, multicast protocols, QoS/ACL, integrated management, STP, security, network protocols, remote power-feeding, and system management.
Organization
Quidway S3000-EI Series Ethernet Switches Operation Manual consists of the
following parts:
z Getting Started
This module introduces how to access the Ethernet Switch.
z Port
This module introduces Ethernet port and link aggregation configuration.
z VLAN
This module introduces VLAN, isolate-user-vlan, GARP, and GVRP configuration.
z Multicast
This module introduces GMRP and IGMP Snooping configuration.
Huawei Technologies Proprietary
z QoS/ACL
This module introduces QoS/ACL configuration.
z Integrated Management
This module introduces integrated configuration.
z STP
This module introduces STP configuration.
z Security
This module introduces security configuration.
z Network Protocol
This module introduces network protocol configuration, including ARP, DHCP
Snooping, and IP performance configuration.
z System Management
This module introduces system management and maintenance of Ethernet Switch,
including file system management, system maintenance and network
management configuration.
z Remote Power-feeding
This module introduces remote power-feeding configuration.
z Appendix
Intended Audience
The manual is intended for the following readers:
z Network engineers
z Network administrators
z Customers who are familiar with network fundamentals
Conventions
The manual uses the following conventions:
I. General conventions
Convention Description
Arial Normal paragraphs are in Arial.
Boldface
Headings are in Boldface.
Courier New
Terminal Display is in Courier New.
Huawei Technologies Proprietary
II. Command conventions
Convention Description
Boldface
The keywords of a command line are in Boldface.
italic
Command arguments are in italic.
[ ]
Items (keywords or arguments) in square brackets [ ] are optional.
{ x | y | ... }
Alternative items are grouped in braces and separated by vertical bars. One is selected.
[ x | y | ... ]
Optional alternative items are grouped in square brackets and separated by vertical bars. One or none is selected.
{ x | y | ... } *
Alternative items are grouped in braces and separated by vertical bars. A minimum of one or a maximum of all can be selected.
[ x | y | ... ] *
Optional alternative items are grouped in square brackets and separated by vertical bars. Many or none can be selected.
# A line starting with the # sign is comments.
III. GUI conventions
Convention Description
< >
Button names are inside angle brackets. For example, click the <OK> button.
[ ]
Window names, menu items, data table and field names are inside square brackets. For example, pop up the [New User] window.
/
Multi-level menus are separated by forward slashes. For example, [File/Create/Folder].
IV. Keyboard operation
Format Description
<Key>
Press the key with the key name inside angle brackets. For example, <Enter>, <Tab>, <Backspace>, or <A>.
<Key1+Key2>
Press the keys concurrently. For example, <Ctrl+Alt+A> means the three keys should be pressed concurrently.
<Key1, Key2>
Press the keys in turn. For example, <Alt, A> means the two keys should be pressed in turn.
Huawei Technologies Proprietary
V. Mouse operation
Action Description
Select
Press and hold the primary mouse button (left mouse button by default).
Click
Select and release the primary mouse button without moving the pointer.
Double-Click
Press the primary mouse button twice continuously and quickly without moving the pointer.
Drag
Press and hold the primary mouse button and move the pointer to a certain position.
VI. Symbols
Eye-catching symbols are also used in the manual to highlight the points worthy of
special attention during the operation. They are defined as follows:
Caution, Warning: Means reader be extremely careful during the operation.
Note: Means a complementary description.
Huawei Technologies Proprietary
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Table of Contents
Huawei Technologies Proprietary
i
Table of Contents
Chapter 1 Product Overview ........................................................................................................ 1-1
1.1 Product Overview............................................................................................................... 1-1
1.2 Function Features.............................................................................................................. 1-2
Chapter 2 Logging in Switch........................................................................................................ 2-1
2.1 Setting up Configuration Environment via the Console Port ............................................. 2-1
2.2 Setting up Configuration Environment through Telnet....................................................... 2-3
2.2.1 Connecting a PC to the Switch through Telnet....................................................... 2-3
2.2.2 Telneting a Switch through another Switch............................................................. 2-4
2.3 Setting up Configuration Environment through a Dial-up the Modem............................... 2-5
Chapter 3 Command Line Interface............................................................................................. 3-1
3.1 Command Line Interface ................................................................................................... 3-1
3.2 Command Line View.......................................................................................................... 3-1
3.3 FeaturesFeature and Functions of Command Line........................................................... 3-5
3.3.1 Online Help of Command Line................................................................................ 3-5
3.3.2 Displaying Characteristics of Command Line ......................................................... 3-6
3.3.3 History Command of Command Line...................................................................... 3-7
3.3.4 Common Command Line Error Messages.............................................................. 3-7
3.3.5 Editing Characteristics of Command Line............................................................... 3-8
Chapter 4 User Interface Configuration ...................................................................................... 4-1
4.1 User Interface Overview .................................................................................................... 4-1
4.2 User Interface Configuration.............................................................................................. 4-2
4.2.1 Entering User Interface View .................................................................................. 4-2
4.2.2 Configuring the User Interface-Supported Protocol................................................ 4-2
4.2.3 Configuring the Attributes of AUX (Console) Port................................................... 4-3
4.2.4 Configuring the Terminal Attributes......................................................................... 4-4
4.2.5 Managing Users ...................................................................................................... 4-6
4.2.6 Configure Redirection ............................................................................................. 4-9
4.3 Displaying and Debugging User Interface ....................................................................... 4-10
Chapter 5 System IP Configuration............................................................................................. 5-1
5.1 System IP Overview .......................................................................................................... 5-1
5.1.1 Management VLAN................................................................................................. 5-1
5.1.2 IP Address............................................................................................................... 5-1
5.1.3 Static Route............................................................................................................. 5-4
5.2 System IP Configuration .................................................................................................... 5-4
5.2.1 Creating/Deleting a Management VLAN Interface.................................................. 5-4
5.2.2 Assigning/Deleting the IP Address for/of the Management VLAN Interface........... 5-5
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Table of Contents
Huawei Technologies Proprietary
ii
5.2.3 Setting/Deleting the Management VLAN Interface Description Character String... 5-5
5.2.4 Enabling/Disabling a Management VLAN Interface................................................ 5-6
5.2.5 Configuring the Hostname and Host IP Address .................................................... 5-6
5.2.6 Configuring a Static Route ...................................................................................... 5-7
5.2.7 Configuring the Default Preference of Static Routes .............................................. 5-7
5.3 Displaying and Debugging System IP ............................................................................... 5-7
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 1
Product Overview
Huawei Technologies Proprietary
1-1
S3026T Ethernet Switch provides 24 fixed 10/100Base-TX auto-sensing ports, one
t Switch is the fixed
Ethernet switch provides 24 fixed 10/100Base-TX auto-sensing port,
s:
function and supporting audio and video multicast
rein
Serie t Switches.
Chapter 1 Product Overview
1.1 Product Overview
Quidway S3000-EI Series Ethernet Switches, the L2 Ethernet Switches independently
developed by Huawei, provide wire-speed L2 switching function. The series include the
following main types of switches:
z S3026G Ethernet Switch
z S3026C Ethernet Switch
z S3026T Ethernet Switch
z S3026E FM Ethernet Switch
z S3026E FS Ethernet Switch
z S3026C-PWR Ethernet Switch
S3026G Ethernet Switch provides 24 fixed 10/100Base-TX auto-sensing ports, one
Console port, and two GBIC extended module interfaces.
S3026C Ethernet Switch provides 24 fixed 10/100Base-TX auto-sensing ports, one
Console port, and two extension module slots.
Console port, and two fixed 10/100/1000Base-T uplink ports.
The only difference between S3026E FM and S3026E FS Etherne
optical ports with different attributes they provide: S3026E FM Ethernet Switch provides
12 fixed 100Base-FX multi-mode optical ports, while S3026E FS Ethernet Switch
provides 12 fixed 100Base-FX single-mode optical ports. Each of them also provides
one console port, two 6-port 100M extended module slots, and two uplink extended
module slots.
S3026C-PWR
one Console port and two extension module slots. S3026C-PWR switch can provide
-48V DC power to remote powered device connected it through twisted pair cable, and
then realizes remote power supply to remote connected powered device.
Quidway S3000-EI Series Ethernet Switches support the following service
z Internet broadband access
z Enterprise and campus networking
z Providing multicast service
services.
He after Quidway S3000-EI Series Ethernet Switches are referred to as S3000-EI
s Etherne
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 1
Product Overview
Huawei Technologies Proprietary
1-2
1.2 Fun
res
ction Features
Table 1-1 Function featu
Features Implementation
VLAN Supports po
Supports VLAN compliant with IEEE 802.1Q Standard
rt-based VLAN
Supports GARP VLAN R l (GVRP)
egistration Protoco
STP protocol
nning Tree Spanning Tree Protocol (MSTP), /IEEE802.1w/IEEE 802.1s Standard
Supports Spanning Tree Protocol (STP) / Rapid Spa Protocol (RSTP)/ Multiple compliant with IEEE 802.1D
Flow control
Supports IEEE 802.3 flow control (full-duplex)
Supports back-pressure based flow control (half-duplex)
Broadcast Suppression
Supports Broadcast Suppression
Multicast
Supports Internet Group Management Protocol (IGMP) Snooping
Supports GARP Multicast Registration Protocol (GMRP)
Link aggregation
Supports link aggregation
Mirror Support the mirror based on the traffic classification
PoE
Support Power over Ethernet (PoE) only on the S3026C-PWR switch in S3000-EI series
Quality of Service (QoS)
riority on the port
Strict Priority Queuing (SP), Weighted
R), Delay bounded WRR
Supports traffic classification
Supports bandwidth control
Supports priority
Supports queues of different p
Queue scheduling: supports Round Robin (WR
Security features
word protect
Supports Multi-level User management and pass
Supports 802.1X authentication
Supports packet filtering
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 1
Product Overview
Huawei Technologies Proprietary
1-3
Features Implementation
Management and Maintenance
Supports command line interface configuration
Supports configuration via Console port
Supports remote configuration via Telnet or SSH
Supports configuration through dialing the Modem
Supports SNMP management (Supports Quidview NMS and RMON MIB Group 1, 2, 3 and 9)
Supports system log
Supports level alarms
Supports Huawei Group Management Protocol (HGMP) V2
Supports output of the debugging information
Supports PING and Tracert
Supports the remote maintenance via Telnet or Modem or SSH
Loading and update
Supports to load and upgrade software via XModem protocol
Supports to load and upgrade software via File Transfer Protocol (FTP) and Trivial File Transfer Protocol (TFTP)
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 2
Logging in Switch
Huawei Technologies Proprietary
2-1
Chapter 2 Logging in Switch
2.1 Setting up Configuration Environment via the Console Port
Step 1: As shown in the figure below, to set up the local configuration environment,
connect the serial port of a PC (or a terminal) to the Console port of the switch with the
Console cable.
Console port
RS-232 Serial port
Console cable
Figure 2-1 Setting up the local configuration environment via the Console port
Step 2: Run terminal emulator (such as Terminal on Windows 3X or the Hyper Terminal
on Windows 9X) on the Computer. Set the terminal communication parameters as
follows: Set the baud rate to 9600, databit to 8, parity check to none, stopbit to 1, flow
control to none and select the terminal type as VT100.
Figure 2-2 Setting up new connection
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 2
Logging in Switch
Huawei Technologies Proprietary
2-2
nnection
Figure 2-3 Configuring the port for co
Figure 2-4 Setting communication parameters
Step 3: The switch is powered on. Display self-test information of the switch and prompt
you to press Enter to show the command line prompt such as <Quidway>.
Step 4: Input a command to configure the switch or view the operation state. Input a “?”
for an immediate help. For details of specific commands, refer to the following chapters.
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 2
Logging in Switch
Huawei Technologies Proprietary
2-3
Environment through Telnet
VLAN interface for a switch via
nd in VLAN interface view), and added the port
command in VLAN view), you can
ole port before the user logs in by
2.2 Setting up Configuration
2.2.1 Connecting a PC to the Switch through Telnet
After you have correctly configured IP address of a
Console port (using ip address comma
(that connects to a terminal) to this VLAN (using port
telnet this switch and configure it.
Step 1: Authenticate the Telnet user via the Cons
Telnet.
Note:
By default, the password is required for authentic
switch. If a user logs in via the Telnet without pa
password has not been set !”.
ating the Telnet user to log in the
ssword, he will see the prompt “Login
<Quidway> system-view
[Quidway] user-interface vty 0
Step 2: To set up the configuration environment, connect the Ethernet port of the PC to
[Quidway-ui-vty0] set authentication password simple xxxx (xxxx is the preset
login password of Telnet user)
that of the switch via the LAN.
Work sta tion
Ethernet port
Works tation
Server
PC ( for configuring the switch
via Telnet )
Ethernet
Work sta tion
Ethernet port
Works tation
Server
PC ( for configuring the switch
via Telnet )
Ethernet
tep 3: Run Telnet on the PC and input the IP address of the VLAN connected to the PC
Figure 2-5 Setting up configuration environment through telnet
S
port.
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 2
Logging in Switch
Huawei Technologies Proprietary
2-4
authentication” and prompts the user to input the
too many users are connected to the switch through the
connect later. At most 5 Telnet users are
es simultaneously.
nfigure the switch or to monitor the
e help. For details of specific commands,
Figure 2-6 Running Telnet
Step 4: The terminal displays “Login
logon password. After you input the correct password, it displays the command line
prompt (such as <Quidway>). If the prompt “All user interfaces are used, please try
later!” appears, it indicates that
Telnet at this moment. In this case, please re
allowed to log on to the Quidway series switch
Step 5: Use the corresponding commands to co
running state. Enter “?” to get the immediat
refer to the following chapters.
Note:
z When configuring the switch via Telnet, do not modify the IP address of it unless
necessary, for the modification might cut the Telnet connection.
ntication to log on to the
z By default, when a Telnet user passes the password authe
switch, he can access the commands at Level 0.
2.2.2 Telneting a Switch through another Switch
After a user has logged into a switch, he or she can config
the switch via Telnet. The local switch serves as
serves as Telnet server. If the ports connecting the
network, their IP addresses must be config
Otherwise, the two switches must establish a route tha
ure another switch through
Telnet client and the peer switch
se two switches are in a same local
ured in the same network segment.
t can reach each other.
As shown in the figure below, after you telnet to a switch, you can run telnet command
other switch.
to log in and configure an
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 2
Logging in Switch
Huawei Technologies Proprietary
2-5
Telnet Client
PC
Telnet Server
Figure 2-7 Providing Telnet Clie
nt service
tep 1: Authenticate the Telnet user via the Console port on the Telnet Server (switch)
.
S
before login
Note:
By default, the password is required for authenticating the Telnet user to log in the
itch. If a user logs in via the Telnet without passwo
sw rd, he will see the prompt “Login
password has not been set !”.
the hostname or IP address of the Telnet
Server. If it is the hostname, you need to use the ip host command to specify.)
you will see the prompt such <Quidway>. If
se try later!” appears, it indicates that too
ugh the Telnet at this moment. In this case,
please connect later.
ds to configure the switch or view it running
state. Enter “?” to get the immediate help. For details of specific commands, refer to the
2.3 Setting up Configuration Environment through a Dial-up the Modem
<Quidway> system-view
[Quidway] user-interface vty 0
[Quidway-ui-vty0] set authentication password simple xxxx (xxxx is the preset
login password of Telnet user)
Step 2: The user logs in the Telnet Client (switch). For the login process, refer to the
section describing “Connecting a PC to the Switch through Telnet”.
Step 3: Perform the following operations on the Telnet Client:
<Quidway> telnet xxxx (xxxx can be
Step 4: Enter the preset login password and
the prompt “All user interfaces are used, plea
many users are connected to the switch thro
Step 5: Use the corresponding comman
following chapters.
Step 1: Authenticate the Modem user via the Console port of the switch before he logs
in the switch through a dial-up Modem.
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 2
Logging in Switch
Huawei Technologies Proprietary
2-6
Note:
By default, the password is required for authenticating the Modem user to log in the
without password, he will see an error prompt.
switch. If a user logs in via the Modem
<Quidway> system-view
[Quidway] user-interface aux 0
[Quidway-ui-aux0] set authentication password simple xxxx (xxxx is the preset
------------- Ignore DTR signal
AT&K0 ----------------- ------ Disable flow control
------- -------- Bar the modem to send command response
login password of the Modem user.)
Step 2: Perform the following configurations on the Modem that is directly connected to
the switch. (You are not required to configure the Modem connected to the terminal.)
AT&F ----------------------- Reset Modem factory settings
ATS0=1 -----------------Set auto response (ring once)
AT&D ----------
AT&R1 ----------------------- Ignore RTS signal
AT&S0 ---------------- ------- Force DSR to be high-level
ATEQ1&W --------
or execution result and save the configurations
After the configuration, key in the AT&V command to verify the Modem settings.
Note:
z The Modem configuration commands and outputs may be different according to
different Modems. For details, refer to the User Manual of the Modem.
z It is recommended that the transmission rate on the Console port must lower than
odem, otherwise packets may be lost.
that of M
Step 3: As shown in the figure below, to set up the remote configuration environment,
onnect the Modems to a PC (or a terminal) serial port and the switch Console port
c
respectively.
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 2
Logging in Switch
Huawei Technologies Proprietary
2-7
Modem serial port line
Modem
Modem
Telephone line
Remote tel:
82882285
Console port
PSTN
Fig
Step 4: Dial or and Modem on the
mote end. The number dialed shall be the telephone number of the Modem
connected to the switch. See the two figures below.
ure 2-8 Setting up remote configuration environment
for connection to the switch, using the terminal emulat
re
Figure 2-9 Setting the dialed number
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 2
Logging in Switch
Huawei Technologies Proprietary
2-8
Step 5: Enter the preset login password on the remote terminal emulator and wait for
n you can configure and manage the switch. Enter
“?” to get the immediate help. For details of specific commands, refer to the following
Figure 2-10 Dialing on the remote PC
the prompt such as <Quidway>. The
chapters.
Note:
By default, when a Modem user logs in, he can access the commands at Level 0.
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 3 Comm
and Line Interface
Huawei Technologies Proprietary
3-1
Chapter 3 Command Line Interface
3.1 Command Line Interface
Quidway series switches provide a series of configuration commands and command
line interfaces for configuring and managing the switch. The command line interface
has the following characteristics:
z Local configuration via the Console port.
z Local or remote configuration via Telnet or SSH.
z Remote configuration through a dial-up Modem to log in the switch.
z Hierarchy command protection to avoid the unauthorized users accessing switch.
z Enter a “?” to get immediate online help.
z Provide network testing commands, such as Tracert and Ping, to fast troubleshoot
the network.
z Provide various detailed debugging information to help with network
troubleshooting.
z Log in and manage other switch directly, using the Telnet command.
z Provide FTP service for the users to upload and download files.
z Provide the function similar to Doskey to execute a history command.
z The command line interpreter searches for target not fully matching the keywords.
It is ok for you to key in the whole keyword or part of it, as long as it is unique and
not ambiguous.
3.2 Command Line View
Quidway series switches provide hierarchy protection for the command lines to avoid
unauthorized user accessing illegally.
Commands are classified into four levels, namely visit level, monitoring level, system
level and management level. They are introduced as follows:
z Visit level: Commands of this level involve command of network diagnosis tool
(such as ping and tracert), command of switch between different language
environments of user interface (language-mode) and telnet command etc. The
operation of saving configuration file is not allowed on this level of commands.
z Monitoring level: Commands of this level, including the display command and the
debugging command, are used to system maintenance, service fault diagnosis,
etc. The operation of saving configuration file is not allowed on this level of
commands.
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 3
Command Line Interface
Huawei Technologies Proprietary
3-2
z System level: Service configuration commands, including routing command and
commands on each network layer, are used to provide direct network service to
z n of the
system and system support module, which plays a support role on service.
ve file system commands, FTP commands, TFTP
ading commands, user management commands,
and level setting commands.
r users of different levels log in, they can only use
commands at the levels that are equal to or lower than its own level.
sion, user will be identified when
itc nd. User ID
is needed (Suppose the user has set the
conf the screen the user cannot see the password that he entered. Only
Othe l user level will remain unchanged.
fe ents. They
r u will enter user
w he running
in wh
view
ng views:
z
z
z
z
z
z
z
ew
z Advanced ACL view
the user.
Management level: They are commands that influence basis operatio
Commands of this level invol
commands, XModem downlo
At the same time, login users are classified into four levels that correspond to the four
command levels respectively. Afte
In order to prevent unauthorized users from illegal intru
sw hing from a lower level to a higher level with super [ level ] comma
authentication is performed when users at lower level switch to users at higher level. In
other words, user password of the higher level
super password [ level level ] { simple | cipher } password.) For the sake of
identiality, on
when correct password is input for three times, can the user switch to the higher level.
rwise, the origina
Dif rent command views are implemented according to different requirem
are elated to one another. For example, after logging in the switch, yo
vie , in which you can only use some basic functions such as displaying t
state and statistics information. In user view, key in system-view to enter system view,
ich you can key in different configuration commands and enter the corresponding
s.
The command line provides the followi
z User view
z System view
z Ethernet Port view
VLAN view
z VLAN interface view
z LoopBack interface view
z Local-user view
User interface view
FTP Client view
Cluster view
z MST region view
RSA public key view
RSA key code view
Basic ACL vi
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 3
Command Line Interface
Huawei Technologies Proprietary
3-3
z
z
erver group view
The
ente
Tabl and view
z Layer-2 ACL view
User-defined ACL view
RADIUS s
z ISP domain view
following table describes the function features of different views and the ways to
r or quit.
e 3-1 Function feature of comm
Command
view
Function Prompt
Command to
enter
Command to exit
User view
information about quit disconnects to
Show the basic
Enter right after
operation and statistics
<Quidway> connecting the
switch
the switch
System view
Configure system parameters
[Quidway]
Key in system-view in user view
quit or return returns to user view
[Quidway-Ether net0/1]
100M Ethernet port view
Key in inte
ethernet 0/1
rface
in
system view
Ethernet Port view
quit returns to
Configure Ethernet port parameters
[Quidway-Giga bitEthernet1/1]
GigabitEthernet port view
Key in interface gigabitethernet 1/1 in system view
system view
return returns to user view
VLAN view
1]
in vlan 1 in
system view
quit returns to system view
return returns to user view
Configure VLAN [Quidway-Vlan Key parameters
VLAN interface view
C
a V ag
[Quidway-Vlan-
ce1]
Key in interface vlan-interface 1 in system view
quit returns to system view
return returns to user view
onfigure IP interface parameters for
LAN or a VLAN
interfa
gregation
Local-user view
C pa
[Quidway-luser
-user1]
Key in local-user user1 in system view
quit returns to system view
return returns to user view
onfigure local user
rameters
User interface view
C interface pa
0]
Key in user-interface 0 in system view
quit returns to system view
return returns to user view
onfigure user
[Quidway-ui
rameters
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 3
Command Line Interface
Huawei Technologies Proprietary
3-4
Command
view
Function Prompt
Command to
enter
Command to exit
FTP Clien view C
Key in ftp in user view
quit returns to system view
t Configure FTP
lient parameters
[ftp]
Cluster view er] system view
quit returns to
return returns to
user view
Configure Cluster parameters
[Quidway-clust Key in cluster in
system view
MST region view
Config regio rs
[Quidway-m egi
Key in stp
re t ion in view
quit returns to
system view
user view
ure MST
n paramete
st-r
on]
gion-configura
system
return returns to
RSA public key view
-p
ublic-key] 003 in
ns to
system view
Configure RSA public key of SSH user
[Quidway-rsa
Key in rsa peer-public-key quidway system view
peer-public-key end retur
RSA key code view
blic key
of SSH user
[Quidway-rsa-k ey-code]
-code
turns to RSA
lic key view
Edit RSA pu
Key in
public-key begin in RSA
public key view
pub
public-key-code end re
Basic ACL Define the rule of y-acl-
basic-2000]
quit returns to
s to
view basic ACL
[Quidwa
Key in acl number 2000 in system view
system view
return return user view
Advanced ACL view
Define the rule of advanced ACL
Key in acl number
rns to
system view
return returns to user view
[Quidway-acl-a dv-3000]
3000 in system view
quit retu
Layer-2 ACL view
Define the rule of layer-2 ACL
[Quidway-acl-li nk-
4000]
Key in acl number 4000 in system view
quit returns to system view
return returns to user view
User-de ed AC view
fin
L
Define the rule of user-defined ACL
[Quidway-acl-u ser-5000]
Key in acl number 5000 in system view
quit returns to system view
return returns to user view
Conform-le vel view
Configure the
group" mapping table and "Local-precedence + Conform-level
802.1p priority" mapping table
[Quidway-conf orm-level-0]
in qos conform-level 0 in system view
returns to
return returns to user view
"DSCP + Conform-level Service
Key
quit
system view
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 3
Command Line Interface
Huawei Technologies Proprietary
3-5
Command
view
Function Prompt
Command to
enter
Command to exit
WRED index view
Configure WRED parameters
[Quidway-wred
-0]
Key in wred 0 in system view
quit returns to system view
return returns to user view
RADIUS server group view
s
parameters
[Quidway-radiu s-1]
i radius scheme 1 in system view
Configure radiu
Key n
quit returns to system view
return returns to user view
ISP domain view
Configure ISP domain parameters
[Quidway-isp-h uawei163.net]
Key in domain huawei163.net in
w
system view
quit returns to system vie
return returns to user view
3 s d
3.3.1 Online Help of Command Line
fo
z
z
Partial help
You can get the help information through o
1) Input “?” in any view to get all the comm in it and corres
<Quidway> ?
Us
boot Set boot option
cd Change current directory
clock Specify the system clock
c il
eb
delete Delete a file
dir List files on a file system
display Display current system information
2) Input a command with a “?” separated pace. If this position is for key
all the keywords and the corresponding brief descriptions will be listed.
<Quidway> language-mode ?
chinese Chinese environment
english English environment
.3 FeaturesFeature and Function of Comman Line
The command line interfa
Full help
ce provides the llowing online help modes.
these online help c
ands
mmands, which are
described as follows.
ponding descriptions.
er view commands:
opy C
debugging E
opy from one f
nable system d
e to another
ugging functions
(Omitted)
by a s words,
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 3
Command Line Interface
Huawei Technologies Proprietary
3-6
3) Input a command with a “?” separated by a space. If this position is for parameters,
all the parameters and their brief descriptions will be listed.
[Q
<1-4094> VLAN interface number
[Quidway] interface vlan 1 ?
<c ram s po next co
the command, you can press <Enter> to execute it directly.
4) cter string with a “?”, then all the commands with this character string
as their initials will be listed.
<Q
i
5) Input a command with a character string and “?”, then all th s with this
character string as their initials in the command will be listed
<Q
Input the first letters of a keyword of a co press < If no other
keywords are headed by this letters, then this unique keyw
7) y
language-mode command.
3.3.2 Displaying Characteristics of Command Line
z For users’ convenience, the instruction and help information can be displayed in
ayed exceeding one screen, pausing function is
he table below.
ns of displaying
uidway] interface vlan ?
<cr>
r> indicates no pa
Input a chara
eter in thi sition. The mmand line repeats
uidway>pi?
ng
p
e key word
.
uidway> display ver?
version
6) mmand and Tab> key.
ord will be displayed
automatically.
To switch to the
Chinese displa for the above information, perform the
Command line interface provides the following display characteristics:
both English and Chinese.
z For the information to be displ
provided. In this case, users can have three choices, as shown in t
Table 3-2 Functio
Key or Command Function
Press <Ctrl+C> when the display pauses
Stop displaying and executing command.
Enter a space when the display Continue to display the next screen of pauses
information.
Press <Enter> when the display Continue to display the next line of
formation.
pauses
in
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 3
Command Line Interface
Huawei Technologies Proprietary
3-7
3.3.3 Hist
Key. The commands
rs can be automatically saved by the command line interface and you
10. T ach user.
e table below.
d
ory Command of Command Line
Command line interface provides the function similar to that of Dos
entered by use
can invoke and execute them at any time later. History command buffer is defaulted as
hat is, the command line interface can store 10 history commands for e
The operations are shown in th
Table 3-3 Retrieving history comman
Operation Key Result
Dis com
command by user play history
mand
display history-command
Display history inputting
Retrieve the
Up cursor key
previous history
<↑> or Retrieve the previous history
command, if there is any.
command
<Ctrl+P>
Retrieve the next Down cursor key <↓> Retrieve the next history history command or <Ctrl+N> command, if there is any.
Note:
Cursor keys can be used to retrieve the history commands in Windows 3.X Terminal
rk, b
same purpose.
and Telnet. However, in Windows 9X HyperTerminal, the cursor keys and do not
wo ecause Windows 9X HyperTerminal defines the two keys differently. In this
keys <Ctrl+P> and <Ctrl+N> instead for the
case, use the combination
3.3.4 Common Command Line Error Messages
gram messages will be reported to users. The common
Table 3-4 Common command line error messages
All the input commands by users can be correctly executed, if they have passed the
mar check. Otherwise, error
error messages are listed in the following table.
Error messages Causes
Cannot find the command.
Cannot find the keyword.
Wrong parameter type.
Unrecognized command
The value of the parameter exceeds the range.
Incomplete command The input command is incomplete.
Too many parameters Enter too many parameters.
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 3
Command Line Interface
Huawei Technologies Proprietary
3-8
e parameters entered are not specific. Ambiguous command Th
3.3.5 Editing Characteristics of Command Line
C line interface provides the bas diting function and supports to
e
Table 3-5 Editing functions
ommand ic command e
dit multiple lines. A command cannot longer than 256 characters. See the table below.
Key Function
Common keys
Insert from the curso right, if the edition
r position and the cursor moves to the
buffer still has free space.
Backspace
Delete the character preceding the cursor and the cursor moves backward.
Leftwards cursor key <> or <Ctrl+B>
Move the cursor a character backward
Rightwards cursor key <> or <Ctrl+F>
Move the cursor a c
haracter forward
Up cursor key <> or <Ctrl+P>
Dow <↓>
Retrieve the history command.
n cursor key
or <Ctrl+N>
<Tab>
system
Press <Tab> after typin plete key word and the
will execute the partial help: If the key word
one with the c lay it in
a new line; if there is not a matched key word or the
n
but display a new
line.
g the incom
matching the typed one the typed
is unique, the system will replace
omplete key word and disp
matched key word is modification
ot unique, the system will do no
the originally typed word in
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 4 Use
r Interface Configuration
Huawei Technologies Proprietary
4-1
C
4.1 User Interface Overview
User in n is another way provided witch to configure and
manage the port data.
S3000-EI Series Ethernet Switc onfiguration methods:
z the Con
z Local and remote configuration thro H on Ethernet port
z Remote configuration throu
A mention two types of user
in
z
UX user interface is used to log in the switch via the Console port. A switch can only
have one AUX user interface.
VTY user interface is used to telnet the switch. A switch can have up to five VTY user
Note:
hapter 4 User Interface Configuration
terface configuratio by the s
hes support the following c
Local configuration via sole port
ugh Telnet or SS
gh dial with modem via the Console port.
ccording to the above- ed configuration methods, there are
terfaces:
AUX user interface
A
z VTY user interface
interface.
For Quidw s switches, AUX port and Cons the same one. There is
only the type of AUX user
ay serie ole port are
interface.
User interface is numbered in the following two ways: absolute number and relative
n
1) Absolute number, following the rules below.
z ated as user interface
z r AUX user interface. The absolute number of the first VTY is
incremented by 1 tha
2 presented by “+ number” assigned to each type of user
interface. It follows the rules below:
z Number of AUX user interface: AUX 0.
z Number of VTY: The first VTY interface is designated as VTY 0, the second one is
designated as VTY 1, and so on.
umber.
AUX user interface is
0.
numbered as the first interface design
VTY is numbered afte
n the AUX user interface number.
) Relative number, re
Operation Manual - Getting Started Quidway S3000-EI Series Ethernet Switches Chapter 4 Use
r Interface Configuration
Huawei Technologies Proprietary
4-2
4.2 User Interface Confi
User interface configuratio
z ring user interfac
z Configuring the user
z Configuring the attrib
Configuring the terminal attributes
Managing users
z redirection
4.2.1 Entering User Interface View
The following command is used for entering a user interface view. You can enter a
single user interface view or multi user interface view to configure one or more user
interfaces respectively.
Perform the following configuration in system view.
Table 4-1 Entering user interface view
guration
n includes:
e view
interface-supported protocol
utes of AUX (Console) port
Ente
z
z
Operation Command
Enter a single user interface view or multi user interface views
user-interface [ type ] first-number [ last-number ]
4.2.2 Configuring the User Interface-Supported Protocol
The following command is used for setting the supported protocol by the current user
interface. You can log in switch only through the supported protocol. The configuration
becomes effective when you log in again.
Perform the following configurations in user interface (VTY user interface only) view.
Table 4-2 Configuring the user interface-supported protocol
Operation Command
Configure the user interface-supported protocol
protocol inbound { all | ssh | telnet }
By default, the user interface supports Telnet and SSH protocols.
Loading...
+ 353 hidden pages