Professional Documents
Culture Documents
1.1
Internet
Internet
Quidway
1.8Gbps/3.6Gbps/5.2GbpsS2008B/S2016B/S2026B
1.3Mpps/2.6Mpps/3.9MppsS2008B/S2016B/S2026B
MAC
IEEE 802.3x
XModem
HGMPHuawei Group Management Protocol
CLICommand Line Interface
Console
HGMP Client
HGMP
S2008B/S2016B
2
2.1
S2000B
Console
HGMP
Doskey
display disp
2.1.1
S2000B
S2000B
system-view
VLAN
2-1
2-1
2-1
21
<Quidway>
quit
[Quidway]
system-view
quit
return
[Quidway-Ethernet0/1]
interface ethernet0/1
quit
return
[Quidway-Ethernet1/1]
interface ethernet 1/1
VLAN
VLAN
[Quidway-vlan1]
vlan 1
quit
return
[Quidway-ui-aux0]
user-interface aux
quit
return
2.1.2
S2000B
super
super password password
22
super
password 116
&
(1)
(2) super
Quidway
<Quidway> super
<Quidway> system-view
[Quidway] super password Quidway
2.1.3
2-3
screen-length screen-length
undo screen-length
screen-length 0512
25
&
screen-length 0
30
[Quidway] user-interface aux
[Quidway-ui-aux0] screen-length 30
2.1.4
(1)
<?>
<Quidway> ?
Monitor view commands:
debugging
display
quit
reboot
Reset slot
reset
save
super
system-view
undo
(2)
<Quidway>display ?
current-configuration
Current configuration
Hgmp information
interface
link-aggregation
mac-address
memory
monitor
qos-info
saved-configuration
version
vlan
(3)
<?>
<Quidway>debugg?
Monitor view commands:
debugging
(4)
<?>
<Tab>
<Quidway> dis<Tab>
<Quidway> display
&
2.1.5
2-4
24
Unrecognized command
Incomplete command
Ambiguous command
2.1.6
Doskey
10
2-5
2-5
&
Windows 3.X Terminal Windows
9X Windows 9X
<Ctrl+P><Ctrl+N>
2.1.7
256
2-6
2-6
Backspace
2.1.8
2-7
2-7
<Ctrl+C>
<Ctrl+C>
2.2 Console
2.2.1
2-2
Console
2-2
Console
Windows 3.X Terminal Windows 9X
9600bit/s8 1
VT100 2-3 2-5
2-3
2-4
2-5
<Quidway>
?
2.2.2 Console
Console S2000B Console
2-8
Console
Console
speed speed-value
Console
undo speed
speed-valueConsole 9600bit/s115200bit/s
Console 9600bit/s
Console 9600bit/s
[Quidway] user-interface aux
[Quidway-ui-aux0] speed 9600
2.3 HGMP
&
S2000B
2.3.1 HGMP
HGMPHuawei Group Management Protocol
HGMP V1 V2S2000B HGMP V1HGMP V1 HGMP
Server HGMP ClientHGMP Server
HGMP Client
S2000B HGMP Client
S2000B S3000
HGMP Server
2.3.2
HGMP 2-6
26 HGMP
2.3.3 HGMP
S2008B Ethernet0/8Ethernet0/9
S2016B
Ethernet0/15Ethernet0/16Ethernet0/17Ethernet1/1
S2026B
Ethernet0/23Ethernet0/24Ethernet0/25Ethernet1/1
2-9 / HGMP
HGMP
hgmp enable
HGMP
hgmp disable
HGMP shutdown
shutdown HGMP
HGMP ID 0
6.1.3
HGMP HGMP HGMP
3
3.1
S2008B 8 10/100Base-TX S2016B
16 10/100Base-TX 1 10/100Base-TX
1 Console S2026B 24
10/100Base-TX 1 100Base-TX 1 100Base-TX
1 MDIX 1 MDI 1 1
Console S2016B/S2026B 1
100Base-FX 100Base-FX
S2000B
l
10/100Base-TX
MDI/MDIX
100Base-FX /
100Mbit/s100Base-FX 1
100Base-FX 1
3.2
3.2.1
3-1
interface_name+/
Ethernet0/3
[Quidway] interface ethernet0/3
[Quidway-Ethernet0/3]
3.2.2 /
32
shutdown
undo shutdown
Ethernet0/3
[Quidway-Ethernet0/3] shutdown
[Quidway-Ethernet0/3] undo shutdown
3.2.3
3-3
negotiation-auto
Ethernet0/3
[Quidway-Ethernet0/3] negotiation-auto
3.2.4
3-4
speed { 10 | 100 }
10 10Mbit/s
100 100Mbit/s
full
half
10Base-T/100Base-TX 10Mbit/s100Mbit/s
100Base-FX /
100Mbit/s Can't set
the ports by the mode
l
Ethernet0/1 10Mbit/s
[Quidway-Ethernet0/1] speed 10
Please set the interface duplex mode,
Now it work in AUTO NEGOTIATION mode
[Quidway-Ethernet0/1] display interface ethernet0/1
Ethernet0/1 is down
Hardware is Fast Ethernet, Hardware address is 00e0-fc00-0010
auto_negotiation, 100_BASE_TX
Flow control is disable
The port belongs to these vlans:
Vlan 1
0 CRC errors
0 long frames
3.2.5
3-5
flow-control
undo flow-control
Ethernet0/3
[Quidway-Ethernet0/3] flow-control
Ethernet0/3
[Quidway-Ethernet0/3] undo flow-control
3.2.6
3-6
loopback internal
loopback external
UP
loopback
shutdown
speedduplexshutdown
Ethernet0/17
[Quidway-Ethernet0/17] loopback internal
3.3
3.3.1
/
&
(1) S2008B
(2) S2016B/S2026B S2016B
Ethernet0/15 Ethernet0/16 S2026B
Ethernet0/23Ethernet0/24
3.3.2
3-7
link-aggregation
undo link-aggregation
Ethernet0/15
Ethernet0/16 S2026B Ethernet0/23
Ethernet0/24
VLAN
l
Ethernet0/23Ethernet0/24
100Mbit/s
shutdownEthernet0/16
S2016B
[Quidway] link-aggregation
3.4
3.4.1
S2000B
&
S2000B
3.4.2
S2000B
(1)
(2)
3-8
mirroring-port interface_list
undo monitor-port
Ethernet0/1 Ethernet0/2
[Quidway] mirroring-port ethernet0/2 observing-port ethernet0/1
Ethernet0/1 Ethernet0/2
[Quidway] monitor-port ethernet0/1
[Quidway] mirroring-port ethernet0/2
3.5
display
reset
39
reset
display monitor
display link-aggregation
display interface
display monitor
display link-aggregation
Ethernet0/1
<Quidway> display interface ethernet0/1
Ethernet0/1 is down
Hardware is Fast Ethernet, Hardware address is 00e0-fc00-0010
auto_negotiation, 100_BASE_TX
Flow control is disable
The port belongs to these vlans:
Vlan 1
It is not a monitor port
It doesn't belong to a port-aggregation
0 packets output
0 bytes, 0 multicasts, 0 broadcasts, 0 pauses
0 packets input
0 bytes, 0 multicasts, 0 broadcasts, 0 pauses
0 CRC errors
0 long frames
Ethernet0/1 down FE 00e0fc00-0010 VLAN1
0 0 0 0
0 0 0 0
Other sub-ports:
Ethernet0/16
Mode: both
Ethernet0/15 Ethernet0/16
4 VLAN
4.1 VLAN
VLANVirtual Local Area Network
S2000B VLAN
4.2 VLAN
VLAN
l
/ VLAN
VLAN
4-1 / VLAN
vlan vlan-id
VLAN
undo vlan vlan-id
vlan-idVLAN ID 14095
HGMP
l
VLAN VLAN
VLAN1
[Quidway] vlan 1
[Quidway-vlan1]
4.2.2 VLAN
VLAN VLAN
S2000B VLAN
VLAN
4-2 VLAN
VLAN
port interface_list
VLAN
undo port interface_list
interface_list interface_list = { interface_type interface_num |
interface_name } [ to { interface_type interface_num | interface_name } ]
interface_type S2000B
Ethernetinterface_num /S2008B
0 19S2016B 01
0 117 1
1S2026B 01 0
125 1 1
interface_name +/
VLAN VLAN
HGMP VLAN1
VLAN 2 Ethernet0/4 Ethernet0/7Ethernet 0/2
2
[Quidway-vlan2] port ethernet 0/4 to ethernet 0/7 ethernet 0/2
4.3 VLAN
display VLAN
VLAN IDVLAN
4-3 VLAN
VLAN
display vlan [ vlan-id ]
VLAN1 HGMP
<Quidway> display vlan 1
Vlan ID: 1
Type: static
Ports:
Ethernet 0/1 Ethernet 0/2 Ethernet 0/3 Ethernet 0/4
Ethernet 0/5 Ethernet 0/6 Ethernet 0/7 Ethernet 0/8
Ethernet 0/9 Ethernet 0/10 Ethernet 0/11 Ethernet 0/12
Ethernet 0/13 Ethernet 0/14 Ethernet 0/15 Ethernet 0/16
Ethernet 0/17
VLAN 1 Ethernet0/1Ethernet0/17
4.4 VLAN
1.
VLAN2VLAN3 Ethernet0/1 Ethernet0/2 VLAN2
Ethernet0/3 Ethernet0/4 VLAN3
2.
4-1 VLAN
3.
# VLAN2
[Quidway] vlan 2
# VLAN2 Ethernet0/1 Ethernet0/2
5 QoS
5.1 QoS
S2000B QoS
5.2 QoS
QoS
l
QoS
QoS
5.2.1 / QoS
QoS
QoS
qos weight
QoS
undo qos
5-1 QoS
weightQoS 110 QoS QoS
weight 5
51
QoS QoS 5
QoS
[Quidway] qos 10
5.2.2
52
priority
undo priority
QoS
Ethernet0/3
[Quidway-Ethernet0/3] priority
5.3 QoS
display QoS
QoS QoS
5-3 QoS
QoS
display qos-info
QoS QoS
<Quidway> display qos-info
QoS is disable
QoS
QoS 10 QoS
[Quidway] qos 10
[Quidway] display qos-info
QoS weight is 10
QoS 10
5.4 QoS
1.
S2016B Ethernet0/1Ethernet0/2 PC S2016B
Ethernet0/1 Ethernet0/2
Ethernet0/2 101
2.
5-1 QoS
3.
# QoS 10
[Quidway] qos 10
# Ethernet0/1
[Quidway] interface ethernet0/1
[Quidway-Ethernet0/1] priority
&
Ethernet0/2
6
6.1
S2000B
S2000B
VLAN
S2000B
6.1.1 //
61 //
/
mac-address
dynamic
permanent
static
mac_address
interface
static
permanent write S2000B
64
dynamic
mac_addressMAC H-H-H
interface_type S2000B Ethernet
interface_num/S2008B
0 19S2016B 01 0
117 1
1S2026B 01 0
125 1 1
interface_name+/
6-2
MAC
mac-address timer { aging age | no-aging }
MAC
undo mac-address timer aging
ageMAC 0 101000000 0
MAC 300
MAC 500s
[Quidway] mac-address timer aging 500
6.1.3 //
S2000B HGMP
ID 0
6-3
//
/
multicast id { 0 | 1 } multi_mac interface_list
undo multicast id { 0 | 1 }
0
1
multi_mac MAC H-H-H
interface_list interface_list = { interface_type interface_num |
interface_name } [ to { interface_type interface_num | interface_name } ]
interface_type S2000B
Ethernetinterface_num /S2008B
0 19S2016B 01
0 117 1
1S2026B 01 0
125 1 1
interface_name +/
MAC 0100-fc01-0101 Ethernet0/1
[Quidway] multicast id 1 0100-fc01-0101 ethernet0/1
6.1.4
display
MAC MAC
64
MAC
display mac-address [ mac_address ] [ [ static | permanent | dynamic ]
{ interface { interface_name | interface_type interface_num } | all } ]
MAC
display mac-address aging-time
static
permanent
dynamic
mac_addressMAC
interface_type S2000B Ethernet
interface_num/S2008B
0 19S2016B 01 0
117 1
1S2026B 01 0
125 1 1
interface_name+/
all
MAC 00e0-fc01-0101
[Quidway] display mac-address 00e0-fc01-0101
MAC ADDR
00e0-fc01-0101
VLAN ID
N/A
STATE
PORT INDEX
AGING TIMEs
NOAGED
MAC
[Quidway] display mac-address aging-time
mac-address aging-time: 300s
MAC 300s
6.2
6.2.1
#
l
end
6.2.2
S2000B Flash Memory
Flash Memory Flash
Memory
S2000B
display
65 S2000B
display saved-configuration
display current-configuration
display savedconfiguration
display currentconfiguration
&
Flash Memory
<Quidway> display saved-configuration
#
sysname Quidway
#
hgmp enable
#
qos 10
#
user-interface aux
speed 9600
#
vlan 1
#
vlan 2047
#
interface Ethernet0/1
duplex full
speed 10
undo priority
#
interface Ethernet0/2
undo priority
#
interface Ethernet0/3
undo priority
#
---- More ---
<Quidway> display current-configuration
#
sysname Quidway
#
hgmp enable
#
qos 10
#
user-interface aux
speed 9600
#
vlan 1
#
vlan 2047
#
interface Ethernet0/1
duplex full
speed 10
undo priority
#
interface Ethernet0/2
undo priority
#
interface Ethernet0/3
undo priority
#
---- More ---6.2.3
S2000B
Flash Memory
6-6
save
Flash Memory
Flash Memory
<Quidway> save
This will save the configuration in the flash memory.
The switch configurations will be written to flash.
Are you sure?[Y/N]y
Now saving current configuration to flash memory.
Please wait for a while...
6-7
Flash Memory
Flash Memory
reset saved-configuration
Flash Memory
reset saved-configuration
l
Flash Memory
Flash Memory
<Quidway> reset saved-configuration
This will erase the configuration in the flash memory.
The switch configurations will be erased to reconfigure.
Are you sure?[Y/N] y
Now erasing the configuration in flash memory.
Please wait for a while...
Erase the configuration in flash memory successfully
6.3
S2000B
6.3.1
VLAN
MAC
6-8
display diagnostic-information
bytes SDRAM
0 CRC errors
0 oversize frames
6.3.2
S2000B
6-9
display version
bytes SDRAM
6-10
reboot
<Quidway> reboot
This will reboot Switch. Continue? [Y/N]y
The system will reset, please waiting...
6.4
S2000B
611
sysname sysname
undo sysname
sysname 130
Quidway<Quidway>
Quidway
QuidwayS2008B
[Quidway] sysname QuidwayS2008B
[QuidwayS2008B]