You are on page 1of 278

SmartAX MA5300/5303

- 1

.................................................... 1

1.1 ................................................ 1
1.2 ........................... 6
1.3 Telnet..................................................................................................... 6
1.4 Telnet ..................................................................................... 10

1.4.1

Telnet ...... 10

1.4.2

Telnet ....................... 11

...................................................................................................... 14

2.1 ..................................................................... 14
2.1.1

....................................................................................... 14

2.1.2

............................................................................ 15

2.1.3

................................................................................. 16

2.1.4

.......................................................... 16

2.1.5

................................................................................................ 17

2.2 Online- ..................................................................................................................... 18


2.3 .................................................................................... 20
2.4 ....................................................................................... 21
2.5 ......................................................................................... 21
2.6 ..................................................................................................... 22
2.7 ................................................................................................. 22
2.8 .......................................................................... 23
2.9 ........................................................................... 23
2.10 ...................................... 23
2.11 ...................................................................................................... 24
2.12 CPU ....................................................................... 24
2.13 ......................................................................... 24
3

........................................................................................ 26

3.1 ........................................................................................................................ 26
3.2 / . ............................................................................... 27
3.2.1

....................... 27

3.2.2

..................................................................................... 27

3.2.3

......................................................................................... 28

3.3 ................................................................................. 29
3.4 ............................................................................ 31
4

.......................................................................................... 32

4.1 .............................................................................................................................. 32
4.2 ............................................................... 33
i

SmartAX MA5300/5303
- 1

4.3 .............................................. 33
4.4 HyperTerminal ............................................................................ 34
4.5 ............................................................................................ 36
5

....................................................................................................... 37

5.1 ........................................................................................................................ 37
5.2 ....................................................................................................................... 37
5.3 .............................................................................................................. 40
5.4 ......................................................................................... 41
5.5 .................................................................................................................. 41
5.6 ............................................................................................................... 42
5.7 ........................................................................................................... 43
6

MAC- ........................................................................................... 44

6.1 ........................................................................................................................ 44
6.2 // ...................................................................... 44
6.3 MAC-................................................ 45
6.4 / . ............................................................... 46
6.5 .................................................................................................. 46
7

ARP............................................................................................... 49

7.1 .................................................................................................................................... 49
7.2 ARP............................................................................... 50
8

................................................................ 52

8.1 NMS .............................................................. 52


8.1.1

IP ................................................................ 53

8.1.2

NMS ....................... 53

8.2 NMS ............................................................................... 54


8.2.1

IP NMS ................................................................ 55

8.2.2

NMS................................................ 56

8.2.3

IP , MA5300 . 56

8.3 SNMP .................................................................................................. 57


8.3.1

....................................................................................................................... 57

8.3.2

SNMP V1/V2C ........................................................................ 60

8.3.3

SNMP V3 ................................................................................ 63

8.4 NMS ....................................................................................... 66

8.4.1

NMS .................................... 66

8.4.2

NMS ...................................................... 67

RMON ........................................................................................... 70

9.1 RMON........................................................................................................................ 70
9.2 RMON.................................................................................................. 71
9.2.1

/ / ...................... 71

9.2.2

/ / .......................................... 72

9.2.3

/ / .................. 72
ii

SmartAX MA5300/5303
- 1

9.2.4

/ / ...................................... 72

9.2.5

RMON.............................................................................. 73

9.3 RMON .................................................................................... 73


10 DHCP.................................................................. 75
10.1 DHCP.............................................................................................. 75
10.2 DHCP- ........................................................................ 76
10.2.1 IP- DHCP...................................................... 77
10.2.2 DHCP VLAN .......................... 77
10.2.3 ..................................................... 77
10.2.4 DHCP ............................................................. 78
10.2.5 DHCP-...................................................... 78
10.3 DHCP-..................... 79
10.3.1 DHCP Option82 ........................................................... 79
10.3.2 DHCP Option60 ........................................................... 87
10.4 DHCP- .......................................................... 91
10.5 DHCP- ........................................................ 93
11 IP ........................................................................ 95
11.1 TCP.................................................................................. 95
11.2 IP ................................................................................. 95
11.3 IP ........................................................................ 96
12 Ethernet ............................................................................ 98
12.1 .................................................................................................................................. 98
12.2 ...................................................................... 99
12.3 ........................................................................ 100
12.4 ............................................... 100
12.5 ............................................................................. 101
12.6 .............................................. 101
12.7 ..................................................................................... 102
12.8 Ethernet ........................................................................... 103
12.9 / Ethernet ..................................... 103
13 VDSL ............................................................................... 105
13.1 VDSL .......................................................................... 105
13.2 Ethernet- VDSL ................................................................ 105
13.3 ........................................................................ 106
13.4 ............................................... 106
13.5 ............................................................................. 107
13.6 .............................................. 107
13.7 / - .................................................. 108
13.8 VDSL ................................................................................ 108
13.8.1 / VDSL.................................................... 108
13.8.2 // VDSL................................. 109

iii

SmartAX MA5300/5303
- 1

13.8.3 / VDSL .................................................................. 116


13.9 VDSL .......................................................................... 118
13.9.1 / VDSL.................................................... 118
13.9.2 // VDSL........................ 118
13.9.3 VDSL................................................................. 123
13.9.4 / VDSL .................................................................. 124
13.10 . VDSL ........................................................................ 124
13.11 . VDSL ........................................................... 125
13.11.1 / VDSL .................. 125
13.11.2 /
VDSL ......................................................................................................... 126
13.12 . VDSL ............................................... 127
13.13 . VDSL.............................................................................. 128
13.14 . VDSL................................................................. 133
13.15 . VDSL ............................................................................... 133
14 ADSL ............................................................................... 135
14.1 ................................................................................................................................ 135
14.2 ............................................................................. 135
14.3 .............. 136
14.4 / - .................................................. 136
14.5 (PVC) ADSL .............................. 137
14.5.1 PPPoA/IPoA.......................................................................... 137
14.5.2 PVC ADSL ................................. 139
14.5.3 PVC ADSL ........................ 140
14.6 CAR ADSL.................................................................................... 145
14.7 IP- ADSL.................................................................................. 146
14.8 ADSL ................................................................................... 146
14.8.1 / ADSL.................................................... 146
14.8.2 // ADSL................................. 147
14.8.3 / ADSL .................................................................. 159
14.9 ADSL ................................................... 160
14.9.1 // ADSL. 160
14.9.2 ADSL .......................................... 167
14.9.3 / ADSL .................................................................. 168
14.10 . ADSL.............................................................................. 169
14.11 . ADSL................................................................. 173
14.12 . ADSL ............................................................................... 173
15 ADSL2+.................................................................................... 175
15.1 ADSL2+ ........................................................................ 175
15.2 ADSL2+ ................................................................. 179
15.3 ADSL2+ ................................................................. 181

iv

SmartAX MA5300/5303
- 1

16 SHDSL............................................................................. 183
16.1 ................................................................................................................................ 183
16.2 ......................................................................... 183
16.3 .............................................. 184
16.4 / - .................................................. 184
16.5 (PVC) SHDSL............................ 186
16.6 CAR SHDSL ........................................................................................ 187
16.7 SHDSL IP-............................................ 189
16.8 SHDSL ................................................................................ 189
16.8.1 / SHDSL ................................................. 189
16.8.2 // SHDSL .............................. 190
16.8.3 / SHDSL................................................................ 195
16.9 SHDSL.................................. 197
16.9.1 / SHDSL ................................................. 197
16.9.2 // SHDSL197
16.9.3 SHDSL ....................................... 201
16.9.4 / SHDSL................................................................ 202
16.10 . SHDSL .................................................. 202
16.11 . SHDSL ........................................................................... 202
16.12 . SHDSL................................................................................. 205
17 VLAN........................................................................................... 207
17.1 ................................................................................................................................ 207
17.2 VLAN................................................................................................ 207
17.3 VLAN .......................................................................... 210
17.4 VLAN ........................................................................... 211
17.5 VLAN ....................................................................... 212
17.5.1 VLAN.............................................. 212
17.5.2 VLAN ......................... 217
18 VLAN ........................................................ 222
18.1 ................................................................................................................................ 222
18.2 / VLAN .............................................................................................. 222
18.3 / VLAN VLAN ........................................ 222
18.4 VLAN ................................. 223
18.5 VLAN................................. 224
18.6 VLAN ........................................................ 225
18.7 VLAN ............................................... 227
18.7.1 VLAN ( )......................................................... 227
18.7.2 VLAN ( ) ............................................ 229
19 MUX VLAN.................................................................................. 231
19.1 ................................................................................................................................ 231
19.2 / MUX VLAN............................................................................... 231

SmartAX MA5300/5303
- 1

19.3 MUX VLAN.............................................. 232


19.4 MUX VLAN ........................ 232
19.5 - MUX VLAN234
19.6 MUX VLAN ........................... 236
19.7 MUX VLAN ......................................................... 238
19.8 MUX VLAN .............................................................. 240
19.8.1 MUX VLAN ............................................................. 240
19.8.2 MUX VLAN ............................................................. 244
19.8.3 MUX VLAN........................................................ 249
20 STP.............................................................................................. 255
20.1 ................................................................................................................................ 255
20.2 RSTP ............................................................................................... 262
20.2.1 / RSTP ............................................................. 262
20.2.2 / RSTP .................................................................. 263
20.2.3 .................................................................................. 263
20.2.4 RSTP ..................................................................... 264
20.2.5 .................................................... 265
20.2.6 .. 265
20.2.7 Hello Time ................................ 266
20.2.8 (Max. Age) .... 267
20.2.9

............................................................................................................................ 267

20.2.10 .................... 268


20.2.11 ................................ 269
20.2.12 ................................................. 269
20.2.13 / ..... 270
20.2.14 mCheck .................................................................................................. 271
20.2.15 RSTP ......................................................... 271

vi

SmartAX MA5300/5303
- 1

(CLI) MA5300
( MA5300) : Telnet.
Telnet, Telnet.
:
;
;
Telnet.

1.1

HyperTerminal, Windows 9x, Windows


2000 Windows NT.
, .
1) ( ESM) MA5300, RS-232.
.. 1-1.
MA5300

RS- 232

PC

. 1-1

SmartAX MA5300/5303
- 1

2) [Start/Programs/Accessories/ Communication/HyperTerminal] HyperTerminal .


. . 1-2.

. 1-2

,
MA5300 (,
2).
3) COM2
<OK>. ,
9600 / , 8 , 1 , .
.
9600 /.
C. . 1-3.

SmartAX MA5300/5303
- 1

. 1-3

4) HyperTerminal, <OK>.

. 1-4 HyperTerminal

SmartAX MA5300/5303
- 1

5) HyperTerminal [File/Properties],
[Settings], VT100 Auto Detection , . 1-5.

. 1-5

6) [ASCCII Setup] ASCII.


.. 1-6.

SmartAX MA5300/5303
- 1

. 1-6 ASCII


HyperTerminal: Character delay , Line delay .
.
, .

(
, root, admin), , (, MA5300>).
, ,
[Hang-up], [Dial], <Enter>.
, , .
, . , , ?.

SmartAX MA5300/5303
- 1

1.2

MA5300 , . MA5300, , , . , , , .
. 1-7 , .

MODEM

MA5300

PSTN

COM

MODEM
PC
. 1-7

1.3

Telnet
I.



Telnet MA5300 ( ETH) ( Fast Ethernet/Gigabit Ethernet (FE/GE) ADSL/VDSL).
Telnet ETH IP- ETH MA500.
, , MA500 Telnet, LAN ( ) WAN ( ).
Telnet , IP- VLAN ( LAN)
6

SmartAX MA5300/5303
- 1

. ,
, Telnet MA5300
LAN WAN.
, MA5300
IP- ping. , .
.

II.
1) .
,
MA5300 LAN.
. . 1-8.
MA5300

ETH/FE/GE

LAN

,


LAN -

PC

. 1-8 LAN

2) .
, MA5300 WAN.
.. 1-9.

SmartAX MA5300/5303
- 1

LAN

WAN

PC

MA5300

WAN

ETH/FE/GE

. 1-9 WAN

III. Telnet
Windows 98.
1) Telnet [Start/Run].
. . 1-10.

. 1-10 Telnet

1)

nal/Preferences], . 1-11.

Telnet

[Termi-

SmartAX MA5300/5303
- 1

. 1-11 Telnet

2) Telnet [Connection/Remote system], [Connect] IP- MA5300


Telnet- MA5300.
. . 1-12.

. 1-12 Telnet- MA5300

IV.
, :
User Access Verification (= )
Username:root
Password:

: root admin.

V. /
.
?.
.

SmartAX MA5300/5303
- 1

1.4

Telnet

1.4.1 Telnet

I.


. 1-13 Telnet .
Upstream
0#

7#

0#

7#

13#

ETH

E
A
D

E
M

SS
M
M
BB

S
M
X

HAB

MA5300

HRB

MA5200

Upstream .
. 1-13 Telnet

1) ETH ESM MA5300


0 HAB MA5200 ;
2) IP- MA5300: 10.10.20.1 255.255.255.0;
3) IP- Telnet: 10.10.21.1 255.255.255.0;
4) IP- (VT) MA5200:
10.10.20.254/24;
5) IP- HRB MA5200: 10.10.40.1/30.

II.
1) IP- .
MA5300(config)#interface m-ethernet7/0/1
MA5300(config-ifMEthernet7/0/1)#ip address
{ A.B.C.D<I><A.B.C.D> }:10.10.20.1
{ A.B.C.D<I><A.B.C.D> }:255.255.255.0
{ <cr>|secondary<K> }:

2) .
MA5300(config)#ip route
{ A.B.C.D<I><A.B.C.D> }:0.0.0.0
{ A.B.C.D<I><A.B.C.D>|INTEGER<U><0,32> }:0.0.0.0
{ NULL<K>|Vlaninterface<K>|A.B.C.D<I><A.B.C.D> }:10.10.20.254
{ <cr>|preference<K>|reject<K>|blackhole<K> }:

10

SmartAX MA5300/5303
- 1

3) .
: root admin.
Telnet ;
.
MA5300#terminal user name
User Name(<=16 chars): huawei
User Password(<=16 chars):
Confirm Password(<=16 chars):
User's Level(13).
1. Common User(1)

2. Operator(10)

3. Administrator(15):2

Permitted Reenter Number(04):2


User's Appended Info(<=50 chars): 07558008302118
User's callback dialstring(<=32 chars):
Callbackverify?[Y|N]n
This user has been added
Repeat this operation? [Y|N]n

//

.
4) .
MA5300(config)#write

MA5300 . MA5300
Telnet, MA5300 Telnet.

1.4.2

Telnet
I.


. 1-14 Telnet .

E
A
D

0#

7#

0#

E
S
M
M
E7/2 /0

7#

13#

S
S
M
M
BB

M
X

HAB
MA 5300

HRB
MA 5200

. 1-14 Telnet

11

SmartAX MA5300/5303
- 1

1) ETH ESM MA5300


0 HAB MA5200 . VLAN = 4000;
2) IP-

MA5300

10.10.20.1/24.

VLAN = 1000;
3) IP- Telnet: 10.10.21.1/24 ( );
4) IP- (VT) MA5200:
10.10.20.254/24;
5) IP- HRB MA5200: 10.10.40.1/30.

II.
1) IP- .
VLAN.
MA5300(config)#vlan 1000
MA5300(configvlan1000)#exit

VLAN.
MA5300(config)#interface vlan-interface 1000

IP- VLAN.
MA5300(configifVlaninterface1000)#ip address 10.10.20.1 255.255.255.0

(ACL) IP-.
ACL.
MA5300(config)#access-list 200 deny ingress 1000 egress any

//

VLAN 1000.
MA5300(config)#access-list 1 permit 10.10.21.0 0.0.0.255

//

IP-.
MA5300(config)#access-list 201 permit ingress 1000 egress any// VLAN 1000.

ACL.
MA5300(config)#interface ethernet 7/2/0
MA5300(configifEthernet7/2/0)#access-group

link-group

200

in

200)// Deny the traffic flow of VLAN 1000 (


VLAN 1000).
MA5300(configifEthernet7/2/0)#access-group

ip-group

link-group

201

in// Permit the traffic flow of the specified IP address in VLAN 1000
( IP- VLAN 1000).

.
MA5300(config)#ip route
{ A.B.C.D<I><A.B.C.D> }:0.0.0.0
{ A.B.C.D<I><A.B.C.D>|INTEGER<U><0,32> }:0.0.0.0
{ NULL<K>|Vlaninterface<K>|A.B.C.D<I><A.B.C.D> }:10.10.20.254
{ <cr>|preference<K>|reject<K>|blackhole<K> }:

VLAN .

12

SmartAX MA5300/5303
- 1

VLAN 4000.
MA5300(config)#vlan 4000
MA5300(configvlan4000)#vlan-type smart

Ethernet 7/2/0 VLAN .


MA5300(configvlan4000)#vlan-upport ethernet 7/2/0
MA5300(configvlan4000)#exit

Ethernet 7/2/0 VLAN 1000.


MA5300(config)#interface ethernet 7/2/0
MA5300(configifEthernet7/2/0)#switchport mode trunk
MA5300(configifEthernet7/2/0)#switchport trunk allowed vlan 1000
Please wait... Done.

.
: root admin.
Telnet ;
.
MA5300#terminal user name
User Name(<=16 chars): huawei
User Password(<=16 chars):
Confirm Password(<=16 chars):
User's Level(13).
1. Common User(1)

2. Operator(10)

3. Administrator(15):2

Permitted Reenter Number(04):2


User's Appended Info(<=50 chars): 07558008302118
User's callback dial string (<=32 chars):
Callbackverify? ( ?)[Y|N]n
This user has been added
Repeat

this

operation?

?)

[Y|N]n

//Select Y to add more users. the system will prompt you to enter another user name. ( Y.
).

.
MA5300(config)#write

MA5300 . MA5300
Telnet, MA5300 Telnet.

13

SmartAX MA5300/5303
- 1

2
, MA5300; :
;
;
;
;
;
;
;
;
;
;
;
CPU;
;
.

2.1


, MA5300 CLI.


. .

2.1.1


1) .
, . , . , enable
en ena.
2) .

14

SmartAX MA5300/5303
- 1

,
- . , ; . , . , ,
.
, , . , .

2.1.2


CLI .
256 . HyperTerminal Telnet.
HyperTerminal - ,
. . 2-1.
. 2-1

, , .

<BackSpace>


. ,
.

<Delete>

, .

-
<Ctrl+A>

-
<Ctrl+D>

-
/

. ( , /,
<Ctrl+P> <Ctrl+N>

).

<Ctrl+U>

<Ctrl+K>

<Ctrl+F>

<Ctrl+B>

<ESCAPE>

15

SmartAX MA5300/5303
- 1

2.1.3


, ,
( ).
, . 2-2.
. 2-2

<Ctrl+C>

<Enter>

CLI DOS, . , , CLI .


CLI 10 .

2.1.4


, . , . . 2-3 .
. 2-3

Unrecognized
command
(= )

Incomplete
command
(= )

Too
many
(=
)

parameters

Ambiguous
command
(= )

16

SmartAX MA5300/5303
- 1

2.1.5


MA5300 :
;
;
;
;
.
. ; .
CLI MA5300, , . , ,
.
. 2-1
MA5300.

MA 5300>

MA 5300 #

MA5300 (config-if-

VLAN

MA5300 ( config-if- ...) #


VLAN

vlan

MA5300 ( config-vlan...)#

MA5300( config- line...)#

MA5300 ( config) #


- ...)#
MA5300 ( config-board

MA5300(config-...)#

. 2-1

. 2-4 .

17

SmartAX MA5300/5303
- 1

. 2-4

5300>

5300#

MA5300>enable

MA5300(config)#

MA5300#config
nal

Fast
Ethernet (FE)

FE

MA5300(config-ifethernet7/1/0)#

MA5300(config)# interface
ethernet
slot/subslot/port


Ethernet (GE)

GE

MA5300(config-ifgigabitethernet-7/1/0)#

MA5300(config)# interface
gigabit-ethernet
slot/subslot/port

VDSL

VDSL

MA5300
vdsl2/0/0)#

(config-if-

MA5300(config)# interface
vdsl
slot/subslot/port

ADSL

ADSL

MA5300
adsl2/0/0)#

(config-if-

VLAN

IP VLAN VLAN

MA5300(config-if-vlaninterface1)#

MA5300(config)#interfa
ce vlan-interface 1

VLAN

VLAN

MA5300 (config-vlan1)#

MA5300(config)#vlan 1

MA5300 (config-line0)#

MA5300(config)#line 0

termi-

MA5300(config)# interface
adsl
slot/subslot/port


1) , exit;
, end; , disable.
2) , MA5300.
hostname.
.

2.2

Online-
CLI .

18

SmartAX MA5300/5303
- 1

help.
MA5300>help

'?'.
.
:
1) , (, "show ?"), ;
2) ,
, (,
"show 1?").
? - , .
:
5300>?
-------------------------------------------------------------------Command Of user Mode:
-------------------------------------------------------------------clear

Reset functions.

cls

Clear screen.

debug[2]

debug command group, 2 sub-command.

enable

Turn on privilege mode commands.

exit

Exit from current mode and enter prior mode.

help

Description of the interactive help system.

lock

Lock the terminal.

no

Negate a command or set its defaults.

ping[11]

ping command group, 11 sub-command.

send[3]

send command group, 3 sub-command.

show[13]

show command group, 13 sub-command.

system

Show used percent of memory.

telnet

Open a telnet connection.

tracert[8]

tracert command group,8 sub-command.

? - .
:
MA5300>s?
-------------------------------------------------------------------Command Of user Mode:

19

SmartAX MA5300/5303
- 1

-------------------------------------------------------------------send[3]

send command group,3 sub-command.

show[13]

show command group,13 sub-command.

system

Show used percent of memory.

? - .
:
MA5300>show ?
-------------------------------------------------------------------Command Of user Mode:
--------------------------------------------------------------------

2.3

alarm[4]

alarm command group, 4 sub-command.

board

Show information of board.

cpu

Show used percent of cpu.

history

Display the session history command.

infolevel[4]

infolevel command group, 4 sub-command.

infoswitch[4]

infoswitch command group,4 sub-command.

language

Show language version information.

line[3]

line command group, 3 sub-command.

loghost

Show the configuration list of the log server.

patch[2]

patch command group, 2 sub-command.

terminal[2]

terminal command group, 2 sub-command.

time

Show system time.

version

Show version.


smart
, no smart ,
. .
, <Enter>
. ,
. - ; , <Enter>, .
MA5300#smart

// .

MA5300#config
{ terminal<K> }:

//

20

SmartAX MA5300/5303
- 1

, , <Enter>, .
, <Enter>

. , .
MA5300#no smart

//

MA5300#config
^
% Incomplete command, and error detected at '^' marker.
//

, , <Enter>, .

2.4


MA5300 . , ,
.
. . load language.

show language.
MA5300>show language
Local:
Description: CHINESE SIMPLIFIED
Version:

V100R002B03D020

General:
Description: ENGLISH
Version:

V100R002B03D020

, terminal
language. .
MA5300>terminal language
The current language has been switched over

2.5


show
time.
; time. -

21

SmartAX MA5300/5303
- 1

. hh:mm:ss yyyy-mm-dd (::,


--).
.
MA5300#time 11:06:39 2003-12-17
MA5300>show time

2.6

Date:

2003-12-17

Time:

11:06:40


MA5300,
( ) hostname.
. . - MA5300.
MA5300(config)#hostname MA5300A
MA5300A(config)#

2.7


.
(ANSI) VT. ,
, .
MA5300 . VT100 ANSI. ,
- ANSI.
1) , terminal type {ansi | vt100}.
MA5300#terminal type vt100.
2) , show terminal type.
MA5300#show terminal type
The terminal type: VT100


,
(HyperTerminal, Telnet neterm), -
,
.

22

SmartAX MA5300/5303
- 1

2.8


exec-timeout.
, .
, .
no exec-timeout. ,
,
, , 120 , .
MA5300(config-line0)#exec-timeout 5 0

1) .
, length.
24 . length 0.
MA5300(config-line0)#length 12

2.9


cls.
; . , ,
.
MA5300>cls

2.10

show version. ,
.
MA5300>show version
MA5300(config)#show version
{ <cr>|frameid[/slotid]<S><1,5> }:
Huawei Versatile Routing Platform Software.
VRP (tm) Software, Version V3R000M03
Copyright (c) 2000-2002 HUAWEI TECH CO., LTD

23

SmartAX MA5300/5303
- 1

2.11
show history.
, . .
history size. , 10 .
MA5300(config-line0)#history size 5

MA5300>show history
MA5300(config-line0)#history size 5
history size 5.
Exit.
configure terminal.

2.12 CPU
CPU , show
cpu. CPU , .
MA5300>show cpu 0/7
CPU occupancy:

12%.

2.13
. :
, ,
; . - ping tracert.

I.

ping

ping.
MA5300#ping 10.11.106.133
PING 10.11.106.133: 56

data bytes, press CTRL_C to break

Reply from 10.11.106.133: bytes=56 Sequence=0 ttl=125 time = 6 ms


Reply from 10.11.106.133: bytes=56 Sequence=1 ttl=125 time = 6 ms
Reply from 10.11.106.133: bytes=56 Sequence=2 ttl=125 time = 6 ms
Reply from 10.11.106.133: bytes=56 Sequence=3 ttl=125 time = 6 ms
Reply from 10.11.106.133: bytes=56 Sequence=4 ttl=125 time = 6 ms
--- 10.11.106.133 Ping statistics ---

24

SmartAX MA5300/5303
- 1

5 packets transmitted
5 packets received
0.00% packet loss.
round-trip min/avg/max = 6/6/6 ms

II. tracert
, ,
, tracert.
.
TTL
( ), 1. ( ),
ICMP ( Internet)
TTL.
, TTL, 2.
TTL.
, ,
. TTL, , IP
.
MA5300#tracert 10.11.106.133
traceroute to 10.11.106.133 max hops 30 ,packet 40 bytes
press CTRL_C to break
1

253 ms

476 ms

508 ms

10.11.120.62

Request timed out

Request timed out

4 ms

4 ms

5 ms

10.11.106.133

25

SmartAX MA5300/5303
1

3
3.1



MA5300.
, ,
. : , , , .
1) .
, , 1-15 (, ). , .
2) .
1-15 . , . .
, , ,
line terminal.
3) .
.

MA5300 , .
0 4. 0 ,
MA5300. 1.
, : () . ,
.
4) .
: , .
, cls;
, , ;
26

SmartAX MA5300/5303
1

. - . , , .

,
. ,
.

(User mode), , .
, .
5) .
.
( ), .
35 .
:
/ ;
;
.
.

3.2

/ .

3.2.1


, .
.

3.2.2

.
"root", - "admin".
terminal
user name, no terminal user name.
, , , , .

27

SmartAX MA5300/5303
1


1) ;
2) ;
3) root ,
;
4) ( 126).

, Huawei. = 2. - : 555-0988.
MA5300#terminal user name
User Name(<=16 chars): huawei
User Password(<=16 chars)
Confirm Password(<=16 chars)
User's Level(13)
1. Common User(1) 2.

Operator(10)

3.

Administrator(15):1

Permitted Reenter Number(04):2


User Name(<=50 chars): huawei
User's call-back dialstring(<=32 chars):
Callback-verify?[Y|N]n
This user has been added
Repeat this operation?

[Y|N]n

, show terminal user.


MA5300#show terminal user huawei
User name:

huawei

User's Level:

User

User's ReEnterNum:

User's Appended Info:

555-0988

User's Callback-dialstring:
none
Callback-Verify:

No

Line:
Idle Time:

Location:

3.2.3


, ,

28

SmartAX MA5300/5303
1

- no terminal user name.


.


1) ;
2) root ;
3) ; ;
4) .

, .
MA5300#no terminal user name
User Name(<=15 chars): huawei
This user has been added
Repeat this operation?

3.3

[y|n]n

.
MA5300 ,
, , .

I.


terminal user level.
.
,
(huawei) .
MA5300#terminal user level
User Name(<=16 chars): huawei
1. Common User(1) 2.

Operator(10)

3.

Administra-

tor(15):
User's Level(13).2
Confirm Level(13): 2
Information will take effect when this user logs on next time
Repeat this operation?

[Y|N]n

II.
terminal user password. (
), .
29

SmartAX MA5300/5303
1

;
.
MA5300#terminal user password
User Name(<=16 chars): huawei
User Password(<=16 chars)
Confirm Password(<=16 chars):
Information will take effect when this user logs on next time
Repeat this operation?

[Y|N]n

III.
terminal user reenter. .
MA5300#terminal user name
User Name(<=16 chars): huawei
Permitted Reenter Number(04):3
Confirm Reenter Number(04):3
Information will take effect when this user logs on next time
Repeat this operation?

[Y|N]n

IV.
terminal
user apdinfo.
. .
MA5300#terminal user apdinfo
User Name(<=16 chars): huawei
User's Appended Info(<=50 chars):support@huawei.com
The user's attribute is set successfully!
Repeat this operation?

[Y|N]n

V.
terminal
user callback. ,
.
MA5300#terminal user callback
User Name(<=16 chars): huawei
User's call-back dialstring(<=32 chars): 26530880
Callback-verify?[Y|N]n

[Y|N]n

The user's attribute is set successfully!


Repeat this operation?

[Y|N]n

30

SmartAX MA5300/5303
1

3.4

.
, ,
,
show terminal user.
1) , .
MA5300#show terminal user all

User name

Level

Line

Idle Time

Location

root

Admin

0 AUX 0

huawei

Operator

0
0

2) ,
.
MA5300#show terminal user online

User name

Level

Line

Idle Time

Location

root

Admin

0 AUX 0

3) , "Huawei.
MA5300#show terminal user huawei
User name:

huawei

User's Level:

Operator

User's ReEnterNum:

User's Appended Info:

support@huawei.com

User's Callback-dialstring: 26530880


Callback-Verify:

No

Line:
Idle Time:

Location:


show terminal user , () .

31

SmartAX MA5300/5303
- 1

4
4.1

I.

- ,
.
. , MA5300 .
MA5300 :
(AUX).
.
. RS-232
.
(VTY).
, Telnet. VTY.


MA5300, AUX .
: AUX VTY.

II.
: .
:
AUX , line0, line1.
(VTY). , line2, line3, ..
: + . :
AUX: aux0;
: VTY0, VTY1, ..

32

SmartAX MA5300/5303
- 1

III.
:
;
;
HyperTerminal;
.

4.2


line.
.
( ) .
, AUX , :
MA5300(config)#line aux 0
MA5300(config-line-aux0)#

:
MA5300(config)#line 0
MA5300(config-line0)#

VTY , :
MA5300(config)#line vty 0 3
MA5300(config-line-vty0-3)#

:
MA5300(config)#line 1 3
MA5300(config-line1-3)#

4.3


. .

I.


speed.
: 300 /, 600 /, 1200 /, 4800 /,
9600 /, 19200 /, 38400 /, 57600 /,115200 /.
9600 /.
MA5300(config-line-aux0)#speed 9600

33

SmartAX MA5300/5303
- 1

II.

flowcontrol ( ). MA5300 .
, (none).
MA5300(config-line-aux0)#flowcontrol none

III.
parity.
(none), .. .
MA5300(config-line-aux0)#parity none

IV.
stopbits. "1".
MA5300(config-line-aux0)#stopbits 1

V.
databits.
"8".
MA5300(config-line-aux0)#databits 8

4.4

HyperTerminal
I.

EXEC
EXEC exec.

Telnet. , EXEC .
no exec EXEC . , AUX , AUX no exec . , AUX.
:
1) no exec .
MA5300(config-line-aux0)#no exec
Not support this command on AUX!

2) no exec 1.

34

SmartAX MA5300/5303
- 1

MA5300(config-line1)#no exec

3) Telnet , :
%Connection refused by remote host.

II. /
,
lockable. , ,
lock. , .

.
(lockable), .
. (disabled).
, , :
MA5300(config)#line aux 0
MA5300(config-line-aux0)#lockable
MA5300(config-line-aux0)#exit
MA5300(config)#lock
Password:
Again:
Locked !

Password:
MA5300(config)#

III. /
exectimeout. - , .
, - . , no exec-timeout
.
, - ,
, (
) 120 .
MA5300(config-line0)# exec-timeout 5 0

35

SmartAX MA5300/5303
- 1

IV.
, . 24 . no length , length 0 .
MA5300(config-line0)#length 12

V.
, , history size. , 10 .
MA5300(config-line0)#history size 5

4.5


/, show line.
1) .
MA5300(config)#show line
Tty Typ

Tx/Rx

Modem

Roty AccO AccI

Uses

Noise

Overruns
I

AUX 0

9600

VTY 0

VTY 1

VTY 2

VTY 3

2) 0.
MA5300(config)#show line 0
Tty Typ

Tx/Rx

Modem

runs
I

AUX 0

9600

36

Roty AccO AccI

Uses

Noise

Over-

SmartAX MA5300/5303
1

5
5.1


I.


MA5300 , :
Ethernet ( ESM): ESMA
ESME, 7 8;
( ISU): ISUA ISUE,
15;
: EADA, EADB, EVDA, EVDB, ESHA, BTS, EIU; 0 6 9 15.
(EVD Ethernet VDSL,
EAD - Ethernet ADSL).

II.
:
;
;
;
;
;
.

5.2


show board.
, , , .
,
, ,
, .
:
1) .
MA5300#show board 0
--------------------------------------------------------------SlotID

BoardName Status

SubType1

SubType2

---------------------------------------------------------------

37

SmartAX MA5300/5303
1
0

EVDA

Auto_find

EVDA

Auto_find

EVDA

Auto_find

EADA

Auto_find

ESMA

Normal

3
4
5
6
7

E4FE

E4FE

8
9
10
11
12
13
14
15

2) 2- :
MA5300#show board 0/2
--------------------------------------------------------------Board auto_find
Board Name

: EVDA

Board state

: Auto_find

The board has no port configured


---------------------------------------------------------------

, , , . . 5-1
.
. 5-1

Comm Fail

. .

Comm OK

. .

Normal

. .

Failed

. .

Active Normal
()

ESM.

38

SmartAX MA5300/5303
1

Standby-Normal
()

ESM.

Configuring

. ( ) .

Auto_find

. , ,
, .

. 5-2 (ESMA/ESME
ISUA/ISUE).
. 5-2 , MA5300

E4FA

4FE

ESMA/ESME

E4FB

4FE

ISUA/ESME

O1FAB


1FE

ESMA/ESME

O1FAF


1FE

O2FAB


2FE

O2FAF


2FE

O4FAB


4FE

O4FAF


4FE

O4FBB


4FE

O4FBF


4FE

O2GAA


2GE

ESMA/ESME,
ISUA/ESME

O2GAE


2GE

ESMA/ESME,
ISUA/ESME

O1GAA


1GE

ESMA/ESME,
ISUA/ESME

O1GAE


1GE

ESMA/ESME,
ISUA/ESME

O1GAG


1GE

ESMA/ESME,
ISUA/ESME

O2GAX

/
1GE

ESMA/ESME,
ISUA/ESME

39

ESMA/ESME
ESMA/ESME
ESMA/ESME
ESMA/ESME
ESMA/ESME
ISUA/ESME
ISUA/ESME

SmartAX MA5300/5303
1

5.3


MA5300 .
( ),
board add
, .
. .
.

I.


;
. , , show
board.

II.
, board add. 0 6 9 15.
.
MA5300(config)#board add 0/4 evda
! 1[2002-12-18 05:50:54]:ALM-3-AlarmInfo:

ALARM 113 FAULT MAJOR 0x02310000 EQUIPMENT 2002-12-18 05:50:54


ALARM NAME:
PARAS INFO:
DESCRIPTION:
REASON:
ADVICE:
--- END
MA5300(config)#
Frame 0 slot 4 board add successfully

, , ESM .


1) ESPA , . . (ESP Ethernet);

40

SmartAX MA5300/5303
1

2) ( ESPA), . ESPA ;
3) ESPA EVDA EADA.

III.
,
show board. .
.

5.4


MA5300 . . , , board confirm frame/slot. board confirm frame.
.
,
:
MA5300(config)#board confirm 0
0 frame 0 slot board confirm successfully
0 frame 2 slot board confirm successfully
0 frame 9 slot board confirm successfully
0 frame 10 slot board confirm successfully
0 frame 15 slot board confirm successfully

MA5300(config)#board confirm 0/12
0 frame 12 slot board confirm successfully

5.5


, , . .
.

I.


, board delete. , .
41

SmartAX MA5300/5303
1


1) ESM ;
2) , . ,
, , .

MA5300(config)#board confirm 0/2


are you sure to delete this board?

(y/n)[n]:y

Board delete successfully

II.
show
board. .

5.6


, board reset . .
board reset, ESM
, . ,
ESM. ESN ,
.
MA5300(config)#board confirm 0/1
are you sure to reset board?

(y/n)[n]:y

0 frame 1 slot board confirm successfully


board reset ESM ESPA.
ESM reboot.

MA5300(config)#board confirm 0/7


Are you sure to reset board?

(y/n)[n]:y

Fail to reset board

42

SmartAX MA5300/5303
1

5.7


ESM reboot. , , .
MA5300(config)#reboot
Data is not saved, the unsaved data will lose if reboot system, are you
sure to reboot system?

(y/n)[n]:y


1) , write
;
2) , . ;
.

43

SmartAX MA5300/5303
1

6
MAC-

6 MAC-
6.1


MA5300 . , MA5300.
, , MA5300
. , MA5300 2-
( ) , , 3- .
MA5300 .
, MA5300 ID
, .
.
.
MA5300 . MA5300
, .
:
// ;
MAC-;
/ .

6.2

//
, , , .
mac-address-table { static | permenant | blackhole | dynamic }
( ), , no mac-address-table { static | permenant | blackhole | dynamic }
( , ( ).
, , , ,
, ( :
, , ).
44

SmartAX MA5300/5303
1

6
MAC-

MA5300 blackhole () permanent


(), .
, 0800.4e35.dc71
e7/2/1.
MA5300(config)#mac-address-table

static

0800.4e35.dc71

interface

e7/2/1

vlan 1

6.3 MAC.

.
, , ,
, .
, . , , ,
( ) ,
.
, , .
,
. , (
).
, - .
, mac-address-table { aging-time age | table-full }.
, no macaddress-table aging-time.
,
, , .
300.
, 300.
MA5300(config)#mac-address-table aging-time 300

45

SmartAX MA5300/5303
1

6.4

6
MAC-

/ .
MA5300 . MA5300 ,
, . . , - , - ,
.
.

mac-address-table mac-learning disable; no mac-address-table mac-learning disable.
, .
, .
1) .
MA5300(config)#no mac-address-table mac-learning disable

2) vdsl4/0/0.
MA5300(config-if-Vdsl4/0/0)#mac-address-table mac-learning disable

6.5


show mac-address-table
.
1) (/ ).
MA5300(config)#show mac-address-table mac-learning
mac-address learning status of the switch: enable
PortName

Learning Status

Vdsl4/0/0

disable

Vdsl4/0/1

enable

Vdsl4/0/2

enable

Vdsl4/0/3

enable

Vdsl4/0/4

enable

Vdsl4/0/5

enable

Vdsl4/0/6

enable

Vdsl4/0/7

enable

Vdsl4/0/8

enable

Vdsl4/0/9

enable

Vdsl4/0/10

enable

46

SmartAX MA5300/5303
1
Vdsl4/0/11

enable

Vdsl4/0/12

enable

Vdsl4/0/13

enable

Vdsl4/0/14

enable

Vdsl4/0/15

enable

Vdsl4/0/16

enable

Vdsl4/0/17

enable

Vdsl4/0/18

enable

Vdsl4/0/19

enable

Vdsl4/0/20

enable

Vdsl4/0/21

enable

Vdsl4/0/22

enable

Vdsl4/0/23

enable

Ethernet7/2/0

enable

Ethernet7/2/1

enable

Ethernet7/2/2

enable

Ethernet7/2/3

enable

GigabitEthernet7/1/5

enable

6
MAC-

2) .
MA5300(config)#show mac-address-table aging-time
mac-address-table aging-time: 300s

3) MAC .
MAC- VLAN.
MA5300(config)#show mac-address-table vlan 1
MAC ADDR

VLAN ID

STATE

PORT INDEX

AGING TIME

0020.ed2b.8c27

Learned

Ethernet7/2/0

N/A

0800.4e35.dc71

Config static

Ethernet7/2/1

NOAGED

---

2 mac address(es) found

---

MAC- .
MA5300(config)#show mac-address-table interface e7/2/1
MAC ADDR
0800.4e35.dc71
---

VLAN ID
1

STATE

PORT INDEX

Config static

Ethernet7/2/1

1 mac address(es) found

AGING TIME
NOAGED

---

MAC-.
MA5300(config)#show mac-address-table 0800.4e35.dc71
MAC ADDR
0800.4e35.dc71

VLAN ID
1

STATE

PORT INDEX

Config static

Ethernet7/2/1

AGING TIME
NOAGED

MAC-.
MA5300(config)#show mac-address-table static
This may take several minutes, please wait...
MAC ADDR
0800.4e35.dc71

VLAN ID
1

STATE

PORT INDEX

Config static

Ethernet7/2/1

47

AGING TIME
NOAGED

SmartAX MA5300/5303
1
---

1 mac address(es) found

6
MAC-

---

MAC-.
MA5300(config)#show mac-address-table dynamic
This may take several minutes, please wait...
MAC ADDR
0020.ed2b.8c27
---

VLAN ID
1

STATE

PORT INDEX

Learned

Ethernet7/2/0

1 mac address(es) found

---

48

AGING TIME
N/A

SmartAX MA5300/5303
1

7
ARP

7 ARP
7.1

(ARP) IP MAC .

I.

ARP
IP ,
MAC . IP .

. IP
MAC .

II. ARP
Ethernet , MAC . ARP
IP MAC . ARP IP MAC .
, ARP . , ARP
, ,
ARP .
Ethernet: . IP - IP_A IP_B. :
ARP , ,
ARP IP_B;
MAC , IP MAC
;
, , ARP , ARP Ethernet. ARP IP
IP MAC ;
ARP , Ethernet . , ( )
;

49

SmartAX MA5300/5303
1

7
ARP

IP MAC
( ), ,
ARP ;
ARP, MAC .
;
, IP MAC
ARP .
, ;
ARP . IP
;

ARP.

7.2

ARP
.
IP MAC ,
ARP.
ARP :
/ ARP ;
ARP.

I.

/ ARP
ARP .
arp, /
ARP.
MA5300, ARP 20 .
MA5300(config)#arp 10.71.53.11 0800.4e35.dc71 1 ethernet7/2/1

II. ARP
show arp ARP , ARP
.
ARP.
MA5300(config)#show arp
IP Address
10.71.53.11

MAC Address

VLAN ID

0800.4e35.dc71

Static

50

Port Name
1

Type
Ethernet7/2/1

SmartAX MA5300/5303
1
10.71.53.108

0020.ed2b.8c27

7
ARP

Ethernet7/2/0

Dy-

namic

ARP.
MA5300(config)#show arp static
IP Address
10.71.53.11

MAC Address

VLAN ID

0800.4e35.dc71

Port Name
1

Type
Ethernet7/2/1

Static

ARP.
MA5300(config)#show arp dynamic
IP Address

MAC Address

VLAN ID

10.71.53.108

0020.ed2b.8c27

Port Name
Ethernet7/2/0

Type
Dy-

namic

ARP IP .
MA5300(config)#show arp 10.71.53.108
IP Address

MAC Address

VLAN ID

10.71.53.108

0020.ed2b.8c27

namic

51

Port Name
Ethernet7/2/0

Type
Dy-

SmartAX MA5300/5303
1

MA5300 , .
NMS NM, (ISDN),
(DDN) E1. NMS
(LAN), (WAN), DDN.
,
.

. , , .
,
. .
. , ,
, .

8.1

NMS
MA5300 NMS ( ETH ) . , 1
" ".
.

:
IP ;
NMS ;
SNMP ( ).

52

SmartAX MA5300/5303
1

8.1.1

IP
IP .

I.

IP
IP , ip
address. IP , . IP .
IP
, IP
(10.11.18.1/255.255.0.0).
MA5300(config)#interface m-ethernet7/0/1
MA5300(config-if-M-Ethernet7/0/1)#ip address
{ A.B.C.D<I><A.B.C.D> }:10.71.53.2
{ A.B.C.D<I><A.B.C.D> }:255.255.255.0
{ <cr>|secondary<K> }:


, IP , IP , 10.11.18.1/255.255.0.0.

II. IP
IP , show ip interface.
MA5300(config-if-M-Ethernet7/0/1)#show ip interface m-ethernet 7/0/1
M-Ethernet7/0/1 is down, line protocol is down
Internet Address is 10.71.53.2/24
Broadcast Address is 10.71.53.255
The Maximum Transmit Unit is 1500
5 packets input,707 bytes,0 multicasts
0 packets output,0 bytes,0 multicasts

8.1.2

NMS
:
;
/ ;

53

SmartAX MA5300/5303
1

.
.
1) .
, IP NM ,
MA5300, IP
. IP
.
IP .
2) / .
atmlan ip-route.
no atmlan ip-route.
200 .
.
MA5300(config)#ip route
{ A.B.C.D<I><A.B.C.D> }:10.70.53.0
{ A.B.C.D<I><A.B.C.D>|INTEGER<U><0,32> }:255.255.255.0
{ NULL<K>|Vlan-interface<K>|A.B.C.D<I><A.B.C.D> }:10.71.53.1
{ <cr>|preference<K>|reject<K>|blackhole<K> }:

I.


show ip-route.
IP . .
MA5300(config)#show ip route
Routing Tables

8.2

Destination/Mask

Proto

Pre Metric

Nexthop

Interface

10.70.53.0/24

STATIC

60

10.71.53.1

M-Ethernet7/0/1

10.71.53.0/24

DIRECT

10.71.53.2

M-Ethernet7/0/1

10.71.53.2/32

DIRECT

127.0.0.1

InLoopBack0

127.0.0.0/8

DIRECT

127.0.0.1

InLoopBack0

127.0.0.1/32

DIRECT

127.0.0.1

InLoopBack0

NMS
NMS LAN NM, , .
NMS. MA5300 NMS FE/GE ESM.
NMS :

54

SmartAX MA5300/5303
1

IP NMS;
NMS;
IP MA5300;
SNMP.

8.2.1

IP NMS
:
VLAN NM;
IP VLAN;
IP VLAN;
VLAN NM .

1) VLAN NM.
VLAN NM vlan.
MA5300(config)#vlan 1000

I.

IP VLAN
IP VLAN
MA5300 ip address. IP
.
MA5300(config)#interface vlan 1000
MA5300(config-if-Vlan-interface1000)#ip address 10.71.53.2
{ A.B.C.D<I><A.B.C.D> }:255.255.255.0
{ <cr> }:

1) IP VLAN.
IP VLAN
show ip interface.
IP VLAN
show vlan.
MA5300(config-if-Vlan-interface1000)#show ip interface vlan 1000
Vlan-interface1000 is down, line protocol is down
Internet Address is 10.71.53.2/24
Broadcast Address is 10.71.53.255
The Maximum Transmit Unit is 1500
41 packets input,3318 bytes,0 multicasts
20

packets

output,1680

bytes,0

interface1000)#show vlan 1000


Vlan ID: 1000
Vlan Type: static

55

multicasts

MA5300(config-if-Vlan-

SmartAX MA5300/5303
1

Route Interface: configured


IP Address: 10.71.53.2
Subnet Mask: 255.255.255.0
Tagged

Ports: none

Untagged Ports: none

2) VLAN NM .
VLAN NM IP ,
VLAN NM . ,
VLAN, VLAN NM.
MA5300(config-if-Ethernet7/2/0)#switchport mode trunk
MA5300(config-if-Ethernet7/2/0)#switchport trunk allowed vlan 1000
Please wait.. Done.

8.2.2

NMS
IP, / IP .
8.1.2 "
NMS ".

8.2.3

IP ,
MA5300
, MA5300 . , , ,
MA5300, .
MA5300
(ACL) VLAN. ACL IP 3. , ACL,
ACL ACL.
.

I.

ACL
1) :
config: ,
ACL;
auto: ACL;

56

SmartAX MA5300/5303
1

, , ,
config;
, ACL Telnet,
10.72.53.0/24.
, ;
MA5300(config)#access-list 200 deny ingress 1000 egress any //
VLAN 1000;
MA5300(config)#access-list 1 permit 10.72.53.0 0.0.0.255 //
IP -;
MA5300(config)#access-list 201 permit ingress 1000 egress any//
VLAN 1000.
2) ACL.
ACL,
.
, ACL Ethernet 7/2/0.
MA5300(config)#interface ethernet 7/2/0
MA5300(config-if-Ethernet7/2/0)#access-group link-group 200 in
//Deny the traffic flow of VLAN 1000 ( Vlan
1000).
MA5300(config-if-Ethernet7/2/0)#access-group ip-group 2 link-group 201 in
//Permit the traffic flow of the designated IP address in VLAN 1000 ( IP- VLAN 1000).

8.3

SNMP

8.3.1

SNMP NM
. SNMP NMS .
NMS ( )
(Sun NetManager IBM NetView
NM).
,
.
NMS, , Response
NMS. , Trap
, .

57

SmartAX MA5300/5303
1

I.

SNMP
(MIBs)
SNMP, SNMP
. , , . 8-1. , , .
1
2

1
1

5
A

. 8-1 MIB

, {1.2.1.1}.
. MIB
. , .
SNMP MA5300 SNMP V1 SNMP V2C.
. 8-1 MIB.
. 8-1 MIB, MA5300

MIB

MIB
MIB II,
TCP/IP

MIB

RFC1213
RFC1493

BRIDGE MIB

RFC2675

RMON MIB

RFC2819

Ethernet MIB

RFC2665

58

SmartAX MA5300/5303
1

MIB

MIB

DHCP MIB
DHCP MIB
QACL MIB
ADBM MIB
IGMP Snooping MIB
RSTP MIB
VLAN MIB

MIB


QACL MIB
RSTP MIB
VLAN MIB
ADSL MIB
VDSL MIB

1) SNMP.
SNMP
SNMP. SNMP V1/VC2 .
, SNMP V3 , , /
.
2) SNMP V1/V2C :
/ SNMP V1/V2C;
;
/ Trap.
3) SNMP V3 :
/ SNMP V3;
;
;
;
/ trap.
snmp-server SNMP.
snmp-server SNMP.

59

SmartAX MA5300/5303
1

8.3.2

SNMP V1/V2C
I.


SNMP V1 . SNMP, ,
. SNMP
, . SNMP
/.
, / .

/, snmpserver community.
no snmp-server community.
MA5300(config)#snmp-server community
{ WORD<S><1,32> }: public
{ <cr>|view<K>|ro<K>|rw<K> }:ro

//Set the community "public" with read-

only authority ( ).
MA5300(config)#snmp-server community
{ WORD<S><1,32> }: private
{ <cr>|view<K>|ro<K>|rw<K> }:rw

//Set the community "private" with

read-write authority (
-).


snmp community.
MA5300(config)#show snmp community
Community name:public
Group name: public
Storage-type: nonVolatile

Community name:private
Group name: private
Storage-type: nonVolatile

II. Trap
Trap - , NMS,
.
:
/ Trap;

60

SmartAX MA5300/5303
1

Trap;
Trap ( , Trap).
1) / Trap.
Trap,
snmp-server enable traps, ,
no snmp-server enable traps.
MA5300(config)#snmp-server enable traps

2) Trap.
Trap Trap, snmp-server host.
no snmp-server host.
, SNMP V1 SNMPV2C,
.
MA5300(config)#snmp-server host
{ A.B.C.D<I><A.B.C.D> }:10.71.53.108

// IP-

Trap
{ WORD<S><1,32>|version<K>|udp-port<K> }:version // SNMP.
{ 1<K>|2c<K>|3<K> }:1

// 1 SNMP

WORD<S><1,32>|udp-port<K> }:private

// private

3) Trap.
Trap,
snmp-server trap-source, , no snmp-server trap-source.
MA5300(config)#snmp-server trap-source
{

Ethernet<K>|GigabitEthernet<K>|Aux<K>|NULL<K>|LoopBack<K>|Vlan-

interface<K>|M-Ethernet<K>|Vdsl<K> }:vlan-interface
{ <1-4000> }:1000

// Trap vlan

1000.

III. sysContact
SysContact - MIB II.
ID .
sysContact, snmp-server contact, , no snmp-server contact. : HuaWei BeiJing
China.
MA5300(config)#snmp-server contact

61

SmartAX MA5300/5303
1

{ LINE }: mary-075526516793

// ID

, .

, ID
, show snmp
contact.
MA5300(config)#show snmp contact
The contact person for this managed node: mary-075526516793

IV. sysLocation
SysLocation, MIB,
.

MA5300, snmp-server location,
, no snmp-server location.
BeiJing China.
MA5300(config)#snmp-server location
{ LINE }:Shenzhen China

// MA5300.

show snmp
location .
MA5300(config)#show snmp location
The physical location of this node (
): Shenzhen China.

V. SNMP
SNMP , ,
nmp-server packetsize.
, no snmpserver packetsize. 484 17940 ( : ), , 17940.
MA5300(config)#snmp-server packetsize 1500
snmp-server packetsize SNMP .
MA5300(config)#show snmp
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables

62

SmartAX MA5300/5303
1

0 Getrequest PDUs
0 Getnext PDUs
0 Setrequest PDUs
0 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
0 Trap PDUs

8.3.3

SNMP V3
I.


SNMP V3. , ID
,
ID , SNMP .
ID . , .
, ID ,
snmp-server engineid, , no snmp-server engineid. , ID
ID . IP , MAC .
MA5300(config)#snmp-server engineid
{ WORD<532> }:800007DB00E0FC1119C26877

show snmp
engineid, ID .
MA5300(config)#show snmp engineid
Local SNMP engineID: 800007DB00E0FC1119C26877

II. SNMP
SNMP V3.
: . auth
( ).
priv (
).
noauth , .
read, wirte notify : , .

63

SmartAX MA5300/5303
1

, SNMP,
snmp-server group, SNMP , no snmpserver group.
MA5300(config)#snmp-server group
{ WORD<S><1,32> }:5300

// SNMP.

{ v1<K>|v2c<K>|v3<K> }:v3

// SNMP.

{ auth<K>|noauth<K>|priv<K> }:auth

// -

.
{ <cr>|read<K>|write<K>|notify<K> }:read

// .

{ WORD<S><1,32> }:5300a
{ <cr>|write<K>|notify<K> }:write

//

{ WORD<S><1,32> }:5300b
{ <cr>|notify<K> }:notify

// -

.
{ WORD<S><1,32> }:5300c

show snmp group, SNMP .


MA5300(config)#show snmp group
Group name: 5300
Readview: 5300a

Security model: v3 auth


Writeview: 5300b

Notifyview :5300c
Storagetype: nonVolatile

III. / SNMP
SNMP V3. SNMP V3 SNMP, . SNMP , SNMP.
MA5300, ( ). SNMP
SNMP. , , .
snmp-server user SNMP,
SNMP, no snmp-server user.
MA5300(config)#snmp-server user
{ WORD<S><1,32> }:huawei

// r.

{ WORD<S><1,32> }:ma5300

// -

SNMP.
{ v1<K>|v2c<K>|v3<K> }:v3

// SNMP.

{ <cr>|auth<K> }:auth

// .

64

SmartAX MA5300/5303
1

{ md5<K>|sha<K> }:md5

//

{ WORD<S><1,64> }:hello

//

{ <cr>|priv<K> }:

// ,

show snmp user,


SNMP .
MA5300(config)#show snmp user
User name: huawei
Engine ID: 800007DB00E0FC1119C26877 active

IV. //
SNMP V3. ,
, , ,
.
, / , snmp-server view, , no snmp-server view.
MA5300(config)#snmp-server view
{ WORD<S><1,32> }:mib2

// .

{ WORD<S><1,255> }:1.3.6.1

// MIB.

{ included<K>|excluded<K> }:included

// MIB.

show snmp view


.
MA5300(config)#show snmp view
View name:mib2

MIB Subtree:internet

Storagetype: nonVolatile

View name:ViewDefault
Storagetype: nonVolatile

View name:ViewDefault
Storagetype: nonVolatile

View name:ViewDefault
Storagetype: nonVolatile

View name:ViewDefault
Storagetype: nonVolatile

included active

MIB Subtree:internet
included active

MIB Subtree:snmpUsmMIB
excluded active

MIB Subtree:snmpVacmMIB
excluded active

MIB Subtree:snmpModules.18
excluded active

V. Trap
. 8.3.2 II. Trap,
.
65

SmartAX MA5300/5303
1

8.4

NMS

8.4.1

NMS
I.

0#

7#

0#

7#

13#

ETH

E
A
D

M
E
MS
X
M

S
S
M
M
B
B

HAB
MA5300

HRB
MA5200

. 8-2 NMS

1) ( ETH ) ESM MA5300


0 HAB MA5200 ;
2) IP- NMS MA5300: 10.10.20.1
255.255.255.0;
3) IP NMS: 10.10.21.1 255.255.255.0 ( . 8-2);
4) IP- (VT) MA5200:
10.10.20.254/24;
5) IP- HRB MA5200: 10.10.40.1./30.

II.
1) IP ;
2) MA5300(config)#interface m-ethernet7/0/1;
MA5300(configifMEthernet7/0/1)#ip address
{ A.B.C.D<I><A.B.C.D> }:10.10.20.1
{ A.B.C.D<I><A.B.C.D> }:255.255.255.0
{ <cr>|secondary<K> }:

3) NM;
MA5300(config)#ip route
{ A.B.C.D<I><A.B.C.D> }:0.0.0.0
{ A.B.C.D<I><A.B.C.D>|INTEGER<U><0,32> }:0.0.0.0
{ NULL<K>|Vlaninterface<K>|A.B.C.D<I><A.B.C.D> }:10.10.20.254
{ <cr>|preference<K>|reject<K>|blackhole<K> }:

4) ;
MA5300(config)#snmp-server community public ro

66

SmartAX MA5300/5303
1

MA5300(config)#snmp-server community private rw

5) Trap;
MA5300(config)#snmp-server enable traps

6) Trap;
MA5300(config)#snmp-server host 10.10.21.1 private

7) IP NMS Trap;
MA5300(config)#snmp-server trap-source m-ethernet 7/0/1

8) .
MA5300(config)#write

8.4.2

NMS
I.

0#

E
A
D

7#

0#

7#

E
S
M
M

S
S
M
M
B
B

E7/2/0

13#

HAB

HRB

MA5300

MA5200

. 8-3 NMS

1) Ethernet 7/2/0 ESM


MA5300 0 HAB MA5200. ID
VLAN = 4000.
2) IP- NMS MA5300: 10.10.20.1/24; ID NM
VLAN =1000
3) IP NMS: 10.10.21.1/24 ( . 8-3);
4) IP- VT MA5300:
10.10.20.254/24;
5) IP- VT MA5300:
10.10.40.1/30.

II.
1) IP NMS.
VLAN NM.
MA5300(config)#vlan 1000
MA5300(configvlan1000)#exit

VLAN.

67

SmartAX MA5300/5303
1

MA5300(config)#interface vlan-interface 1000

IP VLAN
MA5300(configifVlaninterface1000)#ip address 10.10.20.1 255.255.255.0

2) ACL.
MA5300(config)#access-list 200 deny ingress 1000 egress any

//

VLAN 1000
MA5300(config)#access-list 1 permit 10.10.21.0 0.0.0.255

//

IP-.
MA5300(config)#access-list 201 permit ingress 1000 egress any//
VLAN 1000

ACL.
MA5300(config)#interface ethernet 7/2/0
MA5300(configifEthernet7/2/0)#access-group link-group 200

in // -

VLAN 1000.
MA5300(configifEthernet7/2/0)#access-group

ip-group

link-group

201

in// IP- VLAN 1000.

3) NM.
MA5300(config)#ip route
{ A.B.C.D<I><A.B.C.D> }:0.0.0.0
{ A.B.C.D<I><A.B.C.D>|INTEGER<U><0,32> }:0.0.0.0
{ NULL<K>|Vlaninterface<K>|A.B.C.D<I><A.B.C.D> }:10.10.20.254
{ <cr>|preference<K>|reject<K>|blackhole<K> }:

4) VLAN.
VLAN . VLAN (ID = 4000) Smart VLAN.
VLAN ID, 4000, Smart VLAN.
MA5300(config)#vlan 4000
MA5300(configvlan4000)#vlan-type smart

(ethernet 7/2/0) VLAN.


MA5300(configvlan4000)#vlan-upport ethernet 7/2/0
MA5300(configvlan4000)#exit

Ethernet 7/2/0 , VLAN NM ( ID, 1000).


MA5300(config)#interface ethernet 7/2/0
MA5300(configifEthernet7/2/0)#switchport mode trunk
MA5300(configifEthernet7/2/0)#switchport trunk allowed vlan 1000
Please wait.. Done.

5) .
MA5300(config)#snmp-server community public ro
MA5300(config)#snmp-server community private rw

6) Trap.
MA5300(config)#snmp-server enable traps

68

SmartAX MA5300/5303
1

7) Trap.
MA5300(config)#snmp-server host 10.10.21.1 private

8) IP NMS Trap.
MA5300(config)#snmp-server trap-source vlan-interface 1000

9) .
MA5300(config)#write

69

SmartAX MA5300/5303
1

9
RMON

9 RMON
9.1

RMON
(RMON) IETF MIB. MIB II.
RMON, ,
. ,
.
RMON SNMP. RMON,
SNMP .
RMON NMS .
RMON , . :
, .
ROMN SNMP . NMS , .
RMON .
:
RMON .
NMS RMON . ,
MIB RMON.
RMON ( ,
).

RMON. NMS RMON SNMP
SNMP, NM. , , , MIB
RMON .
, . :
trap, ,
.
MA5300 RMON .
SNMP, RMON, NMS 70

SmartAX MA5300/5303
1

9
RMON

, , . , NMS
.

9.2

RMON
RMON :
/ / ;
/ / ;
/ / ;
/ / ;
RMON.

9.2.1

/ /
RMON , , .
.
, NMS Trap.
. : , .
/ / .
. 9-1 / /

rmon alarm entry-number { interface-type interface-number |


interface-name } { ebcastpkts | ecollisions | ecrcerrors |
edropevents | efrags | ejabbers | emcastpkts | eoctets |
eosizepkts | epkts64 | epkts127 | epkts255 | epkts511 |
epkts1023 | epkts1518 | etherstatspkts | eunsizepkts |
inbcastpkts | indiscards | inerrors | inmcastpkts |
innucastpkts | inoctets | inucastpkts | inunknownprotos |
outbcastpkts | outdiscards | outerrors | outmcastpkts |
outnucastpkts | outoctets | outucastpkts | } sampling-time {
delta | absolute } rising-threshold threshold-value1 evententry1 falling-threshold threshold-value2 event-entry2 [
owner text-string ]

no rmon alarm entry-number

71

SmartAX MA5300/5303
1

9.2.2

9
RMON

/ /
RMON ID ,
, Trap NMS,
.
/ /
.
. 9-2 / /

rmon event event-entry [ description string ] { log | trap trapcommunity | log-and-trap log-trapcommunity } [ owner rmon-station ]

no rmon event event-entry

9.2.3 / /


,
. , .
/ / .
. 9-3 / /

9.2.4

rmon history entry-number { interface-type interface-number |


interface-name } buckets number interval sampling-interval [
owner text-string ]

no rmon history entry-number

/ /
RMON
. : , CRC , , ,

72

SmartAX MA5300/5303
1

9
RMON

, ,
.
/ / .
. 9-4 / /

9.2.5

rmon statistics entry-number { interface-type interface-number | interface-name } [ owner text-string ]

no rmon statistics entry-number

RMON
RMON
, .
. 9-5 RMON

9.3

RMON

show rmon statistics [ interface-type


interface-number | interface-name ]

RMON

show rmon history [interface-type interfacenumber | interface_name ]


RMON

show rmon alarm [ alarm-table-entry ]

RMON

show rmon event [ event-table-entry ]


RMON

show rmon eventlog [ event-number ]

RMON
I.


RMON
Ethernet. .

73

SmartAX MA5300/5303
1

9
RMON

II.

MA 5300

. 9-1 RMON

III.
1) RMON.
MA5300(config)#rmon statistic 1 ethernet 7/1/1 owner huawei_rmon

2) RMON.
MA5300#show rmon statistic ethernet 7/1/1
Interface Ethernet7/1/1, with ethernet statistics table index 1, is VALID,
and owned by huawei_rmon.
It has Received 82770931 octets, 55288 packets,
35867 broadcast and 13550 multicast packets,
0 undersized and 0 oversized packets,
0 fragments and 1 jabbers,
0 CRC alignment errors and 64 collisions.
Dropped packet events (due to lack of resources): 0.
Packets received of length (in octets):
64: 62300, 65-127: 42709, 128-255: 17515,
256-511: 8016, 512-1023: 9013, 1024-1518: 41030.

74

SmartAX MA5300/5303
1

10
DHCP

10
DHCP
10.1 DHCP

. (DHCP) . IP- , (, ) ,
IP-.
DHCP -. DHCP , DHCP .
DHCP , DHCP
,
. DHCP , DHCP . , , .

DHCP

. DHCP-


DHCP, . DHCP
DHCP ( ) . DHCP
DHCP.
.
. 10-1 DHCP-.

75

DHCP client
Intranet

Ethernet

DHCP client

10
DHCP

Ethernet

SmartAX MA5300/5303
1

DHCP client
MA5300

DHCP server

DHCP client

Intranet ;
DCHP server DCHP;
DHCP client DCHP.
. 10-1 DHCP-

DHCP DHCP, .
, DHCP ( Ethernet ), DHCP DHCP
.
, DHCP ( Ethernet
), DHCP- (
MA5300 ), ,
DHCP .
DHCP
, , DHCP-.
.

10.2 DHCP-
DHCP- :
IP- DHCP;
DHCP VLAN;
;
DHCP;
DHCP-.

76

SmartAX MA5300/5303
1

10
DHCP

10.2.1 IP- DHCP


DHCP , .
DHCP .
. 10-1 / IP- DHCP

IP- DHCP

dhcp-server groupNo ip
ipaddress1 [ ipaddress2 ]

IP- DHCP ( , IP- 0)

no dhcp-server groupNo

, IP- . , IP .
, IP- DHCP .

10.2.2 DHCP VLAN


VLAN.
. 10-2 / DHCP VLAN

DHCP
VLAN

dhcp-server groupNo

DHCP VLAN

no dhcp-server

VLAN DHCP,
.
, VLAN - DHCP.

10.2.3
,
IP- VLAN (DHCP ),
. IP-
-.
IP-,
, MA5300, DHCP-, -

77

SmartAX MA5300/5303
1

10
DHCP

IP- MAC- .
.
. 10-3 /

dhcp-client ip_address mac_address { dynamic |


static }

no dhcp-client ip_address

10.2.4 DHCP
DHCP VLAN; DHCP .
VLAN.
. 10-4 / DHCP VLAN

DHCP

enable address-check

DHCP
VLAN

disable address-check

10.2.5 DHCP-
, show,
DHCP- . DHCP-, debug .
. 10-5 DHCP-


DHCP

show dhcp-server groupNo


DHCP VLAN

show dhcp-server interface


{interface_type interface_num |
interface_name }

DHCP-

debug dhcp-relay


DHCP

show dhcp-client [ ip_address ]

78

SmartAX MA5300/5303
1

10
DHCP

10.3
DHCP-
DHCP, , DHCP, . , PPP, DHCP
:
DHCP;
IP DHCP;
IP-;
-;
ID.
, DHCP DHCP.
, MA5300 DHCP-.

10.3.1 DHCP Option82


DHCP Option82, MA5300
RFC3046, DHCP BOOTP.

I.

/ DHCP Option82
DHCP Option82
, ( PVC ADSL).
DHCP Option82 PVC, , PVC.
DHCP Option82, (no) dhcp
option82 . DHCP Option82, no dhcp option82.
DHCP Option82 PVC
.
DHCP Option82
PVC, [no] dhcp option82, ,
.
DHCP Option82.
dhcp option82 interface-list [ pvc { vpi vpi-id vci vci-id | all } ].
DHCP Option82.
no dhcp option82 interface-list [ pvc { vpi vpi-id vci vci-id | all } ].
79

SmartAX MA5300/5303
1

10
DHCP

,
DHCP Option82 .
/ DHCP Option82 (
ADSL), [no] dhcp option82.
/ DHCP Option82 PVC ADSL [no] dhcp option82 pvc { vpi vpi-id vci vci-id | all }.
, DHCP Option82 :
PVC.
:
interface-list: . : Ethernet,
VDSL, ADSL SHDSL. interface-list { interface-type interface-number | interface-name } [ to { interface-type interface-number | interface-name } ]. MA5300, interface-type Ethernet, GigabitEthernet, VDSL, ADSL SHDSL. interfacenumber : / /
.
all: , PVC ADSL. DHCP Option82 PVC , PVC, .
vpi-id: VPI PVC. .
vpi-id: VCI PVC. .


1) PVC DHCP Option82 ADSL. , .
2) DHCP Option82 PVC, ,
PVC . ,
,
PVC, DHCP Option82 PVC. , .
3) PVC, DHCP Option82 PVC.

II. L2 L3 DHCP-
DHCP Option82 MA5300
L2 L3. DHCP-,
DHCP-. ,
DHCP- , DHCP Option82 ,

80

SmartAX MA5300/5303
1

10
DHCP

DHCP- / DHCP Option82 / DHCP DHCP L2 .


MA5300 L2, L3 DHCP-.
L2 L3 DHCP-, dhcp { layer-2 | layer-3 } . L2 DHCP, dhcp layer-2. L3 DHCP, dhcp layer-3.

L2

DHCP-

.
MA5300(config)#dhcp layer-2

III. L2 DHCP-
dhcp uplink-port allowed interface-list ,
L2 DHCP-.
interface-list: . : Ethernet,
VDSL, ADSL SHDSL. interface-list {interface-type interface-number | interface-name} [ to {interface-type interface-number | interface-name} ]. MA5300, interface-type Ethernet, GigabitEthernet, VDSL, ADSL SHDSL. interfacenumber : / /
.
, ADSL3/1/23 L2/L3 DHCP-.
MA5300(config)#dhcp uplink-port allowed adsl3/1/23

IV. / IP-
IP DHCP, M5300 ( PVC) IP-, DHCP.
IP-. ADSL
IP-, PVC IP-.
dhcp
option82 ip-bind IP- , .
dhcp option82 ip-bind interface-list [ pvc { vpi vpi-id vci vci-id | all-option82-enabled } ].
, no,
, , IP.

81

SmartAX MA5300/5303
1

10
DHCP

no dhcp option82 ip-bind interface-list [ pvc { vpi vpi-id vci vci-id | all-option82enabled} ]

/ IP-
PVC.
( ADSL) [no] dhcp ip-bind / IP-.
IP- PVC ADSL [no] dhcp option82 pvc { vpi vpi-id vci vci-id | all-option82-enabled }.
:
interface-list: . : Ethernet,
VDSL, ADSL SHDSL. interface-list { interface-type interface-number | interface-name } [ to { interface-type interface-number | interface-name } ]. MA5300, interface-type Ethernet, GigabitEthernet, VDSL, ADSL SHDSL. interfacenumber : / /
.
all-option82-enabled: IP-
PVC ADSL DHCP Option82. , PVC , IP- ,
, DHCP Option82 PVC.
vpi-id: VPI PVC. .
vpi-id: VCI PVC. .


1) PVC
IP- ADSL. ,
.
2) IP- PVC, , PVC
DHCP Option82.
, PVC DHCP Option82, IP PVC. , PVC.

82

SmartAX MA5300/5303
1

10
DHCP

V. - DHCP
RFC3046, DHCP Option82 -, :
- ID - ID. MA5300
DHCP.
: - ID /- ID DHCP.
, dhcp option82 sub-option
{ circuit-id | remote-id } { enable | disable } / ID
ID DHCP .
:
circuit-id: / - ID
DHCP.
remote ID Sub-option: / - ID / DHCP.
enable: - DHCP.
disable: - DHCP.
, - DHCP .
, - ID DHCP
- ID DHCP.
MA5300(config)#dhcp option82 sub-option circuit-id enable
MA5300(config)#dhcp option82 sub-option remote-id disable

VI. DHCP,
DHCP-
RFC3046,
DHCP, DHCP. - , ,
, . ,
MTU ( ) DHCP.
dhcp option82 max-length value
DHCP, DHCP-.
value: , 5001500 .
1500, no dhcp option82 max-length.
, 1300 DHCP,
DHCP.
83

SmartAX MA5300/5303
1

10
DHCP

MA5300(config)#dhcp option82 max-length 1300

VII. DHCP Option82


,
MA5300 DHCP
Option82.
show dhcp option82 configuration [ interface-list [ pvc vpi
vpi-id vci vci-id ] ] ,
DHCP Option82 MA5300.
:
interface-list: . : Ethernet,
VDSL, ADSL SHDSL. interface-list { interface-type interface-number | interface-name } [ to { interface-type interface-number | interface-name } ]. MA5300, interface-type Ethernet, Gigabit Ethernet, VDSL, ADSL SHDSL. interfacenumber : / /
.
vpi-id: VPI PVC. .
vpi-id: VCI PVC. .
.
, PVC.
Global dhcp option82 is enable

//

DHCP Option82
Circuit ID Sub-option is enable

// ,

ID ( ) DHCP.
Remote ID Sub-option is enable

// ,

ID ( ) DHCP.
Max packet size is 1500

//

DHCP DHCP
--------------Port/PVC DHCP Option82 configuration table-----------------Port/PVC

dhcp option82 state

IP-bind

-------------------------------------------------------------------------VDSL 1/0/0

Enable

VDSL 1/0/23

Disable

Ethernet 7/2/0

Enable

Enable
Disable
Disable

ADSL 9/0/0
vpi 0 vci 39

Enable

vpi 0 vci 40

Disable

84

Disable
Disable

SmartAX MA5300/5303
1

10
DHCP

ADSL 9/0/23
vpi 0 vci 39

Enable

vpi 0 vci 40

Disable

Disable
Disable

VIII. DHCP Option82


MA5300 DHCP Option82, .
MA5300 , DHCP Option82 PVC:
DHCP , /PVC
Option82, Option82;
DHCP , , /PVC DHCP
;
/ IP-.
DHCP Option82 :
DHCP ,
Option82, Option82;
DHCP , DHCP-;
/ IP-.
show dhcp statistics [interface-list [ pvc vpi vpi-id vci vci-id ] |
dhcp-server group-num] , DHCP Option82 MA5300.
clear dhcp statistics { all | interface-list [ pvc vpi vpi-id vci vciid | all ] | dhcp-server group-num } , DHCP Option82 MA5300.
:
all: .
interface-list: . : Ethernet,
VDSL, ADSL SHDSL. interface-list { interface-type interface-number | interface-name } [ to { interface-type interface-number | interface-name } ]. MA5300, interface-type Ethernet, Gigabit Ethernet, VDSL, ADSL SHDSL. interfacenumber : / /
.
vpi-id: VPI PVC. .
vpi-id: VCI PVC. .
group-num: DHCP.
85

SmartAX MA5300/5303
1

10
DHCP

all: PVC
ADSL.
:
,
PVC.
, , PVC, PVC
.
, PVC,
PVC
ADSL.
PVC, .
PVC, .
:
Ethernet,
VDSL, ADSL SHDSL,
PVC. .
PVC
ADSL, .
:
Total packets with untrusted option82: 0
//Count of packets with untrusted Option82 message. These packets are
deprived of option82 message, and are relayed after added with correct
option. ( Option82.
option82;
).
Total packets exceed the maximum size after appending: 0
//Count of packets which are added with option82 message and exceed the
maximum length. ( Option82
)
Total number of IP bind

: 10

// IP-

Total number of IP unbind

: 10

// IP-

VDSL 1/0/0
Total

packets

with

untrusted

option82:

option82)
Total packets exceed the maximum size after appending: 0 (
, )

86

SmartAX MA5300/5303
1

Total number of IP bind

: 10

Total number of IP unbind


ADSL 9/0/0

10
DHCP

: 10

vpi 0, vci 35

Total packets with untrusted option82: 0


Total packets exceed the maximum size after appending: 0
Total number of IP bind

: 10

Total number of IP unbind


ADSL 9/0/0

: 10

vpi 0, vci 36

Total packets with untrusted option82: 0


Total packets exceed the maximum size after appending: 0
Total number of IP bind

: 10

Total number of IP unbind

: 10

10.3.2 DHCP Option60


DHCP Option60, MA5300
RFC2131
RFC2132.

I.

DHCP
MA5300 DHCP,
DHCP Option60, MAC-
DHCP-. DHCP.
DHCP , dhcpserver select-mode { option-60 | mac-section | standard } .
option-60: DHCP Option60, . DHCP;
mac-section: DHCP MAC-
DHCP ;
standard: DHCP, , DHCP.
, , DHCP, DHCP. no dhcp-server select-mode
.

II. / DHCP
dhcp domain domain-name , DHCP DHCP.
domain-name: DHCP. ,
1 32 . 128 DHCP.

87

SmartAX MA5300/5303
1

10
DHCP


,
DHCP. ,
DHCP.

DHCP, no dhcp domain domain-name.

III. DHCP DHCP


dhcp-server group-number DHCP, DHCP DHCP.
group-num: DHCP, 0 19.


DHCP
DHCP.

IV. IP- DHCP


dhcp domain domain-name gateway ip-address
VLAN, IP-
DHCP.
:
domain-name: ;
ip-address: IP- DHCP.


VLAN, DHCP .

V. DHCP

MA5300
DHCP.
DHCP, show dhcp-server select-mode .

88

SmartAX MA5300/5303
1

10
DHCP

MA5300(config)#show dhcp-server select-mode


DHCP-serve select-mode is option-60

VI. DHCP
,
MA5300
DHCP.
DHCP show dhcp domain [domain-name] .
, DHCP , DHCP. , DHCP , DHCP.
MA5300(config)#show dhcp domain
Index

Name

DHCP-server-group

gateway

------------------------------------------------------------------1

guwang

huawei

0
1

10.11.111.1
20.0.0.1

VII. / MAC-
MA5300 DHCP,
DHCP Option60, MAC-
DHCP-. -, - MAC-,
DHCP
DHCP -.
dhcp mac-range range-name -
-.
range-name: -. ,
1 32 . 128 .


- , -. , - ,
-.

89

SmartAX MA5300/5303
1

10
DHCP

- no dhcp mac-range
range-name.

VIII. - -
- MAC-, - -.
start mac-address-start end mac-address-end -, - -.
mac-address-start: - -.
mac-address-end: - -.

IX. DHCP
- DHCP, DHCP, -,
DHCP, -.
DHCP .
dhcp-server group-number -, DHCP, -.
group-number: DHCP, 0 19.


-
DHCP.

90

SmartAX MA5300/5303
1

10
DHCP

X. IP- -
dhcp mac-range range-name gateway ip-address
VLAN, IP-
-.
range-name: -.
ip-address: IP- .


VLAN, - IP- .

XI. -
,
MA5300 -.
show dhcp mac-range [range-name] .
range-name: - ( ). , range-name ,
-. ,
, .
MA5300(config)#show dhcp mac-range
Index

Name

Mac-start

Mac-end

DHCP-server-group

gateway
------------------------------------------------------------------1
2

guwang 0-01-02-03-04-06 0-01-02-03-04-ef


huawei

0-01-02-03-04-06

0-01-02-03-04-ab

10.11.111.1
1

20.0.0.1

10.4 DHCP-
I.


VLAN DHCP
DHCP-.

91

SmartAX MA5300/5303
1

10
DHCP

II.
1.99.255.36
R

1
VLAN
4000

VLAN 2

1.99.255.36
IP-

1.88.255.36
R

VLAN
3001
VLAN 3

MA5300

1.88.255.35
. 10-2 DHCP-

III.
IP 1 DHCP.
MA5300(config)#dhcp-server 1 ip 1.99.255.36 1.99.255.35.
1 DHCP 2 VLAN.
MA5300(config-VLAN-Interface2)#dhcp-server 1.
IP- 2 DHCP.
MA5300(config)#dhcp-server 2 ip 1.88.255.36 1.88.255.35.
2 DHCP 3 VLAN.
MA5300(config-VLAN-Interface3)#dhcp-server 2

VLAN 2.
MA5300(config)#vlan 2
MA5300(config-vlan2)#switchport vdsl2/0/2
MA5300(config)#interface vlan 2
MA5300(config-VLAN-Interface2)#ip address 1.1.2.1 255.255.0.0


VLAN 3.
MA5300(config)#vlan 3
MA5300(config-vlan3)#switchport vdsl2/0/3
MA5300(config)#interface vlan 3
MA5300(config-VLAN-Interface3)#ip address 1.2.2.1 255.255.0.0

VLAN DHCP.
DHCP-,
VLAN: 1 DHCP VLAN 4000,
2 DHCP VLAN 3001.

92

SmartAX MA5300/5303
1

10
DHCP

MA5300(config)#vlan 4000
MA5300(config-vlan4000)#switchport ethernet 7/1/0
MA5300(config)#interface vlan 4000
MA5300(config-VLAN-Interface4000)#ip address 1.99.255.1 255.255.0.0
MA5300(config)#vlan 3001
MA5300(config-vlan3001)#switchport ethernet 7/1/1
MA5300(config)#interface vlan 3001
MA5300(config-VLAN-Interface3001)#ip address 1.88.255.1 255.255.0.0

DHCP .
MA5300#show dhcp-server 1

DHCP, VLAN.
MA5300#show dhcp-server interface vlan-interface 2
MA5300#show dhcp-server interface vlan-interface 3

10.5 DHCP-
1:
IP-.
:
:
1) show dhcp-server groupNo, ,
IP- DHCP;
2) show vlan show ip, , VLAN IP- ;
3) Ping DHCP,
;
4) Ping IP- VLAN
MA5300, DHCP. ,
, DHCP , ;
5) ping, , DHCP, , VLAN , ;
6) , show dhcp-server groupNo ;
7) , Discover, Response, , DHCP MA5300. , , DHCP
;

93

SmartAX MA5300/5303
1

10
DHCP

8) , , debug dhcp-relay ,
terminal debug
. , IP-,
DHCP ,
.

94

SmartAX MA5300/5303
1

11
IP

11 IP
IP :
TCP;
IP.

11.1 TCP
TCP:
Synwait: (SYN), TCP
synwait. (ACK) synwait, TCP .
synwait 2 600 . 75 .
Finwait: FIN_WAIT_1
FIN_WAIT_2, finwait. FIN
finwait, TCP .
finwait 76 3600. 675
.
/ .
1 32 . 4 .
TCP .
. 11-1 TCP

config terminal

synwait
TCP

tcp synwait-time value

FIN_WAIT_2 TCP

tcp finwait-time value

/
TCP

tcp window-size value

11.2 IP
, show
IP .
IP, debug .

95

SmartAX MA5300/5303

11
IP

. 11-2 IP

IP

show tcp brief

TCP

show ip interface [ interface_type


interface_num | interface_name ]

TCP

debug ip packet

TCP

debug tcp packet

TCP

debug tcp transaction

UDP

debug udp

11.3 IP
:
IP , TCP UDP .
:
.
terminal debug.
UDP debugg udp.
UDP. ,
TCP . UDP
:
UDP output packet:
Source IP address:202.38.160.1
Source port:1024
Destination IP Address 202.38.160.1
Destination port: 4296

TCP, debug tcp packet debug tcp transact.


/ TCP,
MA5300 TCP.
:
MA5300(config)#terminal debug

96

SmartAX MA5300/5303

11
IP

MA5300#debug tcp packet

TCP . :
TCP output packet:
Source IP address:202.38.160.1
Source port:1024
Destination IP Address 202.38.160.1
Destination port: 4296
Sequence number :4185089
Ack number: 0
Flag

:SYN

Packet length :60


Data offset: 10

97

SmartAX MA5300/5303
1

12
Ethernet

12 Ethernet
12.1
ETH , ESM, ETH ISU
Ethernet:
Ethernet 100Base-TX.
Ethernet 100Base-TX , , Ethernet. ,
, .
/ Ethernet 100Base-FX.
/ Ethernet 100Base-FX 100 /.
Ethernet 100Base-FX FE;
Ethernet 100Base-FX FE.
Ethernet 1000Base-SX/LX.
Ethernet 1000Base-SX/LX
1 /. 1000Base-LX , 1000Base-SX .
Ethernet MA5300 :
Ethernet : / / . 7 8. 1 2. FE
0 3. GE 0 1.
MA5303 7- , 7-
ESM, 1 6 .
Ethernet MA5300 :
Ethernet : / / . 7; 1 2; FE 0 3; GE 0 1.
Ethernet :
;
;
98

SmartAX MA5300/5303
1

12
Ethernet

;
;
;
;
/ Ethernet;
/ Ethernet;
Ethernet.


/ Ethernet 100Base-FX 100 / .
. Ethernet 1000Base-SX/LX,
full ( ) auto ().

12.2
I.

Ethernet
Ethernet : ,
.
, , . , , ,
, .
duplex.
auto. / 100Base-FX . . 1000BaseSX/LX .
full auto.
MA5300(config-if-Ethernet7/2/0)#duplex full

II. Ethernet
FE 10 / 100 /.
auto.
100 /. / FE 100 /. GE
1000 /. . , : Not supported (
).

99

SmartAX MA5300/5303
1

12
Ethernet

MA5300(config-if-Ethernet7/2/0)#speed 100

III. / Ethernet
Ethernet- . , MA5300
1600 .
, MA5300
1522 .
MA5300(config-if-Ethernet7/2/0)#jumboframe disable

IV. Ethernet
FE
Ethernet.
mdi. auto ().
FE.
MA5300(config-if-Ethernet7/2/0)#mdi auto

12.3
, MA5300 . .
, , MA5300, .
, . , , . .
flowcontrol, no flow-control.
MA5300(config-if-Ethernet7/2/0)#no flow-control

12.4

, ,
.

100

SmartAX MA5300/5303
1

12
Ethernet

. .
100%
. , . , 100%. /
.
switchport broadcast-suppression.
no.
MA5300(config-if-Ethernet7/2/0)#switchport broadcast-suppression 100

12.5
Ethernet 8 .
.
0 1 ;
2 3 ;
4 5 ;
6 7 .
,
(QoS).
0.
priority,
no priority.
MA5300(config-if-Ethernet7/2/0)#priority 0

12.6

5300 255 .
. ,
.
101

SmartAX MA5300/5303
1

12
Ethernet


multicast max-group-count,
no multicast max-group-count,
show interface.
MA5300(config-if-Ethernet7/2/0)#multicast max-group-count 2
Set max-group number of Ethernet7/2/0 to:2 successfully

12.7
Ethernet , /
. 5300
,
Ethernet. , , ,

. .

I.


, , .
MA5300(config-if-Ethernet7/2/0)#duplex

full

MA5300(config-if-Ethernet7/2/0)#speed

100

MA5300(config-if-Ethernet7/2/1)#duplex

full

MA5300(config-if-Ethernet7/2/1)#speed

100

II. /
link-aggregation Ethernet,
no link-aggregation Ethernet.
MA5300(config)#link-aggregation

Ethernet7/2/0

to

Ethernet7/2/1

ingress-

egress

III.
show link-aggregation
, ,
.
MA5300(config)#show link-aggregation Ethernet7/2/0
Master port: Ethernet7/2/0
Other sub-ports:
Ethernet7/2/1
Mode: ingress-egress

102

SmartAX MA5300/5303
1

12
Ethernet

12.8 Ethernet
show interface , , , ,
, , .
MA5300(config)#show interface e7/2/0
Ethernet7/2/0 is down
Hardware is Fast Ethernet, Hardware address is 00e0.fc00.0009
Auto-duplex, 100M, 100_ISUE_TX
Flow control is disabled
Broadcast max-ratio is 15%
PVID is 3
Priority is 0
Mdi type: auto
Max multicast group count: 2
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 3


160 packets output, 0 packets/sec, 0 bytes/sec
57648 bytes, 136 multicasts, 4 broadcasts, 0 pauses
118 packets input, 0 packets/sec, 0 bytes/sec
8984 bytes, 0 multicasts, 94 broadcasts, 0 pauses
0 CRC errors
0 long frames

clear interface .
, , ; ,
, .
MA5300(config)#clear interface e7/2/0

12.9 / Ethernet

jumboframe disable
Ethernet .
Ethernet- ,
1600 .
Ethernet- ,
1522 . no jumboframe disable, ..
.
, .
103

SmartAX MA5300/5303
1

12
Ethernet

MA5300(config-if-Ethernet7/2/0)#no jumboframe disable


, .
MA5300(config-if-Ethernet7/2/0)#jumboframe disable

104

SmartAX MA5300/5303
1

13
VDSL

13 VDSL
13.1 VDSL
5300 VDSL.
14 EVDA. EVDA 24
VDSL. , 336
VDSL. EVDA 14
, MA5300.
VDSL : / / .
0 6 9 15, 0,
0 24.
VDSL:
VDSL.
VDSL , VDSL. VDSL
interface .
, 0 3
VDSL.
MA5300(config)#interface vdsl3/0/0
MA5300(config-if-vdsl3/0/0)#

VDSL.
VDSL ,
VDSL. VDSL
board-vdsl .
, 3
VDSL.
MA5300(config)#board-vdsl 3
MA5300(config-board-vdsl3)#

13.2 Ethernet- VDSL


I.

VDSL
VDSL duplex,
, ,
. , , , , 105

SmartAX MA5300/5303
1

13
VDSL

.
, .. .
MA5300(config-if-vdsl3/0/0)#duplex auto

II. Ethernet- VDSL


Ethernet- VDSL speed.
Ethernet- VDSL 10 /, 100 /
. , Ethernet
, , ,
. , .. .
MA5300(config-if-vd3/0/0)#speed auto

13.3
, MA5300 . .
, ,
MA5300, . 5300, , ,
, . .
flowcontrol, no flow-control.
MA5300(config-if-Vdsl3/0/0)#no flow-control

13.4

, ,
.
. . 100%
.
, . , 100%. /

106

SmartAX MA5300/5303
1

13
VDSL

.
switchport broadcast-suppression,
no switchport broadcast-suppression.
MA5300(config-if-Vdsl3/0/0)#switchport broadcast-suppression 100

13.5
Ethernet 8 .
:
0 1 ;
2 3 ;
4 5 ;
6 7 .
,
(QoS).
0.
priority.
no priority.
MA5300(config-if-Vdsl4/0/0)#priority 0

13.6

5300 255 .
. ,
.

multicast max-group-count,
no multicast max-group-count,
show interface.
MA5300(config-if-Vdsl4/0/0)#multicast max-group-count 2
Set max-group number of Vdsl4/0/0 to:2 successfully.

107

SmartAX MA5300/5303
1

13
VDSL

13.7 / -
, VDSL, 5300 ,
. /
-, , .

I.

-
. , .
, no mac-address-table maxmac-count no-limit, -
VDSL.
MA5300(config)#no mac-address-table max-mac-count no-limit slot 4

II. -
- , mac-address-table max-mac-count
- , no mac-address-table max-maccount . 2.
:
MA5300(config)#mac-address-table max-mac-count 2 vdsl4/0/0 to vdsl4/0/6

VDSL :
MA5300(config-if-Vdsl4/0/7)#mac-address-table max-mac-count 2

mac-address-table max-mac-count no-limit ,


-
VDSL. show interface .

13.8 VDSL
13.8.1 / VDSL
, .
, .
.
, .
, ,
. ,

108

SmartAX MA5300/5303
1

13
VDSL

VDSL 5300
.
(no) block /
VDSL, (no) block all - / . show interface VDSL, .
MA5300(config-board-vdsl4)#no block all


VDSL : , , , , .
show interface state. . 13-1
.

no block

activate
deactive

blocked

block
block

active
deactivate

blocked ;
no block ;
block ;
deactive ;
block ;
activate ;
deactivate ;
active .
. 13-1

13.8.2 // VDSL
VDSL / , / , / ..
, , , . , . , 5300 VDSL .

109

SmartAX MA5300/5303
1

13
VDSL

, .

I.

VDSL
VDSL vdsl line-profile
add.


VDSL (EVDA) VDSL, . LINE-PROFILE-1, 1. , LINE-PROFILE-1 .

VDSL
, . 13-2.

110

SmartAX MA5300/5303
1

13
VDSL

VDSL


VDSL

PSD

PSD

. 13-2 VDSL


VDSL.
1) VDSL.
MA5300(config)#vdsl line-profile add 2
Start profile 2 adding.
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.

<Enter>, . , VDSL .
111

SmartAX MA5300/5303
1

13
VDSL

2) .
: 0-PLAN997, 1-PLAN998, 2-CHINA-3BAND, 3ADSL-MODE 4-10BASE-S.
PLAN998 10BASE-S. , .
4, VDSL.
3) / VDSL.
> VDSL link auto train 1-enable 2-disable (1 2)[1]:

,
,
/. . ,
/, .
,
. ,
/. .
4) .
> Target bit rate downstream (780 25000 kbps) [12500]:

VDSL ,
, VDSL ,
, . , .
, , VDSL , . VDSL, 12500
/.
5) .
> Target bit rate upstream (780 25000 kbps) [12500]:

.
6) .
> Target downstream interleaved depth 0,1,2,8,16 (0 16) [1]:

VDSL
. ,

112

SmartAX MA5300/5303
1

13
VDSL

. , .
1.
7) .
> Target upstream interleaved depth 0,1,2,8,16 (0 16) [1]:

.
8) / .
> Signal to noise ratio margin downstream: precision 0.1dB(0.0 31.0 dB)
[6.0]

/
/, . /,
, . ,
/, .
, /
. , ,
. , .
9) / .
> Signal to noise ratio margin upstream:precision 0.1dB(0.0 31.0 dB)
[6.0]:

.
10) PSD .
> Will you set downstream PSDMask?(y/n)[n]:

,
. , VDSL ,
.
. .
VDSL ,
VDSL . .
113

SmartAX MA5300/5303
1

13
VDSL

11) PSD .
> Will you set upstream PSDMask?(y/n)[n]:


:
Add profile 2 successfully.

II. VDSL
VDSL vdsl line-profile delete. , , - ,
,
.


VDSL, ( 1),
.

MA5300(config)#vdsl line-profile delete 2


The vdsl line config profile will be deleted.
Are you sure?[Y/N]y
The vdsl line config profile 2 has been removed successfully.

III. VDSL
VDSL vdsl line-profile modify. VDSL
.
MA5300(config)#vdsl line-profile modify 2
Start modifying profile 2.
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> VDSL link auto train

1-enable 2-disable (1 2)[1]:

> Target bit rate downstream (780 25000 kbps) [12500]:


> Target bit rate upstream (780 25000 kbps) [12500]:
> Target downstream interleaved depth 0,1,2,8,16 (0 16) [1]:
> Target upstream interleaved depth 0,1,2,8,16 (0 16) [1]:
> Signal to noise ratio margin downstream:precision 0.1dB(0.0 31.0 dB)
[6.0]:

> Signal to noise ratio margin upstream:precision 0.1dB(0.0 31.0 dB)


[6.0]:

114

SmartAX MA5300/5303
1

13
VDSL

> Will you set downstream PSDMask?(y/n)[n]:n


> Will you set upstream PSDMask?(y/n)[n]:
Modify profile 2 successfully
Attention: To effect the modification will disconnect the VDSL interface
which use this template for a few seconds!
Do you want to make it effect? (y/n)[n]:n
It will take effect after VDSL interface deactive and active again!

VDSL, ,
. ,
VDSL , ; , .
.
VDSL, (
1), .

IV. VDSL
show vdsl line-profile, VDSL.
VDSL, .
.
MA5300(config)#show vdsl line-profile 1
Following are all items of the VDSL template 1:
template name

: LINE-PROFILE-1

planned down-stream rate(Kbps)

: 12500

planned up-stream rate(Kbps)

: 12500

SNR margin downstream(dB)

: 6.0

SNR margin upstream(dB)

: 6.0

planned down-stream interleave depth : 1


planned up-stream interleave depth

: 1

auto train mode

: enable

setting of down-stream PSDMask

: None

setting of up-stream PSDMask

: None


.
.

VDSL.

115

SmartAX MA5300/5303
1

13
VDSL

MA5300#show vdsl line-profile all

The 10BASE S line config profile info:


Index

Template Name

DownStream

UpStream

DownSnr

UpSnr

AutoTrain

Rate(Kbps)Rate(Kbps) Margin(dB)Margin(dB)
------------------------------------------------------------------------1

LINE-PROFILE-1

12500

12500

6.0

6.0

enable

The PLAN998 line config profile info:


Idx

Profile Name

Downstream

Upstream

===================================================================
|

Adaptive

MaxRate(kbps)

Adaptive

MaxRate(kbps)
|

Mode

Mode

------------------------------------------------------------------2

LINE-PROFILE-2

enable

4160

enable

4160

LINE-PROFILE-3

disable

5000

enable

5000

13.8.3 / VDSL
, VDSL , . VDSL
(VTU-C) VDSL
(VTU-R).

, , / . VTU-C VTU-R,
, 5300 . , VTU-C VTU-R (
, ).
, (),
. , .
, VTU-C . , , .
, activate,
activate all.
, , .
MA5300(config-board-vdsl4)#activate

116

SmartAX MA5300/5303
1
{ all<K>|INTEGER<U><0,23> }:all

13
VDSL

// VDSL

4.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

MA5300(config-board-vdsl4)#activate
{ all<K>|INTEGER<U><0,23> }:0

// 0 VDSL

4.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

, VDSL VDSL
vdsl activate,
vdsl activate all.
MA5300(config)#vdsl activate
{ all<K>|INTEGER<U><0,15>|Vdsl<K> }:all

// VDSL

.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

MA5300(config)#vdsl activate
{ all<K>|INTEGER<U><0,15>|Vdsl<K> }:4

// VDSL

4.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

MA5300(config)#vdsl activate
{ all<K>|INTEGER<U><0,15>|Vdsl<K> }:vdsl4/0/0
{ <cr>|to<K>|Vdsl<K>|INTEGER<U><1,16> }:to
{ Vdsl<K> }:vdsl4/0/12

// vdsl4/0/0

vd4/0/12.
{ <cr>|Vdsl<K>|INTEGER<U><1,16> }:1

// 1.

, VDSL deactivate, deactivate all.


MA5300(config-board-vdsl4)#deactivate all // VDSL
4.
MA5300(config-board-vdsl4)#deactivate 0

// VDSL -

0 4.

, VDSL VDSL
vdsl deactivate,
vdsl deactivate all.
MA5300(config)#vdsl deactivate all

// VDSL

.
MA5300(config)#vdsl deactivate 4

// VDSL

4.
MA5300(config)#vdsl deactivate vdsl4/0/0 to vdsl 4/0/12
vdsl4/0/0 vdsl 4/0/12.

117

//

SmartAX MA5300/5303
1

13
VDSL

VDSL, VDSL (VTU-R) VDSL


(VTU-C) . , ,
.

13.9 VDSL
13.9.1 / VDSL
13.8.1 / VDSL.

13.9.2 // VDSL
VDSL , VDSL. - , , ,
(NMS).
0, . ..
, VDSL
5300. , .

I.

VDSL
VDSL vdsl alarmprofile add.


5300 VDSL. ALARM-PROFILE-1 1. , .

VDSL
/ .
:
1) VDSL.
MA5300(config)#vdsl alarm-profile add 2

118

SmartAX MA5300/5303
1

13
VDSL

<Enter> , .
, VDSL
.
2) /
.
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> Will you set threshold for modem at near end of line? (y/n)[n]:y

n ,
8).
y, ,
:
3)
15- .
> [atuc thresh-15-min-lofs] The number of loss of frame seconds within any
given 15-minute performance data collection period (0 900) [0]:

,
15- .
, .
4)
15- .
> [atuc thresh-15-min-loss] The number of loss of signal seconds within
any given 15-minute performance data collection period (0 900) [0]:

5) , 15- .
6) 15 .
> [atuc thresh-15-min-lprs] The number of loss of power seconds within any
given 15-minute performance data collection period (0 900) [0]:

,
15- .
, .
7) 15 .
> [atuc thresh-15-min-ess] The number of loss of errored seconds within
any given 15-minute performance data collection period (0 900) [0]:

119

SmartAX MA5300/5303
1

13
VDSL

,
15-
.
8) / .
> [atuc init failure trap]Enables and disables the InitFailureTrap 1enable 2-disable (1 2) [2]:

enable,
.
9) /
.
> Will you set threshold for modem at remote end of line? (y/n)[n]:y

n ,
2.
y, ,
:
10)
15- .
> [atur thresh-15-min-lofs] The number of loss of frame seconds within any
given 15-minute performance data collection period (0 900) [0]:

3.
11) 15 .
> [atur thresh-15-min-loss] The number of loss of signal seconds within
any given 15-minute performance data collection period (0 900) [0]:

4.
12) 15 .
> [atur thresh-15-min-lprs] The number of loss of power seconds within any
given 15-minute performance data collection period (0 900) [0]:

5.
13) 15 .
> [atur thresh-15-min-ess] The number of loss of errored seconds within
any given 15-minute performance data collection period (0 900) [0]:

6.
14) / .

120

SmartAX MA5300/5303
1

13
VDSL

> [atur init failure trap]Enables and disables the InitFailureTrap 1enable 2-disable (1 2) [2]:

7.
:
Add profile 2 successfully

, VDSL .
, MA5300
/ , / /
.

II. VDSL
VDSL
vdsl alarm-profile delete.


VDSL, ( 1),
.

MA5300(config)#vdsl alarm-profile delete 2


The vdsl alarm profile will be deleted.
Are you sure?[Y/N]y
The vdsl alarm profile 2 has been removed successfully.

III. VDSL
VDSL
vdsl alarm-profile modify. VDSL
.
MA5300(config)#vdsl alarm-profile modify 2
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> Will you set threshold for modem at near end of line? (y/n)[n]:y
> [atuc thresh-15-min-lofs] The number of loss of frame seconds within any
given 15-minute performance data collection period (0 900) [0]:
> [atuc thresh-15-min-loss] The number of loss of signal seconds within
any given 15-minute performance data collection period (0 900) [0]:
> [atuc thresh-15-min-lprs] The number of loss of power seconds within any
given 15-minute performance data collection period (0 900) [0]:

121

SmartAX MA5300/5303
1

13
VDSL

> [atuc thresh-15-min-ess] The number of loss of errored seconds within


any given 15-minute performance data collection period (0 900) [0]:
> [atuc init failure trap]Enables and disables the InitFailureTrap 1enable 2-disable (1 2) [2]:
> Will you set threshold for modem at remote end of line? (y/n)[n]:y
> [atur thresh-15-min-lofs] The number of loss of frame seconds within any
given 15-minute performance data collection period (0 900) [0]:
> [atur thresh-15-min-loss] The number of loss of signal seconds within
any given 15-minute performance data collection period (0 900) [0]:
> [atur thresh-15-min-lprs] The number of loss of power seconds within any
given 15-minute performance data collection period (0 900) [0]:
> [atur thresh-15-min-ess] The number of loss of errored seconds within
any given 15-minute performance data collection period (0 900) [0]:
> [atur init failure trap]Enables and disables the InitFailureTrap 1enable 2-disable (1 2) [2]:
Modify profile 2 successfully
Attention: To effect the modification will disconnect the VDSL interface
which use this template for a few seconds!
Do you want to make it effect? (y/n)[n]:n
It will take effect after VDSL interface deactive and active again!

, , . , VDSL
, ; ,
. .
( 1) .

IV. VDSL
VDSL show vdsl alarm-profile.
.
MA5300(config)#show vdsl alarm-profile 1
Following are all items of the VDSL Alarm-Profile 1:
Alarm-Profile name

: ALARM-PROFILE-1

VTU-C thresh-15-min-lofs(s)

: 0

VTU-C thresh-15-min-loss(s)

: 0

VTU-C thresh-15-min-lprs(s)

: 0

VTU-C thresh-15-min-ess(s)

: 0

VTU-C init failure trap

: DISABLE

VTU-R thresh-15-min-lofs(s)

: 0

VTU-R thresh-15-min-loss(s)

: 0

122

SmartAX MA5300/5303
1

13
VDSL

VTU-R thresh-15-min-lprs(s)

: 0

VTU-R thresh-15-min-ess(s)

: 0

VTU-R init failure trap

: DISABLE


.
.

13.9.3 VDSL
VDSL VDSL. ,
1.
,
VDSL alarm-config, alarm-config all.
MA5300(config-board-vdsl4)#alarm-config
{ all<K>|INTEGER<U><0,23> }:all

// VDSL

4.
{ INTEGER<U><1,16> }:1

// 1.

MA5300(config-board-vdsl4)#alarm-config
{ all<K>|INTEGER<U><0,23> }:0

// 0 VDSL -

4.
{ INTEGER<U><1,16> }:1

// 1

, VDSL VDSL vdsl alarm-config,


vdsl alarm-config all.
MA5300(config)#vdsl alarm-config
{ all<K>|INTEGER<U><0,15>|Vdsl<K> }:all

//

VDSL.
{ INTEGER<U><1,16> }:1

// 1.

MA5300(config)#vdsl alarm-config
{ all<K>|INTEGER<U><0,15>|Vdsl<K> }:4

// VDSL

4.
{ INTEGER<U><1,16> }:1

// 1.

MA5300(config)#vdsl alarm-config
{ all<K>|INTEGER<U><0,15>|Vdsl<K> }:vdsl4/0/0
{ INTEGER<U><1,16>|to<K>|Vdsl<K> }:to

123

SmartAX MA5300/5303
1

13
VDSL

{ Vdsl<K> }:vdsl4/0/12

// vdsl4/0/0

vdsl4/0/12.
{ INTEGER<U><1,16>|Vdsl<K> }:1

// 1.

, VDSL no alarm-config, no alarm-config all.


MA5300(config-board-vdsl4)#no

alarm-config

all

//

VDSL 4.
MA5300(config-board-vdsl4)#no alarm-config 0

// 0

VDSL 4.

, VDSL
VDSL no vdsl alarm-config,
no vdsl alarm-config all.
MA5300(config)#no vdsl alarm-config

//

VDSL.
MA5300(config)#no vdsl alarm-config 4

//

VDSL 4.
MA5300(config)#no vdsl alarm-config vdsl4/0/0 to vdsl 4/0/12

//

vdsl4/0/0 vdsl 4/0/12.

13.9.4 / VDSL
VDSL
VDSL. - , ,
, (NMS).

13.8.3

"/ VDSL".

13.10 VDSL
Ethernet , /
.
5300 VDSL,
Ethernet,
. , ,

. .

I.


, , .
124

SmartAX MA5300/5303
1

13
VDSL

MA5300(config-if- Vdsl4/0/0)#duplex full


MA5300(config-if- Vdsl4/0/0)#speed 100
MA5300(config-if- Vdsl4/0/1)#duplex full
MA5300(config-if- Vdsl4/0/1)#speed 100

II.
link-aggregation
VDSL, no link-aggregation .
MA5300(config)#link-aggregation vdsl4/0/0 to vdsl4/0/0 ingress-egress

III.

show link-aggregation. , .
MA5300(config)#show link-aggregation vdsl4/0/0
Master port: Vdsl4/0/0
Other sub-ports:
Vdsl4/0/1
Mode: ingress

13.11 VDSL
MA5300 VDSL. , VDSL,
VDSL.

13.11.1 / VDSL
I.

/ VDSL
, VDSL,
(ID) 5300 . ,
.
VDSL
5300 VDSL .
5300 vdsl bind cpe, no vdsl bind cpe.
, .

125

SmartAX MA5300/5303
1

13
VDSL


, (
vdsl bind cpe bind-id local).

vdsl bind cpe, ,


MA5300 .
MA5300(config-if-Vdsl4/0/0)#vdsl bind cpe

vdsl bind cpe bind-id,


MA5300
, .
MA5300(config-if-Vdsl4/0/0)#vdsl bind cpe 12

II.
, ,
, show interface.
MA5300(config)#show interface vdsl4/0/23

, port state .
MA5300(config-board-vdsl4)#show port state 23

port cpe-info .
MA5300(config-board-vdsl4)#show port cpe-info 23

13.11.2 /
VDSL
MA5300 VDSL. , VDSL.
5300 , .
.
.
VDSL
5300,

126

SmartAX MA5300/5303
1

13
VDSL

. VDSL 5300, . ,
.

I.


VDSL
vdsl auto-upgrade remote-parameter , no vdsl
auto-upgrade remote-parameter .

, :
MA5300(config)#vdsl auto-upgrade remote-parameter vdsl4/0/0 to vdsl4/0/23

, :
MA5300(config-if-Vdsl4/0/0)#vdsl auto-upgrade remote-parameter

II.
VDSL
vdsl auto-upgrade remote-patch , no vdsl auto-upgrade remote-parameter
.

, :
MA5300(config)#vdsl auto-upgrade remote-patch vdsl4/0/0 to vdsl4/0/23


, :
MA5300(config-if-Vdsl4/0/0)#vdsl auto-upgrade remote-patch

13.12 VDSL

I.

VDSL
VDSL , port reset,
.
MA5300(config-board-vdsl4)#port reset 23

127

SmartAX MA5300/5303
1

13
VDSL

II. VDSL
VDSL ,
chipset reset, .
MA5300(config-board-vdsl4)#chipset reset 1

13.13 VDSL
I.

VDSL
port state
VDSL, port state all .
show vdsl port state.
MA5300(config-board-vdsl4)#show port state 23
Vdsl4/0/23 is up
The VDSL link is active
Bind template No.1 LINE-PROFILE-1
Hardware is Fast Ethernet, Hardware address is 00e0.fc00.0009
Auto-duplex(Full), Auto-speed(100M), _VDSL_TX
Flow control is disabled
Broadcast suppression ratio is 15%
PVID is 1
Priority is 0
Max mac-address learning count: 2
Max multicast group count: 2
Bound with CPE of No.1647403999
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


212 packets output, 0 packets/sec, 52 bytes/sec
92624 bytes, 112 multicasts, 0 broadcasts, 0 pauses
100 packets input, 0 packets/sec, 0 bytes/sec
50400 bytes, 0 multicasts, 0 broadcasts, 0 pauses
0 CRC errors
0 long frames
MA5300(config-board-vdsl4)#show port state all
Interface

PortState

LinkState

Line-Profile

Alarm-Profile

-------------------------------------------------------------------Vdsl4/0/0

down

Activating

Vdsl4/0/1

down

Activating

Vdsl4/0/2

admin down

Deactive

Vdsl4/0/3

down

Activating

128

SmartAX MA5300/5303
1

13
VDSL

Vdsl4/0/4

down

Activating

Vdsl4/0/5

down

Activating

Vdsl4/0/6

down

Activating

Vdsl4/0/7

down

Activating

Vdsl4/0/8

down

Activating

Vdsl4/0/9

down

Activating

Vdsl4/0/10

down

Activating

Vdsl4/0/11

down

Activating

Vdsl4/0/12

down

Activating

Vdsl4/0/13

down

Activating

Vdsl4/0/14

down

Activating

Vdsl4/0/15

down

Activating

Vdsl4/0/16

down

Activating

Vdsl4/0/17

down

Activating

Vdsl4/0/18

down

Activating

Vdsl4/0/19

down

Activating

---- More (Press CTRL+C break) ---


VDSL show interface, port
state.
MA5300(config)#show interface vdsl4/0/23
Vdsl4/0/23 is down
The VDSL link is active
Bind template No.1 LINE-PROFILE-1
Hardware is Fast Ethernet, Hardware address is 00e0.fc00.0009
Auto-duplex, Auto-speed, _VDSL_TX
Flow control is disabled
Broadcast suppression ratio is 15%
PVID is 1
Priority is 0
Max mac-address learning count: 2
Max multicast group count: 2
Bound with CPE of No.1647403999
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


241 packets output, 0 packets/sec, 0 bytes/sec
103332 bytes, 141 multicasts, 0 broadcasts, 0 pauses
100 packets input, 0 packets/sec, 0 bytes/sec
50400 bytes, 0 multicasts, 0 broadcasts, 0 pauses
0 CRC errors
0 long frames

129

SmartAX MA5300/5303
1

13
VDSL

II.
, show line config
.

show vdsl line config.
MA5300(config-board-vdsl4)#show line config 23
Interface

Profile Name

DownStream UpStream

DownSnr

UpSnr

Auto-

Train
Rate(Kbps) Rate(Kbps) Margin(dB) Margin(dB)
-------------------------------------------------------------------------Vdsl4/0/23

LINE-PROFILE-1

12500

12500

6.0

6.0

en-

able

show line state


, , /
, / , / , / , / , / .

show vdsl line state.
MA5300(config-board-vdsl0)#show line state 0
vdsl link status

: active

The actual down-stream rate(Kbps)

: 12500

The actual up-stream rate(Kbps)

: 12500

The down-stream interleave delay(us)

: 1000

The up-stream interleave delay(us)

: 1000

Rmote tx-power spectral density(dBm/Hz)

: -81.610

Local tx-power spectral density(dBm/Hz)

: -66.770

Remote SNR(dB)

: 43.370

Local SNR(dB)

: 34.020

Remote SNR Margin(dB)

: 18.35

Local SNR Margin(dB)

: 15.02

Remote MSE(dB)

: 27.060

Local MSE(dB)

: 24.110

Remote RS count

: 0

Local RS count

: 0

FailCount

: 0

130

SmartAX MA5300/5303
1

13
VDSL

III.

port

version

/ VDSL, , .
MA5300(config-board-vdsl4)#show port version 23
-----------Local--------------------Remote---------Interface

Hw

Sw

Patch

Hw

Sw

Patch

-------------------------------------------------------------------Vdsl4/0/23

0x81

0x2

0x0

0x32

0xb4

0x50

IV. VDSL
1) Ethernet- VDSL.
Ethernet- VDSL show statistics frame.
MA5300(config-board-vdsl4)#show statistics frame 23
Vdsl4/0/23:
218 packets output
95048 bytes, 118 multicast, 0 broadcasts, 0 pause
100 packets input
50400 bytes, 0 multicast, 0 broadcasts, 0 pause
0 FCS errors
0 long frames
The Ethernet statistics in local vdsl link:
0 AlignmentErrors
0 SingleCollisionFrames
0 MultipleCollisionFrames
0 DeferredTransmissions
0 LateCollisionFrames
0 ExcessiveCollisionFrames
0 ReceiveErrors
0 CarrierErrors
0 TooLongErrors
0 SequenceErrors
0 TransmitOctets
1616 ReceiveOctets
0 ReceiveBroadcastFrames
0 ReceivePauseFrames
0 TransmitPauseFrames
0 TransmitFrames
4 ReceiveFrames
The Ethernet statistics in remote vdsl link:

131

SmartAX MA5300/5303
1

13
VDSL

0 AlignmentErrors
0 SingleCollisionFrames
0 MultipleCollisionFrames
0 DeferredTransmissions
0 LateCollisionFrames
0 ExcessiveCollisionFrames
0 ReceiveErrors
0 CarrierErrors
0 TooLongErrors
0 SequenceErrors
1616 TransmitOctets
0 ReceiveOctets
0 ReceiveBroadcastFrames
0 ReceivePauseFrames
0 TransmitPauseFrames
4 TransmitFrames
0 ReceiveFrames

2) VDSL.
show statistics performance VDSL, 15 24 , .
MA5300(config-board-vdsl4)#show

statistics

15minutes 15
Interface Vdsl4/0/23:
<VTU-C>
performance lofs

: 0

performance loss

: 0

performance lprs

: 0

performance ESs

: 0

performance inits

: 0

channel corrected blocks

: 0

channel uncorrected blocks

: 0

performance valid intervals

: 96

performance invalid intervals

: 0

channel performance valid intervals

: 96

channel performance invalid intervals: 0


<VTU-R>
performance lofs

: 0

performance loss

: 0

performance lprs

: 6

performance ESs

: 0

performance inits

: 0

132

performance

23

historic-

SmartAX MA5300/5303
1

13
VDSL

channel corrected blocks

: 0

channel uncorrected blocks

: 0

performance valid intervals

: 96

performance invalid intervals

: 0

channel performance valid intervals

: 96

channel performance invalid intervals: 0

13.14 VDSL

VDSL. MA5300
VDSL , . ,
VDSL, ,
.
metertest. .
. , .
no meter,
. ,
.
MA5300(config-if-Vdsl4/0/0)#meter-test out-line

13.15 VDSL
Ethernet-, ,
. ,
, . 5300 VDSL.
, VDSL, VDSL-.
, .
,
( ), VDSL-.
, .
VDSL
loopback. , , .
133

SmartAX MA5300/5303
1

13
VDSL

, . , no loopback.
.
MA5300(config-if-Vdsl4/0/0)#loopback remote

loopback . . , .
, :
1) ;
2) (VLAN), VDSL, ;
3) VDSL loopback.
, VDSL;
4) ,
, STP ( ).
. , VDSL ;
5) 10
/, ;
6) . ,
;
7) no loopback.

134

SmartAX MA5300/5303
1

14
ADSL

14 ADSL
14.1
5300 ADSL. 14 EADA. EADA 48 ADSL. , 672 ADSL.
EVDA 14 , MA5300.
ADSL :
ADSL ADSL.
ADSL.
ADSL ADSL.
ADSL interface, . ADSL
: / / .
0 6 9 15, 0, 0 47.
, ADSL 3/0/0.
MA5300(config)#interface adsl3/0/0
MA5300(config-if-Adsl3/0/0)#

ADSL.
ADSL
ADSL. ADSL
board-adsl .
, ADSL
3.
MA5300(config)#board-adsl 3
MA5300(config-board-adsl3)#

14.2
ADSL 8 .
: 0-3 , 4-7 . , QoS. 0.

135

SmartAX MA5300/5303
1

14
ADSL

priority,
no priority.
MA5300(config-if-Adsl4/0/0)#priority 0

14.3

5300 255 .
. ,
.

multicast max-group-count,
no multicast max-group-count,
show interface.
MA5300(config-if-Adsl4/0/0)#multicast max-group-count 2
Set max-group number of Adsl4/0/0 to:2 successfully.

14.4 / -
5300 , ADSL, c ,
. /
-,
-, .

I.

-
no mac-address-table maxmac-count no-limit, -.
, - .
-
ADSL :
MA5300(config)#no mac-address-table max-mac-count no-limit slot 4

- ADSL
ADSL:
MA5300(config-if-Adsl4/0/0)#no mac-address-table max-mac-count no-limit

II. -
- , mac-address-table max-mac-count
- , no mac-address-table max-mac-

136

SmartAX MA5300/5303
1

14
ADSL

count . 2.
:
MA5300(config)#mac-address-table max-mac-count 2 adsl4/0/0 to adsl4/0/6

ADSL :
MA5300(config-if-Adsl4/0/0)#mac-address-table max-mac-count 2

III.
show interface.
MA5300(config)#show interface adsl4/0/0

IV. -
mac-address-table max-mac-count no-limit ,
-
ADSL ADSL.
-
ADSL :
MA5300(config)#mac-address-table max-mac-count no-limit slot 4

-
ADSL ADSL:
MA5300(config-if-Adsl4/0/0)#mac-address-table max-mac-count no-limit

14.5 (PVC)
ADSL
14.5.1 PPPoA/IPoA
MA5300 PPPoA PPPoE IPoA IPoE. , 5300 Ethernet.
/
Ethernet SessionID.

I.

PPPoA/IPoA
show atm-terminated,
PPPoA/IPoA, MAC- - .
MA5300(config)#show atm-terminated
Source MAC Address

: None

Destination MAC Address for PPPoA : None

137

SmartAX MA5300/5303
1
Destination MAC Address for IPoA

14
ADSL

: None

II. - PPPoA/IPoA
PVC- PPPoA IPoA, - . ADSL ATM PPPoA IPoA Ethernet, MAC- .
atm-terminated source-mac ,
MAC- PPPoA IPoA:
MA5300(config)#atm-terminated source-mac 0000.1111.2222

III. - PPPoA/IPoA
PVC- PPPoA IPoA, - . ADSL ATM PPPoA IPoA Ethernet, MAC- .
atm-terminated dest-mac , MAC- PPPoA IPoA:
MA5300(config)#atm-terminated dest-mac pppoa 0000.1111.2222

IV. SessionID PPPoA


PPPoA SessionID
. ADSL PPPoA PPPoE,
SessionID .
show atm-terminated session-id, SessionID, . Session-ID
1 16. 128 SessionID. :
MA5300(config)#show atm-terminated session-id
slot

area

start session-id

end session-id

-------------------------------------------------------0

2048

2175

2176

2303

2304

2431

2432

2559

2560

2687

2688

2815

2816

2943

2944

3071

10

3072

3199

11

10

3200

3327

138

SmartAX MA5300/5303
1

14
ADSL

12

11

3328

3455

13

12

3456

3583

14

13

3584

3711

15

14

3712

3839

-------------------------------------------------------Free session-id area:

15

16

atm-terminated session-id , SessionID . , PPPoA, null.


MA5300(config)#atm-terminated session-id
{ INTEGER<U><0,15> }:0
{ INTEGER<U><1,16>|null<K> }:null

14.5.2 PVC ADSL


I.

VPI VCI
PVC, ADSL PVC, VPI VCI
PVC .
PVC , ADSL. , VPI 0, VCI 35.
1) VPI VCI adsl pvc.
:
MA5300(config-if-Adsl11/0/0)#adsl pvc vpi 0 vci 35

:
MA5300(config)#adsl pvc vpi 0 vci 35

2) show adsl line


config show line config.
MA5300(config-if-Adsl11/0/0)#show adsl line config adsl11/0/0
MA5300(config-board-adsl11)#show line config 0

3) VPI VCI
no adsl pvc.
:
MA5300(config-if-Adsl11/0/0)#no adsl pvc

:
MA5300(config)#no adsl pvc all

139

SmartAX MA5300/5303
1

14
ADSL

II. , ADSL
, ADSL, adsl connect-type. auto
; 1483b, pppoa-llc, pppoavcmux, ipoa-llc , , . 1483b.
auto.
:
MA5300(config-if-Adsl1/0/0)#adsl connect-type
{ 1483b<K>|pppoa-llc<K>|pppoa-vcmux<K>|ipoa-llc<K>|auto<K> }:auto
Failed! Not set dest mac address for ipoa!

:
MA5300(config)#adsl connect-type
{ 1483b<K>|pppoa-llc<K>|pppoa-vcmux<K>|ipoa-llc<K>|auto<K> }:auto
{ all<K>|INTEGER<U><0,15>|Adsl<K> }:all
Failed! Not set dest mac address for ipoa!

1) ,
PVC.
2) auto, pppoa-llc, pppoa-vcmux, ipoa-llc,
- PPPoA/IPoA SessionID . 14.5.1 " PPPoA/IPoA".

14.5.3 PVC ADSL


PVC ADSL
PVC .

ADSL.
RTU ADSL 8 PVC.
8 , PPPoEoA,
IPoEoA, IPoA PPPoA.

140

SmartAX MA5300/5303
1

I.

14
ADSL

/
PVC ADSL
, PVC.
PVC ,
multipvc enable. , PVC
, PVC No. 1 .
, .
:
MA5300(config-if-Adsl3/0/0)#multipvc enable

:
MA5300(config)#multipvc enable
{ Adsl<K>|all<K>|INTEGER<U><0,15> }:adsl
{ <3-3> }:3/0/0
{ <cr>|to<K>|Adsl<K> }:

PVC multipvc disable. ,


PVC , PVC.
:
MA5300(config-if-Adsl3/0/0)#multipvc disable

:
MA5300(config)#multipvc disable
{ Adsl<K>|all<K>|INTEGER<U><0,15> }:adsl
{ <3-3> }:3/0/0
{ <cr>|to<K>|Adsl<K> }:

, show multipvc
PVC. - , - , , PVC.
MA5300(config)#show multipvc
{ <cr>|config<K> }:
Source MAC Address

: 00e0.fc20.3c00

Destination MAC Address for PPPoA : None


Destination MAC Address for IPoA

: None

Enabled multi-pvc function port(s):


Adsl3/0/0

141

SmartAX MA5300/5303
1

14
ADSL

II. PVC ADSL


show multipvc config , PVC ADSL.
PVC, PVC , .
MA5300(config)#show multipvc config adsl 3/0/0
{ <cr>|to<K>|Adsl<K> }:
Adsl3/0/0:
Multi-Pvc mode: enable
PVC 1: enable
PVC connect type: 1483B
PVC

: vpi is 0, vci is 35

CAR

: ds-band is 255, us-band is 255

PVID

: 1

Priority

: 0

Support Down MultiCast Stream: enable


Support IGMP packet

: enable

Output : 0 packets, 0 cells


Input

: 0 packets, 0 cells

To CPU : 0 packets
PVC 2: disable
PVC 3: disable
PVC 4: disable
PVC 5: disable
PVC 6: disable
PVC 7: disable
PVC 8: disable

ADSL 8 PVC.
PVC ADSL, multipvc add,
.
:
MA5300(config-if-Adsl3/0/0)#multipvc add
{ pvcindex<K> }:pvcindex
{ INTEGER<U><1,8> }:2
{ vpi<K> }:vpi
{ INTEGER<U><0,255> }:1
{ vci<K> }:vci
{ INTEGER<U><0,511> }:25
{ connect-type<K> }:connect-type

142

SmartAX MA5300/5303
1

14
ADSL

{ 1483b<K>|pppoa-llc<K>|pppoa-vcmux<K>|ipoa-llc<K>|auto<K> }:1483b
{ vlan<K> }:vlan
{ INTEGER<U><0,4000> }:2

:
MA5300(config)#multipvc add
{ all<K>|INTEGER<U><0,15>|Adsl<K> }:adsl
{ <3-3> }:3/0/0
{ pvcindex<K>|to<K>|Adsl<K> }:pvcindex
{ INTEGER<U><1,8> }:2
{ vpi<K> }:vpi
{ INTEGER<U><0,255> }:1
{ vci<K> }:vci
{ INTEGER<U><0,511> }:25
{ connect-type<K> }:connect-type
{ 1483b<K>|pppoa-llc<K>|pppoa-vcmux<K>|ipoa-llc<K>|auto<K> }:1483b
{ vlan<K> }:vlan
{ INTEGER<U><1,4000> }:2

multipvc add ,
:
PVC .
ADSL 8 PVC,
ADSL 128 PVC, ,
PVC 128.
PVC ADSL
VLAN, , PVC VLAN.
VPI VCI .
PVC AUTO, PPPoA IPoA,
MAC- PPPoA IPoA, SessionID
. .
14.5.1
" PPPoA/IPoA".
PVC 1 . PVC.
, .

III. PVC ADSL


PVC ADSL
multipvc modify.
, VPI, VCI PVC 2 adsl3/0/0 .

143

SmartAX MA5300/5303
1

14
ADSL

MA5300(config-if-Adsl3/0/0)#multipvc modify
{ pvcindex<K> }:pvcindex
{ INTEGER<U><1,8> }:2
{

vpi<K>|connect-type<K>|vlan<K>|car<K>|priority<K>|support-down-mcast-

stream<K>
|support-igmp-pkt<K> }:vpi
{ INTEGER<U><0,255> }:5
{ vci<K> }:vci
{ INTEGER<U><0,511> }:55

, VPI, VCI PVC 2 adsl3/0/0 .


MA5300(config)#multipvc modify
{ all<K>|INTEGER<U><0,15>|Adsl<K> }:adsl
{ <3-3> }:3/0/0
{ pvcindex<K>|to<K>|Adsl<K> }:pvcindex
{ INTEGER<U><1,8> }:2
{

vpi<K>|connect-type<K>|vlan<K>|car<K>|priority<K>|support-down-mcast-

stream<K>
|support-igmp-pkt<K> }:vpi
{ INTEGER<U><0,255> }:5
{ vci<K> }:vci
{ INTEGER<U><0,511> }:55

IV. PVC ADSL


PVC ADSL multipvc delete.
PVC 1 .
, PVC 2 adsl3/0/0
.
MA5300(config-if-Adsl3/0/0)#multipvc delete
{ pvcindex<K> }:pvcindex
{ INTEGER<U><1,8> }:2

, PVC 2 adsl3/0/0 .
MA5300(config-if-Adsl3/0/0)#multipvc delete
{ pvcindex<K> }:pvcindex
{ INTEGER<U><1,8> }:2
MA5300(config-if-Adsl3/0/0)#exit
MA5300(config)#multipvc delete
{ all<K>|INTEGER<U><0,15>|Adsl<K> }:adsl
{ <3-3> }:3/0/0
{ pvcindex<K>|to<K>|Adsl<K> }:pvcindex

144

SmartAX MA5300/5303
1

14
ADSL

{ INTEGER<U><1,8> }:2

V. PVC
PVC ADSL
multipvc modify. ADSL PVC, , PVC, IGMP.
:
MA5300(config-if-Adsl3/0/0)#multipvc modify
{ pvcindex<K> }:pvcindex
{ INTEGER<U><1,8> }:2
{

vpi<K>|connect-type<K>|vlan<K>|car<K>|priority<K>|support-down-mcast-

stream<K>
|support-igmp-pkt<K> }:support-down-mcast-stream

:
MA5300(config)#multipvc modify
{ all<K>|INTEGER<U><0,15>|Adsl<K> }:adsl
{ <3-3> }:3/0/0
{ pvcindex<K>|to<K>|Adsl<K> }:pvcindex
{ INTEGER<U><1,8> }:2
{

vpi<K>|connect-type<K>|vlan<K>|car<K>|priority<K>|support-down-mcast-

stream<K>
|support-igmp-pkt<K> }:support-down-mcast-stream

14.6 CAR ADSL


ADSL , EADA. (CAR). , ADSL
/ 255 /,
64 /.
1) ADSL / adsl car;
MA5300(config-if-Adsl11/0/0)#adsl car ds-band 255 us-band 255

2) show adsl line config


show line config;
MA5300(config-if-Adsl11/0/0)#show adsl line config adsl11/0/0
MA5300(config-board-adsl11)#show line config 0

3) no adsl car.
MA5300(config-if-Adsl11/0/0)#no adsl car

145

SmartAX MA5300/5303
1

14
ADSL

14.7 IP- ADSL


IP- IP-
,
IP-.
, , .
IP- , static-user
ADSL; IP- ,
no static-user ADSL .
MA5300(config-if-Adsl1/0/0)#static-user 10.71.53.2

show, IP .
MA5300#show static-user adsl 1/0/0
The static user info:
Adsl1/0/0

: 10.71.53.2

14.8 ADSL
14.8.1 / ADSL
, ,
. , no
block , .
.
,
activate.
, ADSL 5300 .
(no) block /
DSL, (no) block all - / . port state
ADSL,
.
MA5300(config-board-adsl4)#no block all


ADSL : , , , , .
show interface state. . 14-1
.

146

SmartAX MA5300/5303
1

no block
blocked

14
ADSL

activate
active

deactive
block

deactivate
block

blocked ;
no block ;
block ;
deactive ;
activate ;
deactivate ;
active ;
block .
. 14-1

14.8.2 // ADSL
ADSL / , / , / ..
,
, , . , . MA5300
ADSL. , .

I.

ADSL
ADSL adsl line-profile
add.


MA5300 ADSL. LINE-PROFILE-1 ,
LINE-PROFILE-2 .
, LINE-PROFILE-1 .

147

SmartAX MA5300/5303
1

14
ADSL

. 14-2 ,
ADSL. , ,
ADSL.

148

SmartAX MA5300/5303
1

14
ADSL

ADSL

ADSL

DMT

. 14-2 ADSL

149

SmartAX MA5300/5303
1

14
ADSL

:
1) ADSL.
MA5300(config)#adsl line-profile add 3
Start profile 3 adding.

<Enter>, . , ADSL .
2) / .
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> Will you set basic configuration for modem? (y/n)[n]:y

, . , n; , y.
:
3) ADSL.
> ADSL operating mode:
>

0: All(G992.1, G992.2, T1.413)

>

1: Full rate(G992.1 or T1.413)

>

2: G992.2(g.lite)

>

3: T1.413

>

4: G992.1(g.dmt)

>

5: g.hs(G992.1 and G992.2, G992.1 is prior)

> Please select (0 5) [0]:0

ADSL.
ADSL, G992.1, G992.2
T1.413 . ,
G992.2, , G992.1 T1.413.
G992.2 1536 /
512 / . , G992.1 , T1.413:
6144 / 640 / .
MA5300 ATU-R ( ADSL)
. . ATU-R
ADSL, MA5300 . , MA5300 G992.1, G992.2 T1.413.
ATUR. "0", :
4) / .

150

SmartAX MA5300/5303
1

14
ADSL

> Trellis coding 1-enable 2-disable (1 2) [1]:1

.
,
/ (SNR) ADSL. . ,
"1". :
5) / .
> Upstream channel bit swap 1-enable 2-disable (1 2) [2]:2

/ .
ADSL, / (SNR) . - .


,
EADA, ATU-R. ,
EADA.

6) / .
> Downstream channel bit swap 1-enable 2-disable (1 2) [2]:2

/ . .
7) / .
> Will you set channel mode? (y/n)[n]:y


. ,
. :
8) .
> Please select channel mode 0-interleaved 1-fast (0 1) [1]:0

.
: .
. , ADSL . . , 151

SmartAX MA5300/5303
1

14
ADSL

, " " (VOD),


.
<0>, , <1>, . <0>, :
9) .
Will you set interleave depth? (y/n) [n]: Y

.
ADSL : ,
ADSL, .
y, , :
10) .
Maximum

downstream

interleaved

depth

2,4,8,16,32,64,128

DMT

(2

128)

[64]:64


. : 2, 4, 8, 16, 32, 64 128.
, ADSL,
. : 64.
11) .
Maximum upstream interleaved depth 2,4,8,16,32,64,128 DMT (2 128) [64]:64


. : 64. .
12) .
Will you set noise margin for modem? (y/n) [n]: Y

.
,
(BER). .

ADSL. ,
. . , . ,
.
152

SmartAX MA5300/5303
1

14
ADSL

, "N".
"Y", ,
:
13) .
> Minimum noise margin in downstream (0 15 dB) [0]:0


. ADSL , ADSL ,
, ADSL .
0. 0, :
14) .
> Maximal noise margin in downstream (0 31 dB) [31]:31


. ADSL ,
, ,
.

31 . 31, :
15)
.
Target noise margin in downstream (0 15 dB) [12]: 12

. . , , . , /, ,
.
, . , , .
, .

153

SmartAX MA5300/5303
1

14
ADSL

ADSL . 12 .
12, :
16) .
> Minimum noise margin in upstream (0 15 dB) [0]:


. , 13.
:
17) .
> Maximal noise margin in upstream (0 31 dB) [31]:


. , 14.
:
18)
.
> Target noise margin in upstream (0 15 dB) [12]:

. , 15.
:
19) .
> Will you set parameters for rate? (y/n)[n]:y

, ADSL. ADSL. , "N".


y, , :
20) .
> If you want the fixed rate, set the Minimum value equal to Maximum
value.
> Minimum bit rate in downstream (32 8160 Kbps) [32]:32

: if you want a fixed rate, set the minimum value equal to the
maximum value ( , ). , .. -

154

SmartAX MA5300/5303
1

14
ADSL

, , ADSL .
. ADSL ,
, , ADSL
. 32 /.
32, :
21) .
> Maximum bit rate in downstream (32 8160 Kbps) [6144]:6144

. ADSL , ,
ADSL , , . ,
.
, , ,
ADSL ,

.
ADSL,
6144 /.
6144, :
22) .
> Minimum bit rate in upstream (32 896 Kbps) [32]:32

. ADSL ,
, , ADSL .
32 /. 32, :
23) .
> Maximum bit rate in upstream (32 896 Kbps) [640]:640

. ADSL , , ADSL , 155

SmartAX MA5300/5303
1

14
ADSL

, . .
, , ,
ADSL ,

. ADSL,
640
/.
640 , .
Add profile 2 successfully

, 2,
. , .
24) ADSL.
ADSL adsl
line-profile delete.


ADSL, ( 1 2),
.

MA5300(config)#adsl line-profile delete 3


The adsl line config profile will be deleted.
Are you sure?[Y/N]y

The adsl line config profile 3 has been removed successfully.

25) ADSL.
ADSL adsl line-profile
modify. ADSL
.
MA5300(config)#adsl line-profile modify 3
Start modifing profile 3.
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> Will you set basic configuration for modem? (y/n)[n]:y

156

SmartAX MA5300/5303
1

14
ADSL

> ADSL operating mode:


>

0: All(G992.1, G992.2, T1.413)

>

1: Full rate(G992.1 or T1.413)

>

2: G992.2(g.lite)

>

3: T1.413

>

4: G992.1(g.dmt)

>

5: g.hs(G992.1 and G992.2, G992.1 is prior)

> Please select

(0 5) [0]:

> Trellis coding 1-enable 2-disable (1 2) [1]:


> Upstream channel bit swap 1-enable 2-disable (1 2) [2]:
> Downstream channel bit swap 1-enable 2-disable (1 2) [2]:
> Will you set channel mode? (y/n)[n]:y
> Please select channel mode 0-interleaved 1-fast (0 1) [1]:
> Will you set noise margin for modem? (y/n)[n]:y
> Minimum noise margin in downstream (0 15 dB) [0]:
> Maximal noise margin in downstream (0 31 dB) [31]:
> Target noise margin in downstream(0 15 dB) [12]:
> Minimum noise margin in upstream (0 15 dB) [0]:
> Maximal noise margin in upstream (0 31 dB) [31]:
> Target noise margin in upstream (0 15 dB) [12]:
> Will you set parameters for rate? (y/n)[n]:y
> If you want the fixed rate, set the Minimum value equal to Maximum
value.
> Minimum bit rate in downstream (32 8160 Kbps) [32]:
> Maximum bit rate in downstream (32 8160 Kbps) [6144]:
> Minimum bit rate in upstream (32 896 Kbps) [32]:
> Maximum bit rate in upstream (32 896 Kbps) [640]:
Modify profile 3 successfully
Attention: To effect the modification will disconnect the ADSL interface
which use
this profile for a few seconds!
Do you want to make it effect? (y/n)[n]:n
It will take effect after ADSL interface deactive and active again!

, ,
. , ADSL , ; ,
. .
1 2 .
26) ADSL.

157

SmartAX MA5300/5303
1

14
ADSL

ADSL
show adsl line-profile.
ADSL .
MA5300(config)#show adsl line-profile 1

Following are all items of the ADSL Line-Profile 1:


Line-Profile name
atuc

rate

: LINE-PROFILE-1

mode

ADSL_RATEMODE_ADAPTATSTARTUP
atuc rate channel ratio(%)

: 100

atuc target SNR Margin(dB)

: 12

atuc max SNR Margin(dB)

: 31

atuc min SNR Margin(dB)

: 0

atuc downshift SNR Margin(dB)

: 0

atuc upshift SNR Margin(dB)

: 0

atuc min upshift time(s)

: 0

atuc min downshift time(s)

: 0

atuc channel fast min tx-rate(Kbps)

: 32

atuc channel fast max tx-rate(Kbps)

: 6144

atuc down bit swap mode

: disable

atuc up bit swap mode

: disable

atuc trellions mode

: enable

atuc transmission mode

: all

atuc channel mode

: FAST

atur

rate

mode

ADSL_RATEMODE_ADAPTATSTARTUP
atur rate channel ratio(%)

: 100

atur target SNR Margin(dB)

: 12

atur max SNR Margin(dB)

: 31

atur min SNR Margin(dB)

: 0

atur downshift SNR Margin(dB)

: 0

atur upshift SNR Margin(dB)

: 0

atur min upshift time(s)

: 0

atur min downshift time(s)

: 0

atur channel fast min tx-rate(Kbps)

: 32

atur channel fast max tx-rate(Kbps)

: 640

158

SmartAX MA5300/5303
1

14
ADSL

14.8.3 / ADSL
, ADSL , . ATU-C ATU-R. ,
, / . ATU-C ATU-R, , 5300 . , ATU-C
ATU-R .
.
, (),
. CPE
, , ATU-C
. CPE , . .
, ADSL activate, activate all.
, , .
MA5300(config-board-adsl11)#activate
{ all<K>|INTEGER<U><0,47> }:all

// ADSL

11.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

MA5300(config-board-adsl11)#activate
{ all<K>|INTEGER<U><0,47> }:0

// 0 ADSL

1.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

, ADSL
adsl activate,
adsl activate all.
MA5300(config)#adsl activate
{ all<K>|INTEGER<U><0,15>|Adsl<K> }: all

// ADSL -

.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

MA5300(config)#adsl activate
{ all<K>|INTEGER<U><0,15>|Adsl<K> }:11

// ADSL

4.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

159

SmartAX MA5300/5303
1

14
ADSL

MA5300(config)#adsl activate
{ all<K>|INTEGER<U><0,15>|Adsl<K> }:adsl11/0/0
{ <cr>|to<K>|Adsl<K>|INTEGER<U><1,16> }:to
{ Adsl<K> }:adsl11/0/2

// adsl11/0/0

adsl11/0/2.
{ <cr>|Adsl<K>|INTEGER<U><1,16> }:1

// 1.

, deactivate ADSL,
deactivate all .
MA5300(config-board-adsl4)#deactivate all // ADSL
4
MA5300(config-board-adsl4)#deactivate 0

// ADSL 0

, ADSL adsl deactivate, adsl deactivate all.


MA5300(config)#adsl deactivate all

//


MA5300(config)#adsl deactivate 4

// ADSL

4
MA5300(config)#adsl deactivate adsl4/0/0 to adsl 4/0/12

//

adsl4/0/0 adsl 4/0/12

ADSL ATU-R
and ATU-C . , ,
.

14.9 ADSL
14.9.1 //
ADSL
ADSL
, ADSL.
- ,
,
(NMS). , 5300
ADSL. ,
.
1) ADSL.

160

SmartAX MA5300/5303
1

14
ADSL

ADSL
adsl alarm-profile add.


5300 ADSL.
ALARM-PROFILE-1, 1. ,
.

ADSL

/ .
:
1) ADSL.
MA5300(config)#adsl alarm-profile add 2
Start profile 2 adding.

<Enter>, . , ADSL
.
2) /
.
'CTRL+C',
.
> Will you set threshold for modem at near end of line? (y/n)[n]:y y

n, 13.
y, ,
:
3)
15- .
> [atuc thresh-15-min-lofs] The number of loss of frame seconds within any
given 15-minute performance data collection period (0 900) [0]:

,
15- ,
.
, .

161

SmartAX MA5300/5303
1

14
ADSL

4) 15 .
> [atuc thresh-15-min-loss] The number of loss of signal seconds within
any given 15-minute performance data collection period (0 900) [0]:

,
15-
.
5) 15 .
> [atuc thresh-15-min-lols] The number of loss of link seconds within any
given 15-minute performance data collection period (0 900) [0]:

,
15- ,
. , .
6) 15 .
> [atuc thresh-15-min-lprs] The number of loss of power seconds within any
given 15-minute performance data collection period (0 900) [0]:

,
15- . , .
7) 15 .
> [atuc thresh-15-min-ess] The number of loss of errored seconds within
any given 15-minute performance data collection period (0 900) [0]:

,
15-

.
8)
.
> [atuc thresh-fast-rate-up] The threshold for fast channels, if the difference between the current Tx rate and the previous Tx rate larger than
it (0 8160 Kbps) [0]:

,
15- ,
-

162

SmartAX MA5300/5303
1

14
ADSL

. ,
.
9)
.
> [atuc thresh-fast-rate-down] The threshold for fast channels, if the
difference between the current Tx rate and the previous Tx rate litter
than it (0 8160 Kbps) [0]:

,
15- ,

. ,
.
10) .
> [atuc thresh-interleave-rate-up] The threshold for interleave channels,
if the difference between the current Tx rate and the previous Tx rate
larger than it (0 8160 Kbps) [0]:

8.
11) .
> [atuc thresh-interleave-rate-down] The threshold for interleave channels, if the difference between the current Tx rate and the previous Tx
rate litter than it (0 8160 Kbps) [0]:

9.
12) / .
> [atuc init failure trap]Enables and disables the InitFailureTrap 1enable 2-disable (1 2) [2]:

enable, .
13) / .
> Will you set threshold for modem at remote end of line? (y/n)[n]:y

n, 22). y,
, :
14)
15- .
> [atur thresh-15-min-lofs] The number of loss of frame seconds within any
given 15-minute performance data collection period (0 900) [0]:

163

SmartAX MA5300/5303
1

14
ADSL

3.
15) 15 .
> [atur thresh-15-min-loss] The number of loss of signal seconds within
any given 15-minute performance data collection period (0 900) [0]:

4.
16) 15 .
> [atur thresh-15-min-lprs] The number of loss of power seconds within any
given 15-minute performance data collection period (0 900) [0]:

6.
17) 15 .
> [atur thresh-15-min-ess] The number of loss of errored seconds within
any given 15-minute performance data collection period (0 900) [0]:

7.
18)
.
> [atur thresh-fast-rate-up] The threshold for fast channels, if the difference between the current Tx rate and the previous Tx rate larger than
it (0 8160 Kbps) [0]:

8.
19)
.
> [atur thresh-fast-rate-down] The threshold for fast channels, if the
difference between the current Tx rate and the previous Tx rate litter
than it (0 8160 Kbps) [0]:

9.
20) .
> [atur thresh-interleave-rate-up] The threshold for interleave channels,
if the difference between the current Tx rate and the previous Tx rate
larger than it (0 8160 Kbps) [0]:

8.
21) .
> [atur thresh-interleave-rate-down] The threshold for interleave channels, if the difference between the current Tx rate and the previous Tx
rate litter than it (0 8160 Kbps) [0]:

164

SmartAX MA5300/5303
1

14
ADSL

9.
, ADSL.
Add profile 2 successfully

, MA5300
/ , / /
.
22) ADSL.
ADSL adsl alarm-profile delete.


ADSL ( 1)
.

MA5300(config)#adsl alarm-profile delete 2


The adsl alarm profile will be deleted.
Are you sure?[Y/N]y
The adsl alarm config profile 2 has been removed successfully.

23) ADSL.
ADSL adsl alarm-profile modify. ADSL .
MA5300(config)#adsl alarm-profile modify 3
Start modifing profile 3.
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> Will you set threshold for modem at near end of line? (y/n)[n]:y
> [atuc thresh-15-min-lofs] The number of loss of frame seconds within any
given 15-minute performance data collection period (0 900) [0]:
> [atuc thresh-15-min-loss] The number of loss of signal seconds within
any given 15-minute performance data collection period (0 900) [0]:
> [atuc thresh-15-min-lols] The number of loss of link seconds within any
given 15-minute performance data collection period (0 900) [0]:
> [atuc thresh-15-min-lprs] The number of loss of power seconds within any
given 15-minute performance data collection period (0 900) [0]:

165

SmartAX MA5300/5303
1

14
ADSL

> [atuc thresh-15-min-ess] The number of loss of errored seconds within


any given 15-minute performance data collection period (0 900) [0]:
> [atuc thresh-fast-rate-up] The threshold for fast channels, if the difference between the current Tx rate and the previous Tx rate larger than
it (0 8160 Kbps) [0]:
> [atuc thresh-fast-rate-down] The threshold for fast channels, if the
difference between the current Tx rate and the previous Tx rate litter
than it (0 8160 Kbps) [0]:
> [atuc thresh-interleave-rate-up] The threshold for interleave channels,
if thedifference between the current Tx rate and the previous Tx rate larger than it (0 8160 Kbps) [0]:
> [atuc thresh-interleave-rate-down] The threshold for interleave channels, if the difference between the current Tx rate and the previous Tx
rate litter than it (0 8160 Kbps) [0]:
> [atuc init failure trap]Enables and disables the InitFailureTrap 1enable 2-disable (1 2) [2]:
> Will you set threshold for modem at remote end of line? (y/n)[n]:y
> [atur thresh-15-min-lofs] The number of loss of frame seconds within any
given 15-minute performance data collection period (0 900) [0]:
> [atur thresh-15-min-loss]The number of loss of signal seconds within any
given 15-minute performance data collection period (0 900) [0]:
> [atur thresh-15-min-lprs] The number of loss of power seconds within any
given 15-minute performance data collection period (0 900) [0]:
> [atur thresh-15-min-ess] The number of loss of errored seconds within
any given 15-minute performance data collection period (0 900) [0]:
> [atur thresh-fast-rate-up] The threshold for fast channels, if the difference between the current Tx rate and the previous Tx rate larger than
it (0 8160 Kbps) [0]:
> [atur thresh-fast-rate-down] The threshold for fast channels, if the
difference between the current Tx rate and the previous Tx rate littler
than it (0 8160 Kbps) [0]:
> [atur thresh-interleave-rate-up] The threshold for interleave channels,
if the difference between the current Tx rate and the previous Tx rate
larger than it (0 8160 Kbps) [0]:
> [atur thresh-interleave-rate-down] The threshold for interleave channels, if the difference between the current Tx rate and the previous Tx
rate littler than it (0 8160 Kbps) [0]:
Modify profile 3 successfully
Attention: To effect the modification will disconnect the ADSL interface
which use this profile for a few seconds!
Do you want to make it effect? (y/n)[n]:n
It will take effect after ADSL interface deactive and active again!

166

SmartAX MA5300/5303
1

14
ADSL

, , . , ADSL
, ; ,
. .
( 1) .
24) ADSL.

ADSL show adsl alarm-profile. ADSL .
MA5300(config)#show adsl alarm-profile 1

Following are all items of the ADSL Alarm-Profile 1:


Alarm-Profile name

: ALARM-PROFILE-1

atuc thresh-15-min-lofs(s)

: 0

atuc thresh-15-min-loss(s)

: 0

atuc thresh-15-min-lols(s)

: 0

atuc thresh-15-min-lprs(s)

: 0

atuc thresh-15-min-ess(s)

: 0

atuc thresh-fast-rate-up(Kbps)

: 0

atuc thresh-interleave-rate-up(Kbps): 0
atuc thresh-fast-rate-down(Kbps)

: 0

atuc thresh-interleave-rate-down(Kbps): 0
atuc init failure trap

: disable

atur thresh-15-min-lofs(s)

: 0

atur thresh-15-min-loss(s)

: 0

atur thresh-15-min-lprs(s)

: 0

atur thresh-15-min-ess(s)

: 0

atur thresh-fast-rate-up(Kbps)

: 0

atur thresh-interleave-rate-up(Kbps): 0
atur thresh-fast-rate-down(Kbps)

: 0

atur thresh-interleave-rate-down(Kbps): 0

14.9.2 ADSL
ADSL,
ADSL. ,
1.
1) ,
ADSL alarm-config,
alarm-config all.

167

SmartAX MA5300/5303
1

14
ADSL

MA5300(config-board-adsl4)#alarm-config all 1

// -

1 ADSL 4.
MA5300(config-board-adsl4)#alarm-config 0 1

// -

1 0 ADSL 4.

2) , ADSL adsl alarm-config,


adsl alarm-config all.
MA5300(config)#adsl alarm-config all 1

//

1 ADSL.
MA5300(config)#adsl alarm-config 4 1

//

1 ADSL 4.
MA5300(config)#adsl alarm-config adsl4/0/0 to

adsl4/0/12 1

//

1 adsl4/0/0 adsl4/0/12.

3) , ADSL
no alarm-config, no alarm-config all.
MA5300(config-board-adsl4)#no

alarm-config

all

//

ADSL 4.
MA5300(config-board-adsl4)#no alarm-config 0

// 0

ADSL 4.

4) , ADSL
no adsl alarm-config,
no adsl alarm-config all.
MA5300(config)#no adsl alarm-config

//

ADSL .
MA5300(config)#no adsl alarm-config 4

//

ADSL 4.
MA5300(config)#no adsl alarm-config adsl4/0/0 to adsl 4/0/12

//

adsl4/0/0 adsl 4/0/12

14.9.3 / ADSL
ADSL ,
. ADSL ,
.
ADSL
ADSL. - , , - (NMS).

168

SmartAX MA5300/5303
1

14
ADSL

14.8.3
/ ADSL.
1) ADSL.
ADSL ,
chipset reset, .
MA5300(config-board-adsl4)#chipset reset 1

14.10 ADSL
1) ADSL.
port state
ADSL, port state all .
show adsl port state.
MA5300(config-board-adsl11)#show port state 23
Adsl11/0/23 is down
The ADSL link is activating
Bind Line-profile No.1 LINE-PROFILE-1
Bind alarm-profile No.1 ALARM-PROFILE-1
Hardware

is

Ethernet

over

ATM

over

ADSL,

Hardware

address

00e0.fc00.0009
Encapsulation type is 1483B
Line coding type is DMT
Local-Tx-Rate 0 Kbps, Remote-Tx-Rate 0 Kbps, _ADSL_TX
PVC: vpi is 0, vci is 35
CAR: ds-band is 255, us-band is 255
PVID is 1
Priority is 0
Max mac-address learning count: 2
Max multicast group count: 2
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


Output: 0 packets, 0 cells
Input: 0 packets, 0 cells
To CPU: 0 packets
Discard: 0 packets
MA5300(config-board-adsl11)#show port state all
Interface

PortState

LinkState

Line-Profile

Alarm-Profile

-------------------------------------------------------------------Adsl11/0/0

down

Activating

Adsl11/0/1

down

Activating

169

is

SmartAX MA5300/5303
1

14
ADSL

Adsl11/0/2

down

Activating

Adsl11/0/3

down

Activating

Adsl11/0/4

down

Activating

Adsl11/0/5

down

Activating

Adsl11/0/6

down

Activating

Adsl11/0/7

down

Activating

Adsl11/0/8

down

Activating

Adsl11/0/9

down

Activating

Adsl11/0/10 down

Activating

Adsl11/0/11 down

Activating

Adsl11/0/12 down

Activating

Adsl11/0/13 down

Activating

Adsl11/0/14 down

Activating

Adsl11/0/15 down

Activating

Adsl11/0/16 down

Activating

Adsl11/0/17 down

Activating

Adsl11/0/18 down

Activating

Adsl11/0/19 down

Activating

---- More (Press CTRL+C break) ---


ADSL show interface, port
state.
MA5300(config)#show interface adsl11/0/23
Adsl11/0/23 is down
The ADSL link is activating
Bind Line-profile No.1 LINE-PROFILE-1
Bind alarm-profile No.1 ALARM-PROFILE-1
Hardware

is

Ethernet

over

ATM

over

ADSL,

Hardware

00e0.fc00.0009
Encapsulation type is 1483B
Line coding type is DMT
Local-Tx-Rate 0 Kbps, Remote-Tx-Rate 0 Kbps, _ADSL_TX
PVC: vpi is 0, vci is 35
CAR: ds-band is 255, us-band is 255
PVID is 1
Priority is 0
Max mac-address learning count: 2
Max multicast group count: 2
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


Output: 0 packets, 0 cells

170

address

is

SmartAX MA5300/5303
1

14
ADSL

Input: 0 packets, 0 cells


To CPU: 0 packets
Discard: 0 packets

2) .
show line config .
MA5300(config-board-adsl11)#show line config 23
interface

Line-

Alarm-

---Pvc---

-----Car-----

CodingType

LineType
Profile

Profile

vpi

vci

dsBand usBand

-------------------------------------------------------------------Adsl11/0/23

35

255

255

DMT

FAST

show line state


, , /
, / ,
, / , ,
,
.
MA5300(config-board-adsl11)#show line state 23

Interface Adsl11/0/23
Current Link Status

: active

Atuc
Current Snr Margin(dB)

: 24

Current Chan Attenuation(dB)

: 0

Current Output Power(dBm)

: 10

Current Attainable Rate(Kbps)

: 9408

Current Transmission Mode

: G.DMT

Channel Interleave Delay(ms)

: 0

Channel Current tx-Rate(Kbps)

: 6144

Channel Previous tx-Rate(Kbps)

: 0

Channel Crc-block Length

: 0

Atur
Current Snr Margin(dB)

: 21

Current Chan Attenuation(dB)

: 4

Current Output Power(dBm)

: 10

Current Attainable Rate(Kbps)

: 992

Channel Interleave Delay(ms)

: 0

Channel Current tx-Rate(Kbps)

: 640

Channel Previous tx-Rate(Kbps)

: 0

171

SmartAX MA5300/5303
1
Channel Crc-block Length

14
ADSL

: 0

3) / .
show inventory ADSL- / , ,
.
MA5300(config-board-adsl11)#show inventory atu-r 23
--------------Atuc-------------------------Atur-----------interface

Vendor

Vendor

Version

Vendor

Vendor

Ver-

ID

Num-

sion
SerialNumber

ID

Number

SerialNumber

ber
-------------------------------------------------------------------Adsl11/0/23

TSTC

4) ADSL.
show statistics
ADSL, 15 24 ,
.
MA5300(config-board-adsl11)#show

statistics

15minutes 15

Interface Adsl11/0/23:
<ATU-C>
IntervalNumber

: 15

IntervalValidData

: INVALID

performance lofs

: 0

performance loss

: 0

performance lprs

: 0

performance ESs

: 0

performance lols

: 0

performance inits

: 0

channel IntervalNumber

: 15

channel IntervalValidData

: INVALID

channel received blocks

: 0

channel transmitted blocks

: 0

channel corrected blocks

: 0

channel uncorrected blocks

: 0

<ATU-R>
IntervalNumber

: 15

IntervalValidData

: INVALID

performance lofs

: 0

performance loss

: 0

172

performance

23

historic-

SmartAX MA5300/5303
1

14
ADSL

performance lprs

: 0

performance ESs

: 0

performance lols

: 0

performance inits

: 17153832

channel IntervalNumber

: 15

channel IntervalValidData

: INVALID

channel received blocks

: 0

channel transmitted blocks

: 0

channel corrected blocks

: 0

channel uncorrected blocks

: 0

14.11 ADSL
MA5300 ADSL
,
. .
ADSL,
,
.
metertest. .
. ,
. , no meter,
. ,
.
MA5300(config-if-Adsl4/0/0)#meter-test out-line

14.12 ADSL
Ethernet-, ,
. ,
, . 5300 ADSL . ,
ADSL , ADSL-. ,
, .
ADSL loopback. , , . ,

173

SmartAX MA5300/5303
1

14
ADSL

. ,
no loopback. .
MA5300(config-if-Adsl11/0/0)#loopback local

loopback . , .
, :
.
(VLAN), ( ADSL),
.
ADSL loopback.
,
, STP ( ).
.
10
/, .
.
,
.
no loopback.

174

SmartAX MA5300/5303
1

15
ADSL2+

15 ADSL2+
, ADSL2+, , ADSL.
ADSL2+ ADSL,
.
15.3 " ADSL2+"
,
ADSL.
, ADSL2+, , ADSL. ,
.
, EADA ADSL, EADB
ADSL2+.

15.1 ADSL2+
ADSL ADSL2+.
ADSL,
ADSL2+ :
(adslAtucConfDownshiftSnrMgn);
(adslAtucConfUpshiftSnrMgn);
(adslAtucConfMinUpshiftTime);
(adslAtucConfMinUpshiftTime);
(adslAturConfDownshiftSnrMgn);
(adslAturConfUpshiftSnrMgn);
(adslAturConfMinUpshiftTime);
(adslAturConfMinDownshiftTime);
ADSL (adslConfProfileLineType).
ADSL2+ 3 100. 100.

175

SmartAX MA5300/5303
1

15
ADSL2+

ADSL2+ ( ADSL2+ 100).


. 15-1 ADSL2+

100

( )

0:

1: (1)

1: (1)

1: (1)

1: (1)

16

SNR

SNR

31

SNR

SNR

SNR

31

SNR

1:

1:

32 /

24544 /

32 /

176

SmartAX MA5300/5303
1

15
ADSL2+
1024 /

ADSL2+ .
. 15-2 ADSL2+ .
Add a profile type

1:adsl ( )

2: adsl2+


ADSL2+


ADSL2+

Profile index

3 99
0: (G992.1,G992.2,G992.3,G992.4,G992.5,T1.413)
( )
1: (G992.1,G992.3,G992.5 T1.413)
2: G992.2(g.lite) G992.4(g.lite.bis)
3: T1.413

Working mode

4: G992.1(g.dmt) G992.3(g.dmt.bis) G992.5


5:
g.hs(G992.5,G992.3,G992.1,G992.4,G992.2,G992.5
)
6: G992.1
7: G992.2
8: G992.3
9: G992.4
10: G992.5

Trellis coding

1: (1) ( )

2: (2)

Upstream channel bit swap



Downstream channel bit swap

1: (1) ( )
2: (2)
1: (1) ( )
2: (2)
1: (1) ( )

Channel mode

2: (2)
3: (3)
4: (4)
5: (5)

Downstream rate channel ratio



Upstream rate channel ratio

(0 100, 0-, 100- ) [100]

(0 100, 0-, 100- ) 177

SmartAX MA5300/5303
1

Will you set interleave delay?
(y/n) [n]:y

Maximum downstream interleave delay



Maximum upstream interleave
delay

Will you set noise margin for
modem? (y/n)[n]:y

?
Minimum
margin

downstream

SNR

SNR

Maximum downstream SNR


margin

SNR

Target downstream SNR margin


SNR

15
ADSL2+

[100]
y:
n:

, . (0-255)
[4]

, . (0-255)
[16]

y:
n:

(0 15 ) [0]

(0 31 ) [31]

(0 15 ) [6]

Rate downshift in downstream


(0 31)[0]

ADSL2+
5.
MA5300(config)#adsl line-profile add 5
MA5300(config)#adsl line-profile add 5
Start profile 5 adding.
During input,press 'CTRL+C' to quit,then settings at this time are neglected.
>

please choose the type of template 0-ADSL 1-ADSL2+ (0~1)[0]: 1

> Will you set basic configuration for modem? (y/n)[n]:y


> ADSL operating mode:

178

SmartAX MA5300/5303
1

15
ADSL2+

>

0: All(G992.1,G992.2,G992.3,G992.4,G992.5,T1.413)

>

1: Full rate(G992.1,G992.3,G992.5 or T1.413)

>

2: G992.2(g.lite) G992.4(g.lite.bis)

>

3: T1.413

>

4: G992.1(g.dmt) G992.3(g.dmt.bis) G992.5

>

5: g.hs(G992.5,G992.3,G992.1,G992.4,G992.2,G992.5 is prior)

>

6: G992.1

>

7: G992.2

>

8: G992.3

>

9: G992.4

>

10: G992.5

> Please select

(0~10) [0]: 0

> Trellis coding 1-enable 2-disable (1~2) [1]:


> Upstream channel bit swap 1-enable 2-disable (1~2) [2]:
> Downstream channel bit swap 1-enable 2-disable (1~2) [2]:
> Will you set channel mode? (y/n)[n]:y
>

Please

select

channel

mode

0-interleaved

1-fast

2-fastOrInterleaved

(0~2) [0]:
1
> Will you set rate adapt mode ? (y/n)[n]:y
>

Adapt

mode

in

downstream

1-fixed

2-adaptAtStartup

3-

adaptAtRuntime(1~3)[2]:
>

Adapt

mode

in

upstream

1-fixed

2-adaptAtStartup

3-adaptAtRuntime

(1~3)[2]:
> Will you set noise margin for modem? (y/n)[n]:y
> Minimum noise margin in downstream (0~15 dB) [0]:
> Maximal noise margin in downstream (0~31 dB) [31]:
> Target noise margin in downstream(0~15 dB) [6]:
> Minimum noise margin in upstream (0~15 dB) [0]:
> Maximal noise margin in upstream (0~31 dB) [31]:
> Target noise margin in upstream (0~15 dB) [6]:
> Will you set parameters for rate? (y/n)[n]:y
> Minimum bit rate in downstream (32~28800 Kbps) [32]:
> Maximum bit rate in downstream (32~28800 Kbps) [24544]:
> Minimum bit rate in upstream (32~1560 Kbps) [32]:
> Maximum bit rate in upstream (32~1560 Kbps) [1024]:
Add profile 5 successfully

15.2 ADSL2+
ADSL ADSL2+.

179

SmartAX MA5300/5303
1

15
ADSL2+

ADSL,
ADSL2+ :
ATUC;
ATUC;
ATUC;
ATUR;
ATUR.

ADSL2+ .
. 15-3 ADSL2+ .

1 32

Atuc-15min-lofs-threshold(second)

0 900

ATUC
15

( ) 0: ,

Atuc-15min-loss-threshold(second)

0 900

ATUC
15

( ) 0: ,

Atuc-15min-lprs-threshold(second)

0 900

ATUC 15

( ) 0: ,

Atuc-15min-Ess-threshold(second)

0 900

ATUC 15

( ) 0: ,

Atuc-15min-lols-threshold(second)

0 900

ATUC
15

( ) 0: ,
0 900

Atuc-15min-FailedFastRthreshold(second)
ATUC

ADSL,
ADSL2+
( ) 0: ,
0 900

Atuc-15min-SesL-threshold(second)

ATUC

ADSL,
ADSL2+
( ) 0: ,
0 900

Atuc-15min-UasL-threshold(second)

ATUC

ADSL,
ADSL2+
( ) 0: ,

180

SmartAX MA5300/5303
1

15
ADSL2+

Atuc-Init-InitFailure-Trap-Enable

Enable:

/
ATUC

Disable:

( ) Disable

Atur-15min-lofs-threshold(second)

0 900

ATUR
15

( ) 0: ,

Atur-15min-loss-threshold(second)

0 900

ATUR
15

( ) 0: ,

Atur-15min-lprs-threshold(second)

0 900

ATUR 15

( ) 0: ,

Atur-15min-Ess-threshold(second)

0 900

ATUR 15

( ) 0: ,

Atur-15min-lols-threshold(second)

0 900

ATUR
15

( ) 0: ,
0 900

Atur-15min-SesL-threshold(second)

ATUR

ADSL,
ADSL2+
( ) 0: ,
0 900

Atur-15min-UasL-threshold (second)

ATUR

ADSL,
ADSL2+
( ) 0: ,

15.3 ADSL2+
,
ADSL.
14 " ADSL".
CAR ADSL2+:
adsl car ds-band ds-band-value us-band us-band-value

ADSL2+,

/ ADSL2+. ds-band-value us-bandvalue 0 450,


ADSL.
ADSL / adsl car.
181

SmartAX MA5300/5303
1

15
ADSL2+

MA5300(config-if-Adsl11/0/0)#adsl car ds-band 300 us-band 450

, show adsl
line config show line config .
MA5300(config-if-Adsl11/0/0)# show adsl line config adsl11/0/0
MA5300(config-board-adsl11)#show line config 0

, no adsl car.
MA5300(config-if-Adsl11/0/0)#no adsl car

182

SmartAX MA5300/5303
1

16
SHDSL

16 SHDSL
16.1
MA5300 (SHDSL). MA5300
14 ESHA. ESHA 24 SHDSL. , SHDSL 336. ESHA
14 MA5300.
SHDSL SHDSL,
SHDSL:
SHDSL.
SHDSL
SHDSL. SHDSL, interface
.
SHDSL : / / . 0 6 9 15, 0,
0 23.
, SHDSL 5/0/0.
MA5300(config)#interface shdsl 5/0/0
MA5300(config-if-Shdsl5/0/0)#

SHDSL.
SHDSL SHDSL. SHDSL,
board-shdsl .
, SHDSL
3.
MA5300(config)#board-shdsl 3
MA5300(config-board-shdsl3)#

16.2
SHDSL 8 ,
. 0 3 , 4 - 7
. , -

183

SmartAX MA5300/5303
1

16
SHDSL

QoS. , 0.
priority.
no priority.
MA5300(config-if-Shdsl9/0/2)#priority 0

16.3

5300 255 . . ,
.
multicast max-group-count, no multicast max-group-count.
show interface .
MA5300(config-if-Shdsl9/0/2)#multicast max-group-count 3
Set max-group number of Shdsl9/0/2 to:3 successfully.

16.4 / -
5300 ,
SHDSL, c ,
. / -, , .
1) -.
macaddress-table mac-learning disable; no mac-addresstable mac-learning disable. , - .
MA5300(config-if-Shdsl9/0/2)#mac-address-table mac-learning disable
MA5300(config-if-Shdsl9/0/2)#show interface shdsl 9/0/2
Shdsl9/0/2 is administratively down
The SHDSL link is defective
Bind Line-profile No.1 LINE-PROFILE-1
Bind alarm-profile No.1 ALARM-PROFILE-1
Hardware

is

Ethernet

over

ATM

00e0.fc00.0009

184

over

SHDSL,

Hardware

address

is

SmartAX MA5300/5303
1
Last UP time: 0000-00-00

16
SHDSL

00:00:00.0

Last DOWN time: 0000-00-00

00:00:00.0

Line coding type is TC-PAM


PVC: vpi is 0, vci is 35
CAR: ds-band is 36, us-band is 36
PVID is 1
Priority is 0
Mac-address learning status is disable
Max multicast group count: 3
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


Output: 0 packets, 0 cells
Input: 0 packets, 0 cells
To CPU: 0 packets
Discard: 0 packets

MA5300(config-if-Shdsl9/0/2)#no mac-address-table mac-learning disable


MA5300(config-if-Shdsl9/0/2)#show interface shdsl 9/0/2
Shdsl9/0/2 is administratively down
The SHDSL link is defective
Bind Line-profile No.1 LINE-PROFILE-1
Bind alarm-profile No.1 ALARM-PROFILE-1
Hardware

is

Ethernet

over

ATM

over

SHDSL,

00e0.fc00.0009
Last UP time: 0000-00-00

00:00:00.0

Last DOWN time: 0000-00-00

00:00:00.0

Line coding type is TC-PAM


PVC: vpi is 0, vci is 35
CAR: ds-band is 36, us-band is 36
PVID is 1
Priority is 0
Max mac-address learning count: 2
Max multicast group count: 3
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


Output: 0 packets, 0 cells
Input: 0 packets, 0 cells
To CPU: 0 packets
Discard: 0 packets

2) - .

185

Hardware

address

is

SmartAX MA5300/5303
1

16
SHDSL

MAC- mac-address-table max-mac-count, no mac-address-table max-mac-count. ,


-.
, :
MA5300(config)#mac-address-table max-mac-count 5 shdsl9/0/0 to shdsl9/0/6

SHDSL .
MA5300(config-if-Shdsl9/0/2)#mac-address-table max-mac-count 6

3) .
show interface .
MA5300(config-if-Shdsl9/0/2)#show interface shdsl 9/0/2
Shdsl9/0/2 is administratively down
The SHDSL link is defective
Bind Line-profile No.1 LINE-PROFILE-1
Bind alarm-profile No.1 ALARM-PROFILE-1
Hardware

is

Ethernet

over

ATM

over

SHDSL,

Hardware

address

is

00e0.fc00.0009
Last UP time: 0000-00-00

00:00:00.0

Last DOWN time: 0000-00-00

00:00:00.0

Line coding type is TC-PAM


PVC: vpi is 0, vci is 35
CAR: ds-band is 36, us-band is 36
PVID is 1
Priority is 0
Max mac-address learning count: 2
Max multicast group count: 3
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


Output: 0 packets, 0 cells
Input: 0 packets, 0 cells
To CPU: 0 packets
Discard: 0 packets

16.5 (PVC)
SHDSL
SHDSL
PVC, (VPI) (VCI) PVC

186

SmartAX MA5300/5303
1

16
SHDSL

. PVC
, SHDSL. , VPI 0, VCI 35.
, VPI VCI adsl pvc.
MA5300(config-if-Shdsl9/0/2)#shdsl pvc vpi 0 vci 39

:
MA5300(config)#shdsl pvc vpi 0 vci 39 shdsl 9/0/2

,
show shdsl port state .
:
MA5300(config)#show shdsl port state shdsl 9/0/2
{ <cr>|to<K>|Shdsl<K> }:
interface Line-

Alarm- --Pvc-- --Car-- enable blocked loopback

Profile Profile vpi/vci up/down

type

powerbackoff

------------------------------------------------------------------Shdsl9/0/2

0/39

36/36

No

No

No

en-

hanced

, VPI VCI
no shdsl pvc.
:
MA5300(config-if-Shdsl9/0/2)#no shdsl pvc

:
MA5300(config)#no shdsl pvc shdsl 9/0/2

16.6 CAR SHDSL



. (CAR).
, SHDSL / 255 / 64
/.
1) SHDSL / shdsl car.
MA5300(config-if-Shdsl9/0/2)#shdsl car ds-band 10 us-band 35

2) show interface show shdsl port


state.
MA5300(config-if-Shdsl9/0/2)#show interface shdsl 9/0/2
Shdsl9/0/2 is administratively down

187

SmartAX MA5300/5303
1

16
SHDSL

The SHDSL link is defective


Bind Line-profile No.1 LINE-PROFILE-1
Bind alarm-profile No.1 ALARM-PROFILE-1
Hardware

is

Ethernet

over

ATM

over

SHDSL,

Hardware

address

is

00e0.fc00.0009
Last UP time: 0000-00-00

00:00:00.0

Last DOWN time: 0000-00-00

00:00:00.0

Line coding type is TC-PAM


PVC: vpi is 0, vci is 35
CAR: ds-band is 10, us-band is 35
PVID is 1
Priority is 0
Max mac-address learning count: 9
Max multicast group count: 3
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


Output: 0 packets, 0 cells
Input: 0 packets, 0 cells
To CPU: 0 packets
Discard: 0 packets

:
MA5300(config)#show shdsl port state shdsl 9/0/2
{ <cr>|to<K>|Shdsl<K> }:
interface Line-

Alarm- --Pvc-- --Car-- enable blocked loopback

Profile Profile vpi/vci up/down

type

powerbackoff

------------------------------------------------------------------Shdsl9/0/2

0/39

10/35

No

No

No

en-

hanced

3) no shdsl car.
MA5300(config-if-Shdsl9/0/2)#no shdsl car
MA5300(config)#show shdsl port state shdsl 9/0/2
{ <cr>|to<K>|Shdsl<K> }:
interface Line-

Alarm- --Pvc-- --Car-- enable blocked loopback

power-

Profile Profile
vpi/vci up/down

type

backoff

------------------------------------------------------------------Shdsl9/0/2

0/39

hanced

188

36/36

No

No

No

en-

SmartAX MA5300/5303
1

16
SHDSL

16.7 SHDSL IP
IP- IP-
,
IP-.
, , .
, IP- ,
static-user SHDSL; IP- ,
no static-user SHDSL
.
MA5300(config-if-Shdsl9/0/2)#static-user 10.11.53.9

show, IP .
MA5300#show static-user shdsl 9/0/2
The static user info:
Shdsl9/0/2

: 10.11.53.9

16.8 SHDSL
16.8.1 / SHDSL
, ,
. , . .
, activate.
, ,
. ,
SHDSL 5300 .
(no) block /
SHDSL. / ,
(no) block all. show interface SHDSL, .


SHDSL : , , , , .

189

SmartAX MA5300/5303
1

16
SHDSL

show interface. . 5-1 .

activate

no block
deactive

blocked
block

active

deactivate
block

blocked ;
no block ;
block ;
deactive ;
block ;
activate ;
deactivate ;
active ;
. 16-1
MA5300(config-board-shdsl9)#no block all

16.8.2 // SHDSL
SHDSL,
. .
, .
. , , .
SHDSL
. 16 . , , .
1.
1) SHDSL.
shdsl line-profile add, SHDSL.

190

SmartAX MA5300/5303
1

16
SHDSL


MA5300 SHDSL.
LINE-PROFILE-1, 1. , LINEPROFILE-1 .

SHDSL . . .
.
2) SHDSL.
MA5300(config)#shdsl line-profile add 3
Start profile 3 adding.

<Enter>, . , VDSL .
2 16.
3) .
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> Do you use the default data to create a line profile?(y/n)[y]:y

, SHDSL . N
, Y <Enter>,
SHDSL.
13, add profile 3
successfully ( 3 ).
: , N
2.
4) G.SHDSL.
> G.SHDSL minimum line rate:(192 2304 kbps)[2048]:

192 2304,
<Enter> 2048 /.
5) G.SHDSL.
> G.SHDSL maximum line rate:(192 2304 kbps)[2048]:

192 2304,
<Enter> 2048 /.

191

SmartAX MA5300/5303
1

16
SHDSL

6) .
>Power Spectral Density mode (1--symmetric 2--asymmetric)[1]:

1 <Enter> symmetric PSD, 2 asymmetric PSD.


7) .
>Transmission mode
(1--G.991.2 Annex A 2--G.991.2 Annex B 3--support Annex A&B)[2]:

ITU-T,
SHDSL: ITU-T G.991.2 Annex A ITU-T G.991.2 Annex B.
1 ,
G.991.2 Annex A..
2 ,
G.991.2 Annex B.
3 ,
G.991.2 Annex , G.991.2 Annex .
8) / .
>Remote enable (1--enabled 2--disabled)[1]:

1 , 2 .
9) SNR.
>Do you config the target SNR margin?(y/n)[n]:y

SNR. n
<Enter> , y 9, 10, 11 12.
10) SNR .
>Downstream current target SNR margin(0 10 dB)[0]:

SNR, 0 10
. <Enter> 0 , <Enter>:
Do you want to use it?(y/n)[y]:

n , y (
<Enter>) .
11) SNR .
>Downstream worst case target SNR margin(0 10 dB)[0]:

SNR , 0 10 . <Enter>, 0dB. <Enter>, :

192

SmartAX MA5300/5303
1

16
SHDSL

Do you want to use it?(y/n)[y]:

n , y (
<Enter>) .
12) SNR .
>Upstream current target SNR margin(0 10 dB)[0]:

SNR ,
0 10 . <Enter>,
0dB. <Enter>, :
Do you want to use it?(y/n)[y]:

n , y (
<Enter>) .
13) SNR .
>Upstream worst case target SNR margin(0 10 dB)[0]:

SNR , 0 10 . <Enter>, 0dB. <Enter>, :


Do you want to use it?(y/n)[y]:

n , y (
<Enter>) .
, :
Add profile 3 successfully

14) SHDSL.
SHDSL shdsl line-profile
delete.


SHDSL, ( 1), .

MA5300(config)#shdsl line-profile delete 2


SHDSL line profile 2 will be deleted
Are you sure?[y/n][n]y
Delete profile 2 successfully.

15) SHDSL.

193

SmartAX MA5300/5303
1

16
SHDSL

SHDSL
shdsl line-profile modify. SHDSL SHDSL.
MA5300(config)#shdsl line-profile modify 2
Start modifing profile 2.
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
>G.SHDSL minimum line rate:(192 2304 kbps)[1856]:1900
>G.SHDSL maximum line rate:(192 2304 kbps)[2240]:2300
>Power Spectral Density mode (1--symmetric 2--asymmetric)[2]:1
>Transmission mode
(1--G.991.2 Annex A 2--G.991.2 Annex B 3--support Annex A&B)[3]:3
>Remote enable (1--enabled 2--disabled)[2]:
>Do you config the target SNR margin?(y/n)[n]:y
>Downstream current target SNR margin(0 10 dB)[4]:5
Do you want to use it?(y/n)[n]:y
>Downstream worst case target SNR margin(0 10 dB)[6]:5
Do you want to use it?(y/n)[y]:n
>Upstream current target SNR margin(0 10 dB)[5]:43
Invalid input
>Upstream current target SNR margin(0 10 dB)[5]:4
Do you want to use it?(y/n)[y]:y
>Upstream worst case target SNR margin(0 10 dB)[7]:5
Do you want to use it?(y/n)[y]:n
To effect the modification will disconnect the SHDSL port which use this
prifle for a few seconds!
Do you want to make it effect? (y/n)[n]:y
Effect profile 2 successfully
Modify profile 2 successfully

, , . ,
SHDSL , ;
, . .
( 1) .
16) SHDSL.
SHDSL
show shdsl line-profile.
:
;
;
194

SmartAX MA5300/5303
1

16
SHDSL

G.SHDSL ( /);
PSD;
;
SNR ();
SNR ();
SNR ();
SNR ();
(/);
(/).
.
MA5300(config)#show shdsl line-profile 1
Line profile index

:1

Line profile name

:LINE-PROFILE-1

G.SHDSL minimum line rate(unit:kbps)

:2048

G.SHDSL maximum line rate(unit:kbps)

:2048

PSD

:symmetric

Transmission mode

:G.991.2 Annex B

Remote enable

:enabled

Probe

:disabled

The downstream current SNR margin(unit:dB):0, enabled


The downstream worst SNR margin(unit:dB) :0, disabled
The upstream current SNR margin(unit:dB) :0, disabled
The upstream worst SNR margin(unit:dB)

:0, disabled


, , .
.

16.8.3 / SHDSL
SHDSL , . , , , .
, SHDSL activate, activate all. , ,
.
MA5300(config-board-shdsl9)#activate

195

SmartAX MA5300/5303
1
{ all<K>|INTEGER<U><0,23> }:all

16
SHDSL

// SHDSL

9.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

MA5300(config-board-shdsl9)#activate
{ all<K>|INTEGER<U><0,23> }:2

// 2 SHDSL

2
{ <cr>|INTEGER<U><1,16> }:1

// 1

, SHDSL shdsl activate,


shdsl activate all.
MA5300(config)#shdsl activate
{ all<K>|INTEGER<U><0,15>|Shdsl<K> }: all

//

SHDSL.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

MA5300(config)#shdsl activate
{ all<K>|INTEGER<U><0,15>|Shdsl <K> }:11

// SHDSL

11.
{ <cr>|INTEGER<U><1,16> }:1

// 1.

MA5300(config)#shdsl activate
{ all<K>|INTEGER<U><0,15>|Shdsl <K> }:shdsl9/0/2
{ <cr>|to<K>|Shdsl <K>|INTEGER<U><1,16> }:to
{ Shdsl<K> }:shdsl9/0/9

// shdsl9/0/2

shdsl9/0/9.
{ <cr>|Shdsl <K>|INTEGER<U><1,16> }:1

// 1.

, SHDSL
deactivate, deactivate
all.
MA5300(config-board-Shdsl9)#deactivate all // SHDSL
9.
MA5300(config-board-Shdsl9)#deactivate 2

// SHDSL 2

9.

, SHDSL shdsl deactivate ,


shdsl deactivate all.
MA5300(config)#shdsl deactivate all

//

SHDSL.
MA5300(config)#shdsl deactivate 9

//

SHDSL 9.
MA5300(config)#shdsl deactivate shdsl9/0/2 to shdsl 9/0/9 //
shdsl9/0/2 shdsl9/0/9.

196

SmartAX MA5300/5303
1

16
SHDSL

SHDSL ATU-R
ATU-C . , ,
.

16.9
SHDSL
16.9.1 / SHDSL
5.8.1 / SHDSL".

16.9.2 //
SHDSL
SHDSL
, SHDSL. ,
, ,
(NMS). , 5300 SHDSL. , .
1) SHDSL.
SHDSL shdsl alarm-profile add.


5300
SHDSL. ALARM-PROFILE-1, 1. , .

SHDSL

/ .
:
2) SHDSL.
MA5300(config)#shdsl alarm-profile add 2
Start profile 2 adding

<Enter> , . 197

SmartAX MA5300/5303
1

16
SHDSL

,
SHDSL . 2 16.
3) .
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> Do you use the default data to create an alarm profile?(y/n)[y]:

,
SHDSL . N
, Y <Enter> ,
SHDSL.
, 13, add profile 3 successfully ( 3 ).
: , N
2.
4) .
> Loop attenuation threshold (0 127 dB)[0]:

, 15-
. , .
5) SNR.
> SNR margin threshold (0 10 dB)[0]:

, SNR, 15 . SNR , .
6) (ES).
> ES threshold (0 900 second)[0]:

, ES, 15 . ES ,
.
7) (SES).
> SES threshold (0 900 second)[0]:

, SES, 15 . SES ,
.
8) CRC.
> CRC anomalies number threshold (0 58981500)[0]:

, CRC, 15 . CRC ,
.

198

SmartAX MA5300/5303
1

16
SHDSL

9) (LOSW).
> LOSWS threshold (0 900 second)[0]:

, LOSW,
15- . LOSW , .
10) (UAS).
> UAS threshold (0 900 second)[0]:

, UAS, 15 . UAS ,
.
, :
Add profile 2 successfully

11) SHDSL.
SHDSL shdsl alarm-profile delete.


SHDSL, (
1), .

MA5300(config)#shdsl alarm-profile delete 2


The shdsl alarm profile will be deleted.
Are you sure?[Y/N]y
The shdsl alarm config profile 2 has been removed successfully.

12) SHDSL.
SHDSL shdsl alarm-profile modify. SHDSL.
MA5300(config)#shdsl alarm-profile modify 2
Start modifing profile 2.
During input, press 'CTRL+C' to quit, and then settings at this time are
neglected.
> Loop attenuation threshold (0 127 dB)[0]:50
> SNR margin threshold (0 10 dB)[0]:5
> ES threshold (0 900 second)[0]:10
> SES threshold (0 900 second)[0]:10
> CRC anomalies number threshold (0 58981500)[0]:60

199

SmartAX MA5300/5303
1

16
SHDSL

> LOSWS threshold (0 900 second)[0]:10


> UAS threshold (0 900 second)[0]:10
Profile 2 has no binded port.
Modify profile 2 successfully.
MA5300(config)#

, , . , SHDSL
, ; ,
. .
( 1) .
13) SHDSL.

SHDSL show shdsl alarm-profile. SHDSL .
MA5300(config)#show shdsl alarm-profile 1
Alarm profile index

:1

Alarm profile name

:ALARM-PROFILE-1

Loop attenuation threshold (unit:dB)

:0

SNR margin threshold (unit:dB)

:0

ES threshold (unit:second)

:0

SES threshold (unit:second)

:0

CRC anomalies number threshold

:0

LOSWS threshold (unit:second)

:0

UAS threshold (unit:second)

:0

SHDSL 2 :
MA5300(config)#show shdsl alarm-profile 2
Alarm profile index

:2

Alarm profile name

:ALARM-PROFILE-2

Loop attenuation threshold (unit:dB)

:50

SNR margin threshold (unit:dB)

:5

ES threshold (unit:second)

:10

SES threshold (unit:second)

:10

CRC anomalies number threshold

:60

LOSWS threshold (unit:second)

:10

UAS threshold (unit:second)

:10

MA5300(config)#

200

SmartAX MA5300/5303
1

16
SHDSL



, .

16.9.3 SHDSL
SHDSL,
SHDSL. ,
,

1) , SHDSL alarm-config, alarm-config all.
MA5300(config-board-shdsl9)#alarm-config all 1

//

SHDSL 9 1.
MA5300(config-board-shdsl9)#alarm-config 2 1

// 2

SHDSL 9 1.

2) , SHDSL shdsl alarm-config,


shdsl alarm-config all.
MA5300(config)#shdsl alarm-config all 1

//

SHDSL 1.
MA5300(config)#shdsl alarm-config 9 1

//

SHDSL 9 1.
MA5300(config)#shdsl
//

alarm-config

shdsl9/0/2

to

shdsl9/0/9

shdsl9/0/2

shdsl9/0/9

3) , SHDSL
no alarm-config, no alarm-config all.
MA5300(config-board-shdsl9)#no alarm-config all //
SHDSL 9.
MA5300(config-board-shdsl9)#no alarm-config 0

// 0

SHDSL 9.

4) , SHDSL
no shdsl alarm-config, no shdsl alarm-config all.
MA5300(config)#no shdsl alarm-config
SHDSL

201

//

SmartAX MA5300/5303
1

16
SHDSL

MA5300(config)#no shdsl alarm-config 9

// -

SHDSL 9.
MA5300(config)#no

shdsl

alarm-config

shdsl9/0/2

to

shdsl

9/0/9

// shdsl9/0/2 shdsl 9/0/9

16.9.4 / SHDSL
SHDSL ,
. SHDSL ,
.
SHDSL, .
- , - (NMS).

5.8.3

"-

/ SHDSL".

16.10 SHDSL
SHDSL ,
chipset reset, .
MA5300(config-board-shdsl9)#chipset reset 1

16.11 SHDSL
1) SHDSL.
show port state
SHDSL, show port state all
.

show shdsl port state.
MA5300(config)#board-shdsl 9
MA5300(config-board-shdsl9)#show port state 2
interface

Line-

Alarm- --Pvc-- --Car-- enable blocked loopback

Profile Profile vpi/vci up/down

type

powerbackoff

------------------------------------------------------------------Shdsl9/0/2

0/35

36/36

No

No

No

enhanced

MA5300(config-board-shdsl9)#show port state all


Interface

Line-

Alarm- --Pvc-- --Car-- enable blocked loopback

Profile Profile vpi/vci up/down

202

type

powerbackoff

SmartAX MA5300/5303
1

16
SHDSL

------------------------------------------------------------------Shdsl9/0/0

0/35

36/36

No

No

No

enhanced

Shdsl9/0/1

0/35

36/36

No

No

No

enhanced

Shdsl9/0/2

0/35

36/36

No

No

No

enhanced

Shdsl9/0/3

0/35

36/36

No

No

No

enhanced

Shdsl9/0/4

0/35

36/36

No

No

No

enhanced

Shdsl9/0/5

0/35

36/36

No

No

No

enhanced

Shdsl9/0/6

0/35

36/36

No

No

No

enhanced

Shdsl9/0/7

0/35

36/36

No

No

No

enhanced

Shdsl9/0/8

0/35

36/36

No

No

No

enhanced

Shdsl9/0/9

0/35

36/36

No

No

No

enhanced

Shdsl9/0/10

0/35

36/36

No

No

No

enhanced

Shdsl9/0/11

0/35

36/36

No

No

No

enhanced

Shdsl9/0/12

0/35

36/36

No

No

No

enhanced

Shdsl9/0/13

0/35

36/36

No

No

No

enhanced

Shdsl9/0/14

0/35

36/36

No

No

No

enhanced

Shdsl9/0/15

0/35

36/36

No

No

No

enhanced

Shdsl9/0/16

0/35

36/36

No

No

No

enhanced

Shdsl9/0/17

0/35

36/36

No

No

No

enhanced

Shdsl9/0/18

0/35

36/36

No

No

No

enhanced

Shdsl9/0/19

0/35

36/36

No

No

No

enhanced

Shdsl9/0/20

0/35

36/36

No

No

No

enhanced

Shdsl9/0/21

0/35

36/36

No

No

No

enhanced

Shdsl9/0/22

0/35

36/36

No

No

No

enhanced

Shdsl9/0/23

0/35

36/36

No

No

No

enhanced

MA5300(config-board-shdsl9)#


SHDSL show interface,
show port state.
MA5300(config)#show interface shdsl 9/0/2
Shdsl9/0/2 is administratively down
The SHDSL link is defective
Bind Line-profile No.1 LINE-PROFILE-1
Bind alarm-profile No.1 ALARM-PROFILE-1
Hardware

is

Ethernet

over

ATM

over

00e0.fc00.0009
Last UP time: 0000-00-00

00:00:00.0

Last DOWN time: 0000-00-00

00:00:00.0

Line coding type is TC-PAM


PVC: vpi is 0, vci is 35
CAR: ds-band is 36, us-band is 36
PVID is 1

203

SHDSL,

Hardware

address

is

SmartAX MA5300/5303
1

16
SHDSL

Priority is 0
Max mac-address learning count: 9
Max multicast group count: 3
Port mode: access
Tagged

VLAN ID: none

Untagged VLAN ID: 1


Output: 0 packets, 0 cells
Input: 0 packets, 0 cells
To CPU: 0 packets
Discard: 0 packets

2) .

show line state.
MA5300(config-board-shdsl9)#show line state 2
interface

repeaternum

max_rate
(kbps)

act_rate

mode

LinkStatus

(kbps)

------------------------------------------------------------------Shdsl9/0/2

G.991.2 annex B

de-

fective
MA5300(config-board-shdsl9)#

3) / .
SHDSL /
show inventory.
MA5300(config-board-shdsl9)#show inventory 2
Inventory of SHDSL local port Shdsl9/0/2
Vendor ID

:HWMA5300

Vendor mode

:H533ESHA

Vendor serial

:111111111111

EOC version

:0

Standard version

:0

Vendor list

:HWR

Vendor issue

:11

Software code

:R003B2

Equipment code

:0000000000

Information on other vendor :000000000000


Transmission mode capability:G.991.2 annex B
MA5300(config-board-shdsl9)#

4) SHDSL.
5) SHDSL.

204

SmartAX MA5300/5303
1

16
SHDSL

show statistics performance SHDSL, 15 24 .


MA5300(config-board-shdsl9)#show statistics performance 2 current

MA5300(config-board-shdsl9)#show

statistics

performance

historic-

15minutes 10

MA5300(config-board-shdsl9)#show statistics performance 2 historic-24hours


5

16.12 SHDSL
Ethernet-, ,
. ,
, . 5300 SHDSL. ,
SHDSL, SHDSL. , .
SHDSL /
loopback. , , .
, . , no loopback.
.
MA5300(config-if-Shdsl9/0/2)#loopback local
MA5300(config-if-Shdsl9/0/2)#loopback remote

loopback . . , .
, :
.
(VLAN), ( SHDSL),
.
SHDSL loopback.

205

SmartAX MA5300/5303
1

16
SHDSL

,
, STP ( ).
.
10
/, .
.
,
.
no loopback.

206

SmartAX MA5300/5303
1

17
VLAN

17 VLAN
17.1
(VLAN) , VLAN. 1999 IEEE IEEE 802.1Q
VLAN.
VLAN LAN .
LAN, .. VLAN. VLAN . , VLAN
LAN, VLAN .
VLAN LAN. VLAN
VLAN.
VLAN ,
, ,
.

17.2 VLAN
VLAN VLAN, VLAN .
1) / VLAN.
, VLAN .
VLAN , VLAN.
, VLAN,
VLAN.
VLAN vlan . VLAN .
VLAN no vlan .
VLAN 1 .
MA5300(config)#vlan 2
MA5300(config)#no vlan 2

2) / VLAN.

207

SmartAX MA5300/5303
1

17
VLAN


L2
VLAN, L2 VLAN.
VLAN,
(.. VLAN 1).
VLAN VLAN
switchport, no switchport.
MA5300(config-vlan2)#switchport vdsl 5/0/0 to vdsl 5/0/23
MA5300(config-vlan2)#no switchport vdsl 5/0/0 to vdsl 5/0/23

3) VLAN.
VLAN show vlan.
4) VLAN show vlan.
MA5300(config)#show vlan

:
1(default), 2

5) VLAN
show vlan all.
MA5300(config)#show vlan all
VLAN ID: 1
VLAN:
Route Interface: configured
IP Address: 10.71.53.2
Subnet Mask: 255.255.255.128
Tagged

Ports: none

Untagged Ports:
Adsl1/0/0

Adsl1/0/1

Adsl1/0/2

Adsl1/0/3

Adsl1/0/4

Adsl1/0/5

Adsl1/0/6

Adsl1/0/7

Adsl1/0/8

Adsl1/0/9

Adsl1/0/10

Adsl1/0/11

Adsl1/0/12

Adsl1/0/13

Adsl1/0/14

Adsl1/0/15

Adsl1/0/16

Adsl1/0/17

Adsl1/0/18

Adsl1/0/19

Adsl1/0/20

Adsl1/0/21

Adsl1/0/22

Adsl1/0/23

Adsl1/0/24

Adsl1/0/25

Adsl1/0/26

Adsl1/0/27

Adsl1/0/28

Adsl1/0/29

Adsl1/0/30

Adsl1/0/31

Adsl1/0/32

Adsl1/0/33

Adsl1/0/34

Adsl1/0/35

Adsl1/0/36

Adsl1/0/37

Adsl1/0/38

Adsl1/0/39

Adsl1/0/40

Adsl1/0/41

208

SmartAX MA5300/5303
1

17
VLAN

Adsl1/0/42

Adsl1/0/43

Adsl1/0/44

Adsl1/0/45

Adsl1/0/46

Adsl1/0/47

Ethernet7/2/0

Ethernet7/2/1

Ethernet7/2/2

GigabitEthernet7/1/0 GigabitEthernet7/1/1

VLAN ID: 2
VLAN Type: static
Route Interface: configured
IP Address: 10.71.53.3
Subnet Mask: 255.255.255.0
Tagged

Ports: none

Untagged Ports:
Vdsl5/0/0

Vdsl5/0/1

Vdsl5/0/2

Vdsl5/0/3

Vdsl5/0/4

Vdsl5/0/5

Vdsl5/0/6

Vdsl5/0/7

Vdsl5/0/8

Vdsl5/0/9

Vdsl5/0/10

Vdsl5/0/11

Vdsl5/0/12

Vdsl5/0/13

Vdsl5/0/14

Vdsl5/0/15

Vdsl5/0/16

Vdsl5/0/17

Vdsl5/0/18

Vdsl5/0/19

Vdsl5/0/20

Vdsl5/0/21

Vdsl5/0/22

Vdsl5/0/23

Ethernet7/2/3

6) VLAN show vlan id.


MA5300(config)#show vlan 1
VLAN ID: 1
VLAN Type: static
Route Interface: configured
IP Address: 10.71.53.2
Subnet Mask: 255.255.255.128
Tagged

Ports: none

Untagged Ports:
Adsl1/0/0

Adsl1/0/1

Adsl1/0/2

Adsl1/0/3

Adsl1/0/4

Adsl1/0/5

Adsl1/0/6

Adsl1/0/7

Adsl1/0/8

Adsl1/0/9

Adsl1/0/10

Adsl1/0/11

Adsl1/0/12

Adsl1/0/13

Adsl1/0/14

Adsl1/0/15

Adsl1/0/16

Adsl1/0/17

Adsl1/0/18

Adsl1/0/19

Adsl1/0/20

Adsl1/0/21

Adsl1/0/22

Adsl1/0/23

Adsl1/0/24

Adsl1/0/25

Adsl1/0/26

Adsl1/0/27

Adsl1/0/28

Adsl1/0/29

Adsl1/0/30

Adsl1/0/31

Adsl1/0/32

Adsl1/0/33

Adsl1/0/34

Adsl1/0/35

209

SmartAX MA5300/5303
1

17
VLAN

Adsl1/0/36

Adsl1/0/37

Adsl1/0/38

Adsl1/0/39

Adsl1/0/40

Adsl1/0/41

Adsl1/0/42

Adsl1/0/43

Adsl1/0/44

Adsl1/0/45

Adsl1/0/46

Adsl1/0/47

Ethernet7/2/0

Ethernet7/2/1

Ethernet7/2/2

GigabitEthernet7/1/0 GigabitEthernet7/1/1

17.3 VLAN
1) / VLAN.
VLAN VLAN. 32 VLAN.
VLAN VLAN interface vlan-interface,
VLAN no interface vlan-interface.
MA5300(config)#interface vlan-interface 2
MA5300(config)#no interface vlan-interface 2

2) / IP- VLAN.
L3 VLAN IP- .
VLAN IP-
ip address, IP- no ip address.
MA5300(config-if-VLAN-interface2)#ip address 10.71.83.2 255.255.255.128
MA5300(config-if-VLAN-interface2)#no ip address

3) / VLAN.
VLAN DOWN, - UP. , VLAN DOWN, VLAN DOWN; UP, VLAN UP.
VLAN
Ethernet, VDSL ADSL, VLAN.
, .
VLAN VLAN
shutdown, no shutdown.
MA5300(config-if-VLAN-interface2)#shutdown
% 1[2003-07-04 16:23:19]:L2INF-1-VLANIF LI:
VLAN-interface2: change status to DOWN

210

SmartAX MA5300/5303
1

17
VLAN

% 1[2003-07-04 16:23:19]:IFNET-1-UPDOWN:
Line protocol on interface VLAN-interface1, changed state to DOWN

4) VLAN.
VLAN
show interface vlan-interface.
MA5300(config-if-VLAN-interface2)#show interface vlan-interface 2
VLAN-interface2 is administratively down,

line protocol is down

Description : HUAWEI, Quidway Series, VLAN-interface1 Interface


The Maximum Transmit Unit is 1500
Internet Address is 10.71.53.2/25
IP

Sending

Frames'

Format

is

PKTFMT_ETHNT_2,

Hardware

address

is

00e0.fc11.19c3

17.4 VLAN
VLAN VLAN
()
. VLAN,
VLAN - VLAN
, ().
VLAN ,
VLAN 802.1Q,
VLAN.
1) / .
Ethernet VDSL ,
. .
Ethernet VDSL switchport mode trunk,
no switchport mode.
MA5300(config-if-Ethernet7/2/0)#switchport mode trunk
MA5300(config-if-Ethernet7/2/0)#no switchport mode

2) VLAN, .
VLAN, , VLAN , VLAN .
Ethernet VDSL VLAN,
, switchport trunk allowed, VLAN no switchport trunk allowed.
211

SmartAX MA5300/5303
1

17
VLAN

MA5300(config-if-Ethernet7/2/0)#switchport trunk allowed vlan 2 10 to 15


MA5300(config-if-Ethernet7/2/0)#no switchport trunk allowed vlan 2 10 to
15

3) ID VLAN .
ID VLAN , ,
, VLAN ID
VLAN, .
IEEE 802.1Q.
, :
VLAN ID VLAN, ,
;
VLAN ;
ID VLAN
.
ID VLAN 1.
ID VLAN
switchport trunk native,
ID VLAN
no switchport trunk native.
MA5300(config-if-Ethernet7/2/0)#switchport trunk native vlan 2

17.5 VLAN
17.5.1 VLAN
MA5300 LAN, .
LAN VLAN. ,
,
.

212

SmartAX MA5300/5303
1

I.

17
VLAN


CON=>Aux7/0/0

ETH=>M- Ethernet 7/0/1


MON
GE=>7/1/0
GE=>7/1/1
FE=>7/2/0
FE=>7/2/1
FE=>7/2/2
FE=>7/2/3

Telephone
line

RTU

ESM

MA5300

RTU

Straight through
cable
PC1

PC2

Telephone line ;
Straight through cable ;
PC .
. 17-1 LAN

1) 1 0/0/0 EVDA MA5300. IP 1 - 10.1.1.1/24;


2) 2 1/0/0 EADA MA5300. IP 2 - 10.1.1.2/24;
3) 1, 2 VLAN2;
4) VDSL 1,5 ,
4 ;
5) ADSL 0,5 ,
2 . ;
6) (RTU) ADSL 1483B; VPI/VCI=0/35.

II. VLAN
,
VLAN VLAN.
MA5300>enable
MA5300#configure terminal
Enter configuration commands, one per line. End with Ctrl+Z.
MA5300(config)#vlan 2
MA5300(config-vlan2)#switchport vdsl 0/0/0

213

SmartAX MA5300/5303
1

17
VLAN

MA5300(config-vlan2)#switchport adsl 1/0/0


MA5300(config-vlan2)#exit

III. VDSL
VDSL :
: 1,5 ;
: 4 ;
/: 6;
: 1;
: ;
: .
:
MA5300(config)#vdsl line-profile add 2
Start profile 2 adding.
During input, press 'CTRL+C' to quit, then settings at this time are neglected.
> VDSL link auto train

1-enable 2-disable (1 - 2)[1]:

> Target bit rate in downstream (780 - 25000 kbps) [12500]:4000


> Target bit rate in upstream (780 - 25000 kbps) [12500]:1500
> Target downstream interleaved depth 0,1,2,8,16 (0 - 16) [1]:
> Target upstream interleaved depth 0,1,2,8,16 (0 - 16) [1]:
> Signal to noise ratio margin in downstream: precision 0.1dB(0.0 - 31.0
dB) [6.0]:

> Signal to noise ratio margin in upstream: precision 0.1dB(0.0 - 31.0 dB)
[6.0]:
> Will you set downstream PSDMask?(y/n)[n]:
> Will you set upstream PSDMask?(y/n)[n]:
Add profile 2 successfully

IV. ADSL
ADSL :
: 0,5 ;
: 2;
: .
:
MA5300(config)#adsl line-profile add 3
Start profile 3 adding.
During input, press 'CTRL+C' to quit, then settings at this time are neglected.
> Will you set basic configuration for modem? (y/n)[n]:y

214

SmartAX MA5300/5303
1

17
VLAN

> ADSL operating mode:


>

0: All(G992.1, G992.2, T1.413)

>

1: Full rate(G992.1 or T1.413)

>

2: G992.2(g.lite)

>

3: T1.413

>

4: G992.1(g.dmt)

>

5: g.hs(G992.1 and G992.2, G992.1 is prior)

> Please select

(0 - 5) [0]:

> Trellis coding 1-enable 2-disable (1 - 2) [1]:


> Upstream channel bit swap 1-enable 2-disable (1 - 2) [2]:
> Downstream channel bit swap 1-enable 2-disable (1 - 2) [2]:
> Will you set channel mode? (y/n)[n]:y
> Please select channel mode 0-interleaved 1-fast (0 - 1) [1]: 0
> Will you set interleave depth? (y/n)[n]:y
> Maximum downstream interleaved depth 2,4,8,16,32,64,128 DMT (2 - 128)
[64]:
> Maximum upstream interleaved depth 2,4,8,16,32,64,128 DMT (2 - 128)
[64]:
> Will you set noise margin for modem? (y/n)[n]:y
> Minimum noise margin in downstream (0 - 15 dB) [0]:
> Maximal noise margin in downstream (0 - 31 dB) [31]:
> Target noise margin in downstream(0 - 15 dB) [12]:
> Minimum noise margin in upstream (0 - 15 dB) [0]:
> Maximal noise margin in upstream (0 - 31 dB) [31]:
> Target noise margin in upstream (0 - 15 dB) [12]:
> Will you set parameters for rate? (y/n)[n]:y
> If you want the fixed rate, set the Minimum value equal to Maximum
value.
> Minimum bit rate in downstream (32 - 8160 Kbps) [32]:
> Maximum bit rate in downstream (32 - 8160 Kbps) [6144]:2048
> Minimum bit rate in upstream (32 - 896 Kbps) [32]:
> Maximum bit rate in upstream (32 - 896 Kbps) [640]:512
Add profile 3 successfully

V. ADSL
, (PVC) ADSL.
MA5300(config)#interface adsl 1/0/0
MA5300(config-if-Adsl1/0/0)#adsl pvc vpi 0 vci 35
MA5300(config-if-Adsl1/0/0)#exit

215

SmartAX MA5300/5303
1

17
VLAN

VI.
, vdsl 0/0/0 2.
MA5300(config)#vdsl activate vdsl 0/0/0 2

adsl 1/0/0 3.
MA5300(config)#adsl activate adsl 1/0/0 3

VII.
, .
MA5300(config)#show vdsl line-profile all
Index

Profile Name

DownStream UpStream

DownSnr

UpSnr

Auto-

Train
Rate(Kbps) Rate(Kbps) Margin(dB) Margin(dB)
------------------------------------------------------------------------1

LINE-PROFILE-1
2

12500

LINE-PROFILE-2

12500

4000

6.0

1500

6.0

6.0

enable

6.0

enable

MA5300(config)#show adsl line-profile all


Index

ProfileName

Target

Atuc-Max

Atur-Max

trans-mode

chan-

mode
SnrMgn

txRate

txRate

(dB)

(Kbps)

(Kbps)

------------------------------------------------------------------------1

LINE-PROFILE-1
2

12

6144

LINE-PROFILE-2

640

all

FAST

12

6144

640

all

12

2048

512

all

INTERLEAVE
3

LINE-PROFILE-3

INTERLEAVE

VIII.

, .
MA5300(config)#show vdsl line state vdsl 0/0/0
Vdsl0/0/0 vdsl link status

: active

The actual down-stream rate(Kbps)

: 4000

The actual up-stream rate(Kbps)

: 1500

The down-stream interleave delay(ms): 1


The up-stream interleave delay(ms)
Remote tx-power(dBm/Hz)

: 1
: -89.720

Local tx-power(dBm/Hz)

: -66.770

Remote SNR(dB)

: 38.240

216

SmartAX MA5300/5303
1
Local SNR(dB)

: 27.220

Remote SNR Margin(dB)

: 13.1

Local SNR Margin(dB)

: 8.0

Remote MSE(dB)

: 21.800

Local MSE(dB)

: 17.160

Remote RS count

: 0

Local RS count

: 0

DownTimes

: 1

17
VLAN

IX. VLAN
,
VLAN.
MA5300(config)#show vlan 2
VLAN ID: 2
VLAN Type: static
Route Interface: not configured
Tagged

Ports: none

Untagged Ports:
Vdsl0/0/0

Adsl1/0/0

X.
vdsl0/0/0 adsl1/0/0
.

XI.
, .
MA5300(config)#write

17.5.2 VLAN
MA5300 VLAN VLAN
, ().
,
() VLAN,
VLAN.

217

SmartAX MA5300/5303
1

I.

17
VLAN


CON=>Aux7/0/0

FE=>2/0/0

ETH=>M-Ethernet7/0/1

FE=>2/0/1

MON

V A

FE=>2/0/3
GE=>1/0/0

GE=>7/1/0
GE =>7/1/1

D D

FE=>2/0/2

GE=>1/0/1

A A
FE=>7/2/0

FE=>2/0/12

FE=>7/2/1

FE=>2/0/13
FE=>2/0/14
FE=>2/0/15

FE=>7/2/2
FE=>7/2/3

RTU

Telephone
line

ESM

MA5300

RTU

LPU

LPU

S 8016

Straight through cable


PC1

Server

PC 2

Telephone line ;
Straight through cable ;
Server ;
PC .
. 17-2 VLAN

1) 1 0/0/0 EVDA MA5300. IP 1 - 10.1.1.1/24; IP- - 10.1.1.254;


2) 2 1/0/0 EADA MA5300. IP 2 - 10.1.1.2/24;
3) IP- - 10.1.3.1/24; IP- - 10.1.3.254;
4) 0/0/0 VLAN 10, 1/0/0 VLAN 20;
5) 5300 S8016
GE ( ), VLAN
10 VLAN 20;
6) / VDSL 1,5 4 ;
7) / ADSL 0,5 2 . ;
8) (RTU) ADSL 1483B; VPI/VCI = 0/35;
9) VLAN 10, VLAN 20, VLAN 100 VLAN 200 S8016. VLAN 100 Super VLAN,
VLAN VLAN 10 VLAN 20. IP- VLAN 100 - 10.1.1.254/24,
VLAN 200 - 10.1.3.254/24.

218

SmartAX MA5300/5303
1

17
VLAN

II. VLAN
, VLAN.
MA5300>enable
MA5300# configure terminal
Enter configuration commands, one per line. End with Ctrl+Z.
MA5300(config)#vlan 10

// VLAN10,

VDSL .
MA5300(config-vlan10)#switchport vdsl 0/0/0
MA5300(config-vlan10)#exit
MA5300(config)#vlan 20

// VLAN20, ADSL

.
MA5300(config-vlan20)#switchport adsl1/0/0
MA5300(config-vlan20)#exit

III. VDSL
VDSL :
: 1,5 ;
: 4 ;
/: 6;
: 1;
: ;
: ;
:
MA5300(config)#vdsl line-profile add 2
Start profile 2 adding.
During input, press 'CTRL+C' to quit, then settings at this time are neglected.
> VDSL link auto train

1-enable 2-disable (1 - 2)[1]:

> Target bit rate in downstream (780 - 25000 kbps) [12500]:4000


> Target bit rate in upstream (780 - 25000 kbps) [12500]:1500
> Target downstream interleaved depth 0,1,2,8,16 (0 - 16) [1]:
> Target upstream interleaved depth 0,1,2,8,16 (0 - 16) [1]:
> Signal to noise ratio margin in downstream: precision 0.1dB(0.0 - 31.0
dB) [6.0]:

> Signal to noise ratio margin in upstream: precision 0.1dB(0.0 - 31.0 dB)
[6.0]:
> Will you set downstream PSDMask?(y/n)[n]:
> Will you set upstream PSDMask?(y/n)[n]:
Add profile 2 successfully

219

SmartAX MA5300/5303
1

17
VLAN

IV. ADSL
ADSL :
: 0,5 ;
: 4 ;
: .
:
MA5300(config)#adsl line-profile add 3
Start profile 3 adding.
During input, press 'CTRL+C' to quit, then settings at this time are neglected.
> Will you set basic configuration for modem? (y/n)[n]:y
> ADSL operating mode:
>

0: All(G992.1, G992.2, T1.413)

>

1: Full rate(G992.1 or T1.413)

>

2: G992.2(g.lite)

>

3: T1.413

>

4: G992.1(g.dmt)

>

5: g.hs(G992.1 and G992.2, G992.1 is prior)

> Please select

(0 - 5) [0]:

> Trellis coding 1-enable 2-disable (1 - 2) [1]:


> Upstream channel bit swap 1-enable 2-disable (1 - 2) [2]:
> Downstream channel bit swap 1-enable 2-disable (1 - 2) [2]:
> Will you set channel mode? (y/n)[n]:y
> Please select channel mode 0-interleaved 1-fast (0 - 1) [1]:1
> Will you set noise margin for modem? (y/n)[n]:y
> Minimum noise margin in downstream (0 - 15 dB) [0]:
> Maximal noise margin in downstream (0 - 31 dB) [31]:
> Target noise margin in downstream(0 - 15 dB) [12]:
> Minimum noise margin in upstream (0 - 15 dB) [0]:
> Maximal noise margin in upstream (0 - 31 dB) [31]:
> Target noise margin in upstream (0 - 15 dB) [12]:
> Will you set parameters for rate? (y/n)[n]:y
> If you want the fixed rate, set the Minimum value equal to Maximum
value.
> Minimum bit rate in downstream (32 - 8160 Kbps) [32]:
> Maximum bit rate in downstream (32 - 8160 Kbps) [6144]: 2048
> Minimum bit rate in upstream (32 - 896 Kbps) [32]:
> Maximum bit rate in upstream (32 - 896 Kbps) [640]: 512
Add profile 3 successfully

220

SmartAX MA5300/5303
1

17
VLAN

V. ADSL
, (PVC) ADSL.
MA5300(config)#interface adsl 1/0/0
MA5300(config-if-Adsl1/0/0)#adsl pvc vpi 0 vci 35
MA5300(config-if-Adsl1/0/0)#exit

VI.
, vdsl 0/0/0 2.
MA5300(config)#vdsl activate vdsl 0/0/0 2

adsl 1/0/0, 3.
MA5300(config)#adsl activate adsl 1/0/0 3

VII. GE
, GE .
MA5300(config)#interface gigabitethernet 7/1/0
MA5300(config-if-GigabitEthernet7/1/0)#switchport mode trunk
MA5300(config-if-GigabitEthernet7/1/0)#switchport trunk allowed vlan 10 20

VIII.

vdsl0/0/0 adsl1/0/0
.

IX.
, .
MA5300(config)#write

221

SmartAX MA5300/5303
18
1
VLAN

18
VLAN
18.1
VLAN
5300. .
( VDSL/ADSL) VLAN. , ,
L2 .
VLAN VLAN. ,
L2 ,
L2 .
VLAN L2 , , VLAN L2.
VLAN :
/ VLAN;
/ VLAN VLAN;
VLAN;
VLAN;
VLAN.

18.2 / VLAN
VLAN vlan. VLAN .
MA5300(config)#vlan 12
MA5300(config-vlan12)#

18.3 / VLAN
VLAN
VLAN VLAN
svlan-type smart VLAN. 5300
255 VLAN,
(ID) VLAN 2 4000. VLAN
222

SmartAX MA5300/5303
1

18
VLAN

(.. VLAN 1) VLAN. VLAN , VLAN,


VLAN.
MA5300(config-vlan12)#vlan-type smart

VLAN VLAN
no vlan-type smart. VLAN ,
.
MA5300(config-vlan12)#no vlan-type smart

, , VLAN 12 VLAN / , VLAN 12. , , VLAN 12.


, ,
VLAN " VLAN VLAN.

18.4
VLAN
VLAN
VLAN svlans-upport. VLAN
.
.
PA (.. ), . ( , ) VLAN,
VLAN. ,
FE/GE ESM,
( VDSL, ADSL SHDSL).
VLAN

.
VLAN.
MA5300(config)#link-aggregation ethernet 7/2/0 to ethernet 7/2/1 ingress
MA5300(config)#vlan 12
MA5300(config-vlan12)#svlan-upport ethernet 7/2/0

VLAN
VLAN, ;
MA5300(config-vlan10)#svlan-upport e7/2/0

223

SmartAX MA5300/5303
1

18
VLAN

MA5300(config-vlan10)#exit
MA5300(config)#interface ethernet 7/2/0
MA5300(config-if-Ethernet7/2/0)#switchport mode trunk

VLAN VLAN
no svlan-upport.
MA5300(config-vlan1000)#no svlan-upport ethernet 7/2/0

VLAN switchport - VLAN,


VLAN.
VLAN.

18.5
VLAN
VLAN
VLAN svlan-downport,
no svlan-downport. VLAN .
VLAN
ESM (.. FE GE) (.. FE,
ADSL, VDSL, SHDSL). . ,
PA. ,
ESM (.. FE GE).
, adsl
1/0/0 SVLAN 12.
MA5300(config-vlan2)#switchport adsl 1/0/0
MA5300(config-vlan2)#no switchport adsl 1/0/0
MA5300(config-vlan12)# svlan-downport adsl 1/0/0


VLAN VLAN. VLAN
( , ) VLAN,
VLAN.
, adsl 1/0/0
SVLAN 12.
MA5300(config-vlan12)# no svlan-downport adsl 1/0/0

VLAN switchport - VLAN,

224

SmartAX MA5300/5303
1

18
VLAN

VLAN.
VLAN.
svlan-downport.
VLAN. VLAN VLAN
.
,
Ethernet7/1/0 SVLAN 12 .
MA5300(config-if-Ethernet7/1/0)# svlan-downport vlan 12


1) VLAN ,
VLAN.
2) VLAN,

VLAN.

18.6 VLAN
1) VLAN
show vlan smart.
MA5300(config)#show vlan smart
Now, the following smart vlan exist(s):
2, 3, 5

2) VLAN show vlan smart all.


MA5300(config)#show vlan smart all
VLAN ID: 2
VLAN Type: static,Smart
Route Interface: not configured
Up

Ports:
Ethernet7/1/3

Down Ports:
Ethernet7/1/2

VLAN ID: 3
VLAN Type: static,Smart
Route Interface: not configured

225

SmartAX MA5300/5303
1
Up

18
VLAN

Ports:
Ethernet7/1/1

Down Ports:
Adsl1/0/0

VLAN ID: 5
VLAN Type: static,Smart
Route Interface: not configured
Up

Ports:
Ethernet7/1/3

Down Ports:
Vdsl5/0/2

3) VLAN.
MA5300(config)#show vlan smart
VLAN ID: 2
VLAN Type: static,Smart
Route Interface: not configured
Up

Ports:
Ethernet7/1/3

Down Ports:
Ethernet7/1/2

226

SmartAX MA5300/5303
1

18
VLAN

18.7
VLAN
18.7.1 VLAN ( )
I.

CON=> Aux 7/0/0


E

MON
GE=> 7/1/0

GE=>1/0/0

GE=> 7/1/1

GE=>1/0/1

FE=>2/0/12
FE=>2/0/13
FE=>2/0/14
FE=>2/0/15

A
FE => 7/2/0
FE => 7/2/1
FE => 7/2/2
FE => 7/2/3

Telephone
line

RTU

FE=>2/0/0
FE=>2/0/1
FE=>2/0/2
FE=> 2/0/3

ETH =>M- Ethernet 7/1/0

RTU

ESM

LPU

LPU
S 8016

MA5300

Straight -through
cable
PC 1

PC 2

Server

Telephone line ;
Straight through cable ;
Server ;
PC .
. 18-1 VLAN ( )

1) 1 0/0/0 EVDA MA5300. IP 1 - 10.1.1.1/24; IP- - 10.1.1.254;


2) 2 1/0/0 EADA MA5300. IP 2 - 10.1.1.2/24; IP- - 10.1.1.254;
3) IP- - 10.1.3.1/24; IP- - 10.1.3.254;
4) VLAN 100 VLAN.
VLAN - Gigabit Ethernet 7/1/0. ,
, VLAN.
vdsl0/0/0 adsl1/0/0;
5) VDSL ADSL , ;
6) (RTU) ADSL 1483B; VPI/VCI = 0/35;
7) VLAN 100 VLAN 200 S8016. IP VLAN 100 - 10.1.1.254/24. IP- VLAN 200 - 10.1.3.254/24.

227

SmartAX MA5300/5303
1

18
VLAN

II. VLAN
, VLAN.
MA5300> enable
MA5300# configure terminal
Enter configuration commands, one per line. End with Ctrl+Z.
MA5300(config)#vlan 100

// VLAN100.

MA5300(config-vlan100)#vlan-type smart

//

VLAN

Smart VLAN.
MA5300(config-vlan100)#svlan-upport

GigabitEthernet

7/1/0//

.
MA5300(config-vlan100)#svlan-downport vdsl 0/0/0

// -

.
MA5300(config-vlan100)#svlan-downport vdsl 0/0/0

// -

.
MA5300(config-vlan100)#exit

III. ADSL
, (PVC) ADSL.
MA5300(config)#interface adsl 1/0/0
MA5300(config-if-Adsl1/0/0)#adsl pvc vpi 0 vci 35
MA5300(config-if-Adsl1/0/0)#exit

IV.
, vdsl 0/0/0 ,
.
MA5300(config)#vdsl activate vdsl 0/0/0 1

, adsl1/0/0 ,
.
MA5300(config)#adsl activate adsl 1/0/0 1

228

SmartAX MA5300/5303
1

18
VLAN

18.7.2 VLAN ( )
I.

CON =>Aux7/0/0
E

MON

V A

GE=>7/1/0
GE=>7/1/1

D D
A

GE=>1/0/0
GE=>1/0/1

A
FE =>7/2/0
FE =>7/2/1
FE =>7/2/2
FE =>7/2/3

Telephone
line

RTU

FE=>2/0/0
FE=>2/0/1
FE=>2/0/2
FE=>2/0/3

ETH=>M-Ethernet7/0/1

RTU

FE=>2/0/12
FE=>2/0/13
FE=>2/0/14
FE=>2/0/15

LPU

ESM

LPU
S8016

MA5300

Straight - through
cable
PC1

Server

PC 2

Telephone line ;
Straight through cable ;
Server ;
PC .
. 18-2 VLAN ( )

1) 1 0/0/0 EVDA MA5300. IP 1 - 10.1.1.1/24; IP- - 10.1.1.254;


2) 2 1/0/0 EADA MA5300. IP 2 - 10.1.1.2/24; IP- - 10.1.1.254;
3) IP- - 10.1.3.1/24; IP- - 10.1.3.254;
4) VLAN 100 VLAN.
VLAN - GigabitEthernet 7/1/0.
vdsl0/0/0 adsl1/0/0;
5) VLAN 200 VLAN, ;
6) VDSL ADSL , ;
7) (RTU) ADSL 1483B; VPI/VCI = 0/35.
8) VLAN 100 VLAN 200 S8016. IP VLAN 100 - 10.1.1.254/24; IP- VLAN 200 - 10.1.3.254/24;
9) VLAN.
, VLAN.
MA5300> enable

229

SmartAX MA5300/5303
1

18
VLAN

MA5300# configure terminal


Enter configuration commands, one per line. End with Ctrl+Z.
MA5300(config)#vlan 100

// VLAN 100.

MA5300(config-vlan100)#vlan-type smart

// VLAN 100 -

Smart VLAN.
MA5300(config-vlan100)#svlan-upport

GigabitEthernet

7/1/0

//

.
MA5300(config-vlan100)#svlan-downport vdsl 0/0/0

// -

.
MA5300(config-vlan100)#svlan-downport vdsl 1/0/0

// -

II. VLAN,
, VLAN .
MA5300(config-vlan100)#exit
MA5300(config)#vlan 200

III. VLAN
, VLAN
.
MA5300(config)#interface GigabitEthernet 7/1/0
MA5300(config-if-GigabitEthernet7/1/0)#switchport mode trunk
MA5300(config-if-GigabitEthernet7/1/0)#switchport trunk allowed vlan 200

IV. ADSL
, (PVC) ADSL.
MA5300(config)#interface adsl 1/0/0
MA5300(config-if-Adsl1/0/0)#adsl pvc vpi 0 vci 35
MA5300(config-if-Adsl1/0/0)#exit

V.
, vdsl 0/0/0 ,
.
MA5300(config)#vdsl activate vdsl 0/0/0 1

adsl1/0/0 , .
MA5300(config)#adsl activate adsl 1/0/0 1

230

SmartAX MA5300/5303
1

19
MUX VLAN

19 MUX VLAN
19.1
MUX VLAN 5300. .
MUX VLAN, VLAN :
MUX VLAN ;
MUX VLAN .
.
4000 VLAN. MUX VLAN VLAN / VLAN.
MUX VLAN :
/ MUX VLAN;
MUX VLAN;
MUX VLAN;
MUX VLAN ;
MUX VLAN ;
MUX VLAN.

19.2 / MUX VLAN


MUX VLAN MUX
VLAN. MUX VLAN .
MUX VLAN mux-vlan . MUX VLAN.
MA5300(config)#mux-vlan

MUX VLAN no mux-vlan


MUX VLAN. .
MA5300(config)#no mux-vlan

231

SmartAX MA5300/5303
1

19
MUX VLAN

19.3 MUX
VLAN
MUX VLAN MUX
VLAN ID, VLAN ( ),
MUX VLAN . ,
MUX VLAN.
MUX VLAN mux-vlan config-profile.
mux-vlan config-profile start-vlanid
vlan-num-per-group , vlan-group-num .
:
start-vlanid: MUX VLAN ID , 96, 8 3976;
vlan-num-per-group: VLAN
. 24, 48 64. 48;
vlan-group-num: MUX VLAN
, VLAN, ,
VLAN .
1 166, 80. . ,
MUX VLAN .
,
MUX VLAN 128, VLAN 48, MUX VLAN 80.
MA5300(config)#mux-vlan config-profile 128 48 80

no mux-vlan config-profile
, , MUX
VLAN.

19.4
MUX VLAN
MUX VLAN.

I.

MUX VLAN
MUX VLAN ,
VLAN
232

SmartAX MA5300/5303
1

19
MUX VLAN

, ADSL VDSL. .
ESM, .. FE GE.
VLAN ID VLAN- MUX
VLAN VLAN.
VLAN ID start-vlanid, mux-vlan config-profile.
vlan-group-num, mux-vlan config-profile,
8-3976.
VLAN- 0 vlan-group-num (,
mux-vlan config-profile). , VLAN, , . 5300 14 .
MUX VLAN mux-vlan uplink-port,
no mux-vlan uplink-port.
MA5300(config)#mux-vlan config-profile 32 48 95
MA5300(config)#mux-vlan uplink-port
{ interface<K> }:interface
{ Ethernet<K>|GigabitEthernet<K> }:ethernet
{ <7-7> }:7/2/0

//

ethernet7/2/0.
{ local-vlan<K> }:local-vlan

// l VLAN.

{ INTEGER<U><32,3976> }:128

// ID VLAN

{ INTEGER<U><0,95> }:14

// VLAN.

Please wait... Done.


VLAN 14 . VLAN ID - 128.
(.. ) 48 VLAN.
VLAN VLAN 128 VLAN 175. VLAN VLAN 176 VLAN 223.
.

II. MUX VLAN


MUX VLAN show mux-vlan.
MA5300(config)#show mux-vlan
Mux-vlan is enabled
Uplink port: interface Ethernet7/2/0
Local mux-vlan ID: 128 - 799

233

SmartAX MA5300/5303
1

19
MUX VLAN

Vlan-group(s) number: 14
Mux-vlan(s) number: 672
No cascading port exist

14 I/O board(s) configured


Slot: 00

mux-vlan: 128 - 175

Slot: 01

mux-vlan: 176 - 223

Slot: 02

mux-vlan: 224 - 271

Slot: 03

mux-vlan: 272 - 319

Slot: 04

mux-vlan: 320 - 367

Slot: 05

mux-vlan: 368 - 415

Slot: 06

mux-vlan: 416 - 463

Slot: 09

mux-vlan: 464 - 511

Slot: 10

mux-vlan: 512 - 559

Slot: 11

mux-vlan: 560 - 607

Slot: 12

mux-vlan: 608 - 655

Slot: 13

mux-vlan: 656 - 703

Slot: 14

mux-vlan: 704 - 751

Slot: 15

mux-vlan: 752 - 799

19.5 MUX VLAN


5300
, VLAN 5300
- MUX VLAN.
ESM, .. FE
GE. VLAN ID VLAN-
- MUX VLAN, .. VLAN,
, . VLAN-
48 VLAN.

I.

- MUX
VLAN
MUX VLAN mux-vlan cascading-port,
no mux-vlan cascading-port.
MA5300(config)#mux-vlan cascading-port
{ interface<K> }:interface
{ Ethernet<K>|GigabitEthernet<K> }:ethernet

234

SmartAX MA5300/5303
1
{ <7-7> }:7/2/1

19
MUX VLAN
// -

.
{ cascading-vlan<K> }:cascading-vlan

// VLAN -

.
{ INTEGER<U><128,3872> }:800

// ID VLAN -

.
{ INTEGER<U><2,80> }:14

// VLAN

.
Please wait... Done.

II. MUX VLAN


, MUX VLAN.
MA5300(config)#show mux-vlan
Mux-vlan is enabled
Uplink port: interface Ethernet7/2/0
Local mux-vlan ID: 128 - 799
VLAN-group(s) number: 14
Mux-vlan(s) number: 672

1 cascading port(s) exist

Interface Ethernet7/2/1
Mux-vlan ID: 800 - 1471
VLAN group(s) number: 14
Mux-VLAN(s) number: 672

14 I/O board(s) configured


Slot: 00

mux-vlan: 128 - 175

Slot: 01

mux-vlan: 176 - 223

Slot: 02

mux-vlan: 224 - 271

Slot: 03

mux-vlan: 272 - 319

Slot: 04

mux-vlan: 320 - 367

Slot: 05

mux-vlan: 368 - 415

Slot: 06

mux-vlan: 416 - 463

Slot: 09

mux-vlan: 464 - 511

Slot: 10

mux-vlan: 512 - 559

Slot: 11

mux-vlan: 560 - 607

Slot: 12

mux-vlan: 608 - 655

Slot: 13

mux-vlan: 656 - 703

Slot: 14

mux-vlan: 704 - 751

Slot: 15

mux-vlan: 752 - 799

235

SmartAX MA5300/5303
1

19
MUX VLAN

19.6 MUX VLAN




MUX VLAN, , .
VLAN ID
MUX VLAN .
VLAN ID .

I.

MUX VLAN
MUX VLAN mux-vlan slot.
MA5300(config)#mux-vlan slot
{ INTEGER<U><0,15> }:1

// .

{ idle<K>|start-vlanid<K> }:start-vlanid

// ID VLAN

.
{ INTEGER<U><128,3920 }:128
Please wait... Done.

II. MUX VLAN


, 1 MUX VLAN
VLAN 128 VLAN 175.
MUX VLAN
0, MUX VLAN 0,
.
MA5300(config)#show mux-vlan
Mux-vlan is enabled.
Uplink port: interface Ethernet7/2/0
Local mux-vlan ID: 128 - 799
VLAN-group(s) number: 14
Mux-vlan(s) number: 672

1 cascading port(s) exist

Interface Ethernet7/2/1
Mux-vlan ID: 800 - 1471
VLAN group(s) number: 14
Mux-VLAN(s) number: 672

236

SmartAX MA5300/5303
1

19
MUX VLAN

13 I/O board(s) configured


Slot: 00

mux-vlan: idle

Slot: 01

mux-vlan: 128 - 175

Slot: 02

mux-vlan: 224 - 271

Slot: 03

mux-vlan: 272 - 319

Slot: 04

mux-vlan: 320 - 367

Slot: 05

mux-vlan: 368 - 415

Slot: 06

mux-vlan: 416 - 463

Slot: 09

mux-vlan: 464 - 511

Slot: 10

mux-vlan: 512 - 559

Slot: 11

mux-vlan: 560 - 607

Slot: 12

mux-vlan: 608 - 655

Slot: 13

mux-vlan: 656 - 703

Slot: 14

mux-vlan: 704 - 751

Slot: 15

mux-vlan: 752 - 799

III. MUX VLAN


idle MUX VLAN .
MA5300(config)#mux-vlan slot
{ INTEGER<U><0,15> }:2

// .

{ idle<K>|start-vlanid<K> }:idle
.
Please wait... Done.

MA5300(config)#show mux-vlan
Mux-vlan is enabled
Uplink port: interface Ethernet7/2/0
Local mux-vlan ID: 128 - 799
VLAN-group(s) number: 14
Mux-vlan(s) number: 672

1 cascading port(s) exist

Interface Ethernet7/2/1
Mux-vlan ID: 800 - 1471
VLAN group(s) number: 14
Mux-VLAN(s) number: 672

12 I/O board(s) configured


Slot: 00

mux-vlan: idle

Slot: 01

mux-vlan: 128 - 175

237

// MUX VLAN

SmartAX MA5300/5303
1
Slot: 02

mux-vlan: idle

Slot: 03

mux-vlan: 272 - 319

Slot: 04

mux-vlan: 320 - 367

Slot: 05

mux-vlan: 368 - 415

Slot: 06

mux-vlan: 416 - 463

Slot: 09

mux-vlan: 464 - 511

Slot: 10

mux-vlan: 512 - 559

Slot: 11

mux-vlan: 560 - 607

Slot: 12

mux-vlan: 608 - 655

Slot: 13

mux-vlan: 656 - 703

Slot: 14

mux-vlan: 704 - 751

Slot: 15

mux-vlan: 752 - 799

19
MUX VLAN

19.7 MUX VLAN


MUX VLAN, , .
VLAN ID MUX VLAN ,
.

I.

MUX VLAN
MUX VLAN MUX VLAN mux-vlan.
ADSL, VDSL MUX VLAN
MUX VLAN
mux-vlan vlan-id.
MA5300(config)#mux-vlan interface
{ Vdsl<K>|Adsl<K> }:adsl 1/0/0

// .

{ idle<K>|vlan-id<K> }:vlan-id

// VLAN .

{ INTEGER<U><128,3967> }:129
MA5300(config-if-Adsl1/0/0)#mux-vlan vlan-id 129

// VLAN .

II. MUX VLAN


MUX VLAN show mux-vlan
show vlan.
MA5300(config-if-Adsl1/0/0)#show mux-vlan
Mux-vlan is enabled
Uplink port: interface Ethernet7/2/0
Local mux-vlan ID: 128 - 799
VLAN-group(s) number: 14
Mux-vlan(s) number: 672

238

SmartAX MA5300/5303
1

19
MUX VLAN

1 cascading port(s) exist

Interface Ethernet7/2/1
Mux-vlan ID: 800 - 1471
VLAN group(s) number: 14
Mux-VLAN(s) number: 672

12 I/O board(s) configured


Slot: 00

mux-vlan: idle

Slot: 01

mux-vlan: 128 - 175

Slot: 02

mux-vlan: idle

Slot: 03

mux-vlan: 272 - 319

Slot: 04

mux-vlan: 320 - 367

Slot: 05

mux-vlan: 368 - 415

Slot: 06

mux-vlan: 416 - 463

Slot: 09

mux-vlan: 464 - 511

Slot: 10

mux-vlan: 512 - 559

Slot: 11

mux-vlan: 560 - 607

Slot: 12

mux-vlan: 608 - 655

Slot: 13

mux-vlan: 656 - 703

Slot: 14

mux-vlan: 704 - 751

Slot: 15

mux-vlan: 752 - 799

MA5300(config)#show vlan 129


{ <cr>|to<K> }:
Vlan ID: 129
Vlan Type: static
Route Interface: not configured
Tagged

Ports: none

Untagged Ports:
Adsl1/0/0

Adsl1/0/1

III. MUX VLAN


idle MUX VLAN .
MA5300(config)#mux-vlan interface
{ Vdsl<K>|Adsl<K> }:Adsl 1/0/0

// .

{ idle<K>|vlan-id<K> }:idle

// VLAN .

MA5300(config-if-Adsl1/0/0)#mux-vlan idle

// VLAN .

239

SmartAX MA5300/5303
1

19
MUX VLAN

19.8 MUX VLAN


19.8.1 MUX VLAN
I.


CON=>Aux7/0/0

E
V

BAS

ETH=>M-Ethernet7/0/1

MON

D D
A

A
FE=>7/2/0
FE=>7/2/1
FE=>7/2/2
FE=>7/2/3

telephone
line

RTU

ESM

MA5300

RTU

straight through
cable

PC1

PC2

Telephone line ;
Straight through cable ;
PC .
. 19-1 MUX VLAN

1) 1 0/0/0 EVDA
5300; 2 1/0/0 EADA 5300;
2) 1, 2 IP-;
3) EVDA EADA VLAN. VLAN 128 799;
4) IP- 5300
10.1.1.100/24, VLAN ID 100;
5) 5300 ISU
GE ;
6) , ,
ADSL/VDSL;
7) (RTU) ADSL 1483B; VPI/VCI = 0/35;
8) 1 2 ISU
VLAN. ISU
DHCP. IP- (VT) ISU - 10.1.1.254/24;
9) Ethernet7/1/1 MA5300 A
Ethernet7/1/1 MA5300 ;
240

SmartAX MA5300/5303
1

19
MUX VLAN

10) MUX VLAN,


VLAN 5300 5300 .

II.
//Enable MUX VLAN.
MA5300(config)#mux-vlan
{ <cr>|uplink-port<K>|cascading-port<K>|slot<K>|interface<K> }:
System will be restarted.
Turn to mux mode?[Y/N]:y
//Log in to the system after the system restarts.
Username:root
Password:
MA5300>enable
{ <cr>|level-value<U><1,15> }:
MA5300#configure terminal
MA5300(config)#board confirm 0
//Define the upstream ports of MUX VLAN and the scope of the local MUX
VLAN.
MA5300(config)#mux-vlan uplink-port interface gigabitEthernet 7/1/1
{ local-vlan<K> }:local-vlan
{ INTEGER<U><128, 3872> }:128
{ INTEGER<U><0,80> }:14
Please wait... Done.
//Enable the GE port which connects the ESM board with ISU board, and set
the parameters of the GE port.
MA5300(config)#inner-isu 15
GigabitEthernet7/1/5 will be connected to inner-isu, continue?[Y/N]y
Inner-isu in slot 15 is enabled.
GigabitEthernet7/1/5 has been connected to inner-isu.
//Activate VDSL/ADSL port.
MA5300(config)#vdsl activate vdsl 0/0/0 1
MA5300(config)#adsl activate adsl 1/0/0 1
//Add a management VLAN100, and set the management IP address.
MA5300(config)#vlan 100
MA5300(config-vlan100)#exit
MA5300(config)#interface vlan-interface 100
MA5300(config-if-VLAN-interface100)#ip address 10.1.1.100 255.255.255.0
MA5300(config-if-VLAN-interface100)#exit
//Add a route.
MA5300(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.1
{ <cr>|preference<K>|reject<K>|blackhole<K> }:
MA5300(config)#

241

SmartAX MA5300/5303
1

19
MUX VLAN

//Set the working mode for the upstream port, and enable the management
VLAN to pass through the port.
MA5300(config)#interface gigabitEthernet 7/1/5
MA5300(config-if-GigabitEthernet7/1/5)#switchport mode trunk
MA5300(config-if-GigabitEthernet7/1/5)#switchport trunk allowed vlan 100
{ <cr>|INTEGER<U><2,4000>|to<K> }:
Please wait... Done.
MA5300(config-if-GigabitEthernet7/1/5)#exit
//Configure the ISU board.
MA5300ISU#configure terminal
MA5300ISU(config)#interface ethernet 10
MA5300ISU(config-if-ethernet-10)#side user
MA5300ISU(config-if-ethernet-10)#send-frame-type 802.1Q
MA5300ISU(config-if-ethernet-10)#mode gigaethernet 1000full
MA5300ISU(config-if-ethernet-10)#no shutdown
MA5300ISU(config-if-ethernet-10)#exit
MA5300ISU(config)#interface virtual-template 1
MA5300ISU(config-if-virtual-template-1)#ip

address

10.1.1.254

255.255.255.0
MA5300ISU(config-if-virtual-template-1)#bind vlan 128 799
MA5300ISU(config-if-virtual-template-1)#dhcp server ip pc 127.0.0.1
MA5300ISU(config-if-virtual-template-1)#exit
MA5300ISU(config)#ip local pool huawei
MA5300ISU(config-ip-pool-huawei)#router-ip 10.1.1.254 255.255.255.0
MA5300ISU(config-ip-pool-huawei)#section 0 10.1.1.1 10.1.1.253
MA5300ISU(config-ip-pool-huawei)#exit
MA5300ISU(config)#vlan port 128 672 authpolicy bind vlan
MA5300ISU(config)#aaa
MA5300ISU(config-aaa)#vlan-batch local user 128 672 vlan vlan
MA5300ISU(config-aaa)#vlan-batch set local-user state active 256 1792 vlan
MA5300ISU(config-aaa)#domain vlan
MA5300ISU(config-aaa-vlan)#set state active
MA5300ISU(config-aaa-vlan)#exit
MA5300ISU(config-aaa)#exit
MA5300ISU(config)#

III.
1) MUX VLAN.
MA5300(config)#show mux-vlan
Mux-vlan is enabled
Uplink port: interface GigabitEthernet7/1/5
Local mux-vlan ID: 128 - 799

242

SmartAX MA5300/5303
1

19
MUX VLAN

VLAN-group(s) number: 14
Mux-vlan(s) number: 672
No cascading port exist

Slot: 00

mux-vlan: 128 - 175

Slot: 01

mux-vlan: 176 - 223

Slot: 02

mux-vlan: 224 - 271

Slot: 03

mux-vlan: 272 - 319

Slot: 04

mux-vlan: 320 - 367

Slot: 05

mux-vlan: 368 - 415

Slot: 06

mux-vlan: 416 - 463

Slot: 09

mux-vlan: 464 - 511

Slot: 10

mux-vlan: 512 - 559

Slot: 11

mux-vlan: 560 - 607

Slot: 12

mux-vlan: 608 - 655

Slot: 13

mux-vlan: 656 - 703

Slot: 14

mux-vlan: 704 - 751

Slot: 15

mux-vlan: 752 - 799

2) , ISU.
MA5300ISU(config)#show connect username
[username][<= 32 chars]:
0

UCIB=0001 State=Online

IP=10.1.1.1

UserName=MA5300ISU-vlan-00-0128@vlan

MAC=00-80-c8-e5-2c-04 TotalBytes=656

Total 1 connect(s) matched, and 1 listed

IV.
1) winipcfg 1 2, IP, DHCP;
2) 1 ( 2) ping ;
3) 1 ping 2, ;
4) , 1 2 ping ,
proxy-arp enable, ISU ARP-.

243

SmartAX MA5300/5303
1

19
MUX VLAN

19.8.2 MUX VLAN


I.


CON =>Aux7/0/0

CON =>Aux7/0/0

ETH=>M-Ethernet7/0/1

MON

D D

ETH =>M-Ethernet 7/0/1

FE=>7/2/0
FE=>7/2/1
FE=>7/2/2
FE=>7/2/3

FE=>7/2/0
FE=>7/2/1
FE=>7/2/2
FE=>7/2/3

telephone line
RTU

ESM

MA5300_B

RTU

telephone line

RTU

straight through

ESM

MA5300_A

RTU

straight through

cable
PC1

BAS

MON

cable
PC 2

PC3

PC4

Telephone line ;
Straight through cable ;
PC .
. 19-2 MUX VLAN

1) 1 3 0/0/0 EVDA MA5300. 2 4 1/0/0 EADA MA5300;


2) 1, 2, 3 4 IP-;
3) 5300 ( , )
MUX VLAN. EVDA EADA
VLAN. VLAN 5300 128 799, VLAN 5300 800 1471;
4) 5300_ ISU GE ;
5) , ,
ADSL/VDSL;
6) (RTU) ADSL 1483B; VPI/VCI = 0/35;
7) 1, 2, 3 4 ISU
VLAN. ISU DHCP. P- (VT) ISU
- 10.1.1.254/24.

II.
1) (.. MA5300_B).
244

SmartAX MA5300/5303
1

19
MUX VLAN

// MUX VLAN.
MA5300(config)#mux-vlan
{ <cr>|uplink-port<K>|cascading-port<K>|slot<K>|interface<K> }:
System will be restarted.
Turn to mux mode?[Y/N]:y
// .
Username:root
Password:
MA5300>enable
{ <cr>|level-value<U><1,15> }:
MA5300#configure terminal
MA5300(config)#board confirm 0
// MUX VLAN MUX
VLAN.
MA5300(config)#mux-vlan uplink-port interface ethernet 7/2/0
{ local-vlan<K> }:local-vlan
{ INTEGER<U><128,3872> }:800
{ INTEGER<U><0,80}:14
Please wait... Done.
// VDSL/ADSL .
MA5300(config)#vdsl activate vdsl 0/0/0 1
MA5300(config)#adsl activate adsl 1/0/0 1
//Add

the

management

VLAN101,

and

configure

its

IP

address

as

IP10.1.1.101.
MA5300(config)#vlan 101
MA5300(config-vlan101)#exit
MA5300(config)#interface vlan-interface 101
MA5300(config-if-Vlan-interface101)#ip address 10.1.1.101 255.255.255.0
MA5300(config-if-Vlan-interface101)#exit
//Add a route.
MA5300(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.254
//Configure the working mode of the upstream port, and allow the management VLAN101 to pass through.
MA5300(config)#interface ethernet 7/2/0
MA5300(config-if-Ethernet7/2/0)#switchport mode trunk
Please wait... Done.
MA5300(config-if-Ethernet7/2/0)#switchport trunk allowed vlan 101
Please wait... Done.
MA5300(config-if-Ethernet7/2/0)#exit

2) (.. MA5300_).
MA5300(config)#mux-vlan
{ <cr>|uplink-port<K>|cascading-port<K>|slot<K>|interface<K> }:

245

SmartAX MA5300/5303
1

19
MUX VLAN

System will be restarted.


Turn to mux mode?[Y/N]:y
//Log in to the system after the system resets.
Username:root
Password:
MA5300>enable
{ <cr>|level-value<U><1,15> }:
MA5300#configure terminal
MA5300(config)#board confirm 0
//Configure the upstream port of the MUX VLAN and the range of local MUX
VLAN.
MA5300(config)#mux-vlan uplink-port interface gigabitEthernet 7/1/1
{ local-vlan<K> }:local-vlan
{ INTEGER<U><128,3872> }:128
{ INTEGER<U><0,80}:14
Please wait... Done.
//Configure the cascading port of MUX VLAN and the range of the cascading
MUX VLAN.
MA5300(config)#mux-vlan cascading-port interface Ethernet 7/2/0
{ cascading-vlan<K> }:cascading-vlan
{ INTEGER<U><128,3872> }:800
{ INTEGER<U><2,80> }:14
Please wait... Done.
//Enable the GE port connecting the ESM board and ISU board, and configure
the parameters of the GE port.
MA5300(config)#inner-isu 15
GigabitEthernet7/1/5 will be connected to inner-isu, continue?[Y/N]y
Inner-isu in slot 15 is enabled.
GigabitEthernet7/1/5 has been connected to inner-isu.
//Activate VDSL/ADSL port.
MA5300(config)#vdsl activate vdsl 0/0/0 1
MA5300(config)#adsl activate adsl 1/0/0 1
//Add

the

management

VLAN100,

and

configure

its

IP

address

IP10.1.1.100.
MA5300(config)#vlan 100
MA5300(config-vlan100)#exit
MA5300(config)#interface vlan-interface 100
MA5300(config-if-Vlan-interface100)#ip address 10.1.1.100 255.255.255.0
MA5300(config-if-Vlan-interface100)#exit
//Add a route.
MA5300(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.254
//Add VLAN101, which is the management VLAN ID for MA5300_B.

246

as

SmartAX MA5300/5303
1

19
MUX VLAN

MA5300(config)#vlan 101
MA5300(config-vlan101)#exit
//Configure the working mode of the downstream port, and allow the management VLAN101 to pass through.
MA5300(config)#interface ethernet 7/2/0
MA5300(config-if-Ethernet7/2/0)#switchport mode trunk
Please wait... Done.
MA5300(config-if-Ethernet7/2/0)#switchport trunk allowed vlan 101
Please wait... Done.
//The PVIDs for ports connecting MA5300_A and MA5300_B must be different.
MA5300(config-if-Ethernet7/2/0)#exit
//Configure the work mode of the upstream port, and allow the management
VLANs (VLAN100 and VLAN101) to pass through.
MA5300(config)#interface gigabitEthernet 7/1/5
MA5300(config-if-GigabitEthernet7/1/5)#switchport mode trunk
Please wait... Done.
MA5300(config-if-GigabitEthernet7/1/5)#switchport trunk allowed vlan 100
to 101
Please wait... Done.
MA5300(config-if-GigabitEthernet7/1/5)#exit
//Configure the ISU board.
MA5300ISU#configure terminal
MA5300ISU(config)#interface ethernet 10
MA5300ISU(config-if-ethernet-10)#side user
MA5300ISU(config-if-ethernet-10)#send-frame-type 802.1Q
MA5300ISU(config-if-ethernet-10)#mode gigaethernet 1000full
MA5300ISU(config-if-ethernet-10)#no shutdown
MA5300ISU(config-if-ethernet-10)#exit
MA5300ISU(config)#interface virtual-template 1
MA5300ISU(config-if-virtual-template-1)#ip

address

10.1.1.254

255.255.255.0
MA5300ISU(config-if-virtual-template-1)#bind vlan 128 1471
MA5300ISU(config-if-virtual-template-1)#dhcp server ip pc 127.0.0.1
MA5300ISU(config-if-virtual-template-1)#exit
MA5300ISU(config)#ip local pool huawei
MA5300ISU(config-ip-pool-huawei)#router-ip 10.1.1.254 255.255.255.0
MA5300ISU(config-ip-pool-huawei)#section 0 10.1.1.1 10.1.1.253
MA5300ISU(config-ip-pool-huawei)#exit
MA5300ISU(config)#vlan port 128 1344

authpolicy bind vlan

MA5300ISU(config)#aaa
MA5300ISU(config-aaa)#vlan-batch local user 128 1344 vlan vlan
MA5300ISU(config-aaa)#vlan-batch set local-user state active 128 1344 vlan

247

SmartAX MA5300/5303
1

19
MUX VLAN

MA5300ISU(config-aaa)#domain vlan
MA5300ISU(config-aaa-vlan)#set state active
MA5300ISU(config-aaa-vlan)#exit
MA5300ISU(config-aaa)#exit
MA5300ISU(config)#

:
1) MUX VLAN.
MA5300ISU(config)#show mux-vlan
Mux-vlan is enabled
Uplink port: interface GigabitEthernet7/1/5
Local mux-vlan ID: 128 - 799
VLAN-group(s) number: 14
Mux-vlan(s) number: 672

1 cascading port(s) exist

Interface Ethernet7/2/0
Mux-vlan ID: 800 - 1471
VLAN group(s) number: 14
Mux-VLAN(s) number: 672

Slot: 00

mux-vlan: 128 - 175

Slot: 01

mux-vlan: 176 - 223

Slot: 02

mux-vlan: 224 - 271

Slot: 03

mux-vlan: 272 - 319

Slot: 04

mux-vlan: 320 - 367

Slot: 05

mux-vlan: 368 - 415

Slot: 06

mux-vlan: 416 - 463

Slot: 09

mux-vlan: 464 - 511

Slot: 10

mux-vlan: 512 - 559

Slot: 11

mux-vlan: 560 - 607

Slot: 12

mux-vlan: 608 - 655

Slot: 13

mux-vlan: 656 - 703

Slot: 14

mux-vlan: 704 - 751

Slot: 15

mux-vlan: 752 - 799

2) ISU.
MA5300ISU(config)#show connect
[username,ucibindex,state,domain,ip,mac,cut-data,leaseline,msisdn,roam]:
UCIB=0002 State=Online
IP=10.1.1.2

UserName=MA5300ISU-vlan-00-0128@vlan

MAC=00-80-c8-e5-2c-04 TotalBytes=0

Total 1 connect(s) matched,and 1 listed.

248

SmartAX MA5300/5303
1

19
MUX VLAN

III.
1) winipcfg 1, 2, 3 4, IP-, DHCP;
2) 1, 2, 3 4 ping IP ;
3) ping ;
4) , 1 2 ping ,
proxy-arp enable, ISU ARP-.

19.8.3 MUX VLAN


I.


CON=>Aux7/0/0

CON=>Aux 7/0/0

E
V

ETH=>M-Ethernet 7/0/1

MON

D D

D D

ETH=>M-Ethernet 7/0/1
MON

A
FE=>7/2/0
FE=>7/2/1

FE=>7/2/0
FE=>7/2/1
FE=>7/2/2
FE=>7/2/3

RTU

Telephone
line

ESM

FE=>7/2/2
FE=>7/2/3

MA5300_B

RTU

ESM

MA5300_A

RTU

RTU

Straight through
cable

Straight through
cable
PC1

ISU

PC2

PC3

PC4

Telephone line ;
Straight through cable ;
PC .
. 19-3 MUX VLAN

1) 1 3 0/0/0 EVDA MA5300. 2 4 1/0/0 EADA MA5300.


2) 1 2 IP; 3 4 PPP.
3) 5300 MUX VLAN, VLAN 10; 5300 MUX VLAN;
EVDA EADA VLAN; VLAN ID
128 799.

249

SmartAX MA5300/5303
1

19
MUX VLAN

4) VLAN MA5300_A VLAN100,


IP- - 10.1.1.100/24. VLAN
MA5300_ VLAN101, IP- - 10.1.1.101/24.
5) 5300_ ISU GE .
6) , ,
ADSL/VDSL.
7) (RTU) ADSL 1483B; VPI/VCI = 0/35.
8) 1 2 ISU
VLAN. 3 4 ISU
. ISU
DHCP. IP- (VT) ISU - 10.1.1.254/24.

II.
1) (.. MA5300_B).
// MUX VLAN.
MA5300(config)#mux-vlan
{ <cr>|uplink-port<K>|cascading-port<K>|slot<K>|interface<K> }:
System will be restarted.
Turn to mux mode?[Y/N]:y
// .
Username:root
Password:
MA5300>enable
{ <cr>|level-value<U><1,15> }:
MA5300#configure terminal
MA5300(config)#board confirm 0
// MUX VLAN MUX
VLAN.
MA5300(config)#mux-vlan uplink-port interface ethernet 7/2/0
{ local-vlan<K> }:local-vlan
{ INTEGER<U><128, 3872> }:128
{ INTEGER<U><0,80> }:14
Please wait... Done.
// VDSL/ADSL .
MA5300(config)#vdsl activate vdsl 0/0/0 1
MA5300(config)#adsl activate adsl 1/0/0 1
//

VLAN101,

IP10.1.1.101.
MA5300(config)#vlan 101
MA5300(config-vlan101)#exit

250

IP

SmartAX MA5300/5303
1

19
MUX VLAN

MA5300(config)#interface vlan-interface 101


MA5300(config-if-VLAN-interface101)#ip address 10.1.1.101 255.255.255.0
MA5300(config-if-VLAN-interface101)#exit
//
MA5300(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.1
{ <cr>|preference<K>|reject<K>|blackhole<K> }:
MA5300(config)#
// ;
VLAN101.
MA5300(config)#interface ethernet 7/2/0
MA5300(config-if-Ethernet7/2/0)#switchport mode trunk
MA5300(config-if-Ethernet7/2/0)#switchport trunk allowed vlan 101
{ <cr>|INTEGER<U><2,4000>|to<K> }:
Please wait... Done.
MA5300(config-if-Ethernet7/2/0)#exit
(.. MA5300_).
//

GE,

ESM

ISU,

GE.
MA5300(config)#inner-isu 15
GigabitEthernet7/1/1 will be connected to inner-isu, continue?[Y/N]y
GigabitEthernet7/1/5 will be connected to inner-isu, continue?[Y/N]y
Inner-isu in slot 15 is enabled.
GigabitEthernet7/1/5 has been connected to inner-isu.
// VLAN10,

ADSL/VD

PPP

).
MA5300(config)#vlan 10
MA5300(config-vlan10)#switchport vdsl 0/0/0
MA5300(config-vlan10)#switchport adsl 1/0/0
MA5300(config-vlan10)#exit
MA5300(config)#vdsl activate vdsl 0/0/0 1
MA5300(config)#adsl activate adsl 1/0/0 1
// VLAN100, IP 10.1.1.100.
MA5300(config)#vlan 100
MA5300(config-vlan100)#exit
MA5300(config)#interface vlan-interface 100
MA5300(config-if-VLAN-interface100)#ip address 10.1.1.100 255.255.255.0
MA5300(config-if-VLAN-interface100)#exit
//
MA5300(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.1
{ <cr>|preference<K>|reject<K>|blackhole<K> }:
MA5300(config)#

251

SmartAX MA5300/5303
1

19
MUX VLAN

// VLAN101; VLAN101 VLAN MA5300_B.


MA5300(config)#vlan 101
MA5300(config-vlan101)#exit
//

PVID

VLAN101.
MA5300(config)#interface ethernet 7/2/0
MA5300(config-if-Ethernet7/2/0)#switchport mode trunk
MA5300(config-if-Ethernet7/2/0)#switchport trunk allowed vlan 100 to 101
{ <cr>|INTEGER<U><2,4000>|to<K> }:
Please wait... Done.
MA5300(config-if-Ethernet7/2/0)#switchport trunk native vlan 100
// PVID , MA5300_A MA5300_B. , PVID E7/2/0 G7/1/1 .
MA5300(config-if-Ethernet7/2/0)#exit
// ;
VLAN100 VLAN101.
MA5300(config)#interface gigabitEthernet 7/1/5
MA5300(config-if-GigabitEthernet7/1/5)#switchport mode trunk
MA5300(config-if-GigabitEthernet7/1/5)#switchport

trunk

allowed

vlan

10

100 to 101
MA5300(config-if-GigabitEthernet7/1/5)#exit
// MA5300_B VLAN MA5300_A.
MA5300(config)#access-list user vlan_relay
MA5300(config-user-nacl-vlan_relay)#permit //Allow VLANs 128 - 255 to pass
throug.
{ WORD<S><1,160> }:0080

// VLANID 128.

{ WORD<S><1,160> }:0f80

// 128VLAN-.

{ <0-78>

//

}:14

MAC-,

DA+SA+802.1Qs

), 14 .
MA5300(config-user-nacl-vlan_relay)#permit 0100 0f00 14
// VLAN.256 - 511.
MA5300(config-user-nacl-vlan_relay)#permit 0200 0f00 14
// VLANs 512 - 767.
MA5300(config-user-nacl-vlan_relay)#permit 0300 0fe0 14
// VLANs 768 - 799.
MA5300(config-user-nacl-vlan_relay)#exit
//

MA5300(config)#interface gigabitEthernet 7/1/5


MA5300(config-if-GigabitEthernet7/1/5)#traffic-redirect
{ input<K>|output<K> }:input
{ user-group<K>|ip-group<K>|link-group<K> }:user-group
{ INTEGER<U><300,399>|WORD<S><1,32> }:vlan_relay

252

SmartAX MA5300/5303
1

19
MUX VLAN

{ subitem<K>|cpu<K>|interface<K> }:interface ethernet 7/2/0


MA5300(config-if-GigabitEthernet7/1/5)#exit
MA5300(config)#interface ethernet 7/2/0
MA5300(config-if-Ethernet7/2/0)#traffic-redirect
{ input<K>|output<K> }:input
{ user-group<K>|ip-group<K>|link-group<K> }:user-group
{ INTEGER<U><300,399>|WORD<S><1,32> }:vlan_relay
{ subitem<K>|cpu<K>|interface<K> }:interface gigabitEthernet 7/1/5
MA5300(config-if-Ethernet7/2/0)#exit
// ISU .
MA5300ISU#configure terminal
MA5300ISU(config)#interface ethernet 10
MA5300ISU(config-if-ethernet-10)#side user
MA5300ISU(config-if-ethernet-10)#send-frame-type 802.1Q
MA5300ISU(config-if-ethernet-10)#mode gigaethernet 1000full
MA5300ISU(config-if-ethernet-10)#no shutdown
MA5300ISU(config-if-ethernet-10)#exit
MA5300ISU(config)#interface virtual-template 1
MA5300ISU(config-if-virtual-template-1)#ip

address

10.1.1.254

255.255.255.0
MA5300ISU(config-if-virtual-template-1)#bind vlan 100 101
MA5300ISU(config-if-virtual-template-1)#bind vlan 128 799
MA5300ISU(config-if-virtual-template-1)#dhcp server ip pc 127.0.0.1
MA5300ISU(config-if-virtual-template-1)#exit
MA5300ISU(config)#ip local pool huawei
MA5300ISU(config-ip-pool-huawei)#router-ip 10.1.1.254 255.255.255.0
MA5300ISU(config-ip-pool-huawei)#section 0 10.1.1.1 10.1.1.253
MA5300ISU(config-ip-pool-huawei)#exit
MA5300ISU(config)#vlan static user pc 10 100 10.1.1.100
MA5300ISU(config)#vlan static user pc 10 101 10.1.1.101
MA5300ISU(config)#vlan port 100 2 authpolicy bind vlan
MA5300ISU(config)#vlan port 128 672 authpolicy bind vlan
MA5300ISU(config)#aaa
MA5300ISU(config-aaa)#vlan-batch local user 100 2 vlan vlan
MA5300ISU(config-aaa)#vlan-batch local user 128 672 vlan vlan
MA5300ISU(config-aaa)#vlan-batch set local-user state active 100 2 vlan
MA5300ISU(config-aaa)#vlan-batch set local-user state active 128 672 vlan
MA5300ISU(config-aaa)#domain vlan
MA5300ISU(config-aaa-vlan)#set state active
MA5300ISU(config-aaa-vlan)#exit
MA5300ISU(config-aaa)#exit
MA5300ISU(config)#

253

SmartAX MA5300/5303
1

19
MUX VLAN

MA5300ISU(config)#vpdn-group 1
MA5300ISU(config-vpdn1)#accept dialin pppoe authentication chap
MA5300ISU(config-vpdn1)#exit
MA5300ISU(config)#aaa
MA5300ISU(config-aaa)#domain huawei
MA5300ISU(config-huawei)#set ip-pool huawei
MA5300ISU(config-huawei)#set state active
MA5300ISU(config-huawei)#exit
MA5300ISU(config-aaa)#add user hw@huawei -p hw -c active enable A 0 -al
enable 10
MA5300ISU(config-aaa)#exit
MA5300ISU(config)#

III.
1) winipcfg 1 2, IP, DHCP.
2) 2 4, IP-,
DHCP.
3) 1, 2, 3 4 ping,
IP- .
4) ping , ,
, .
5) ping ,
proxy-arp enable ARP-.

254

SmartAX MA5300/5303
1

20
STP

20 STP
20.1
(STP)
, ,
.
STP (..
" (BPDU), IEEE 802.1 D)
. BDPU , .
BDPU :
(ID) . MAC.
.
(ID) .
MAC-.
(ID) . .
BDPU: MessageAge.
BDPU: MaxAge.
BDPU: HelloTime.
: ForwardDelay.
. 20-1 .

255

SmartAX MA5300/5303
1

20
STP

MA5300 A
vdsl 3/0/1

vdsl 3/0/2

vdsl 3/0/7
MA5300 B
vdsl 3/0/4

vdsl 3/0/5
MA5300C
vdsl 3/0/1
LAN

. 20-1

, ,
, .
LAN, , , . . 20-1,
MA5300 A MA5300 Ethernet 0/1.
, BPDU MA5300 B 5300 ,
vdsl3/0/1 MA5300 A. . 20-1,
5300 5300 LAN,
5300 LAN. , LAN 5300 ,
vdsl 3/0/4 .
STP.
STP. . 20-2
.

256

SmartAX MA5300/5303
1

20
STP

MA5300 A
vdsl 3/0/1

vdsl 3/0/2

vdsl 3/0/7

10

MA5300 B
vdsl 3/0/4
4

vdsl 3/0/1

vdsl 3/0/5

MA5300 C

. 20-2 5300


BPDU. ID ( ), , ID
( ) ID
( ). . 20-2,
5300 , 0, 1 2 ,
5, 10 4 .
1) .

BPDU, ; 0; ID ID ; .
5300 :
BPDU vdsl 3/0/1: {0, 0, 0, vdsl3/0/1}.
BPDU vdsl 3/0/2: {0, 0, 0, vdsl3/0/2}.
5300 :
BPDU vdsl 3/0/7: {1, 0, 1, vdsl3/0/7}.
BPDU vdsl 3/0/4: {1, 0, 1, vdsl3/0/4}.
5300 :
BPDU vdsl 3/0/1: {2, 0, 2, vdsl3/0/1}.
BPDU vdsl 3/0/5: {2, 0, 2, vdsl3/0/5}.
2) BPDU.
BPDU . BPDU , ,
, , BPDU .
BPDU , , , BPDU
257

SmartAX MA5300/5303
1

20
STP

. BPDU
BPDU .
:
BPDU
;
ID , . , BPDU, S. BPDU S ;
,
, ,
BPDU.
, BPDU
.
3) , BPDU .
BPDU, . BPDU
.
BPDU, 2, - . ,
BPDU, BPDU .
, BPDU 2, . BPDU :
ID
BPDU ;

BPDU
;
ID ID ;
ID ID .
:
5300 :
vdsl 3/0/1 BPDU MA5300 B ,
BPDU ,

258

SmartAX MA5300/5303
1

20
STP

, BPDU .
vdsl 3/0/2.
5300 , BPDU ; 5300 , BPDU
. BPDU
.
BPDU :
BPDU vdsl 3/0/1: {0, 0, 0, vdsl3/0/1}.
BPDU vdsl 3/0/2: {0, 0, 0, vdsl3/0/2}.
5300 :
vdsl 3/0/7 BPDU MA5300 ,
BPDU , ,
BPDU.
vdsl 3/0/4 BPDU MA5300 ,
BPDU ,
, BPDU .
BPDU :
BPDU vdsl 3/0/7: {0, 0, 0, vdsl3/0/1}.
BPDU vdsl 3/0/4: {1, 0, 1, vdsl3/0/4}.
5300 BPDU BPDU vdsl 3/0/7 . , vdsl 3/0/7
, BPDU 5300 .
BPDU vdsl 3/0/7 {0, 0, 0,
vdsl3/0/1}.
vdsl 3/0/4 ,

BPDU. 5. ID ID , ID
ID . ,
BPDU {0, 5, 1, vdsl3/0/4}.
5300 BPDU.
5300 :
vdsl 3/0/1 vdsl 3/0/4 5300 BPDU {1, 0, 1, vdsl3/0/4}, . . , BPDU
{1, 0, 1, vdsl3/0/4}.

259

SmartAX MA5300/5303
1

20
STP

vdsl 3/0/5 BPDU {0, 0, 0, vdsl3/0/2} 5300


. . , BPDU
{0, 0, 0, vdsl3/0/2}.
,
BPDU vdsl 3/0/5 , vdsl 3/0/5 .
BPDU .
vdsl 3/0/1 , BPDU
. ( STP),
5300 , , . , 5300
5300 ,
BPDU.
vdsl 3/0/1 BPDU {0,
5, 1, vdsl3/0/4} 5300 . BPDU , BPDU {0, 5, 1, vdsl3/0/4}.
, vdsl 3/0/5 BPDU
5300 , BPDU {0, 0, 0, vdsl3/0/2}.
, BPDU vdsl 3/0/1 , vdsl 3/0/1 ,
BDPU . vdsl 3/0/5 , BDPU , 5300
, - . , 5300 5300 .
, . . 20-3
, 5300 .

MA5300 A
vdsl 3/0/1

vdsl 3/0/7

MA5300 B
vdsl 3/0/4

vdsl 3/0/1
MA5300 C

. 20-3

. , ID
ID -

260

SmartAX MA5300/5303
1

20
STP

, MAC- . ID - .
BPDU,
BPDU ( ) . , , .
BPDU STP.
.
BPDU
HelloTime. BPDU ,
BPDU, MessageAge, BPDU, .
- ,
BPDU. BPDU .
, , .
BPDU
,
, ,
. ,
.
RSTP , BPDU
, . ,
(Forward Delay) .
5300
(RSTP), STP.
, .
:
, .
:

261

SmartAX MA5300/5303
1

20
STP

. ,
, , .
, .
. , , . . ,
.
, RSTP, ,
STP. RSTP .

20.2 RSTP
RSTP RSTP.
RSTP
. RSTP. RSTP .
RSTP :
/ RSTP ;
/ RSTP ;
;
RSTP;
;
;
Hello Time ;
;
;
;
;
;
;
mCheck;
RSTP.

20.2.1 / RSTP
.

262

SmartAX MA5300/5303
1

20
STP

. 20-1 / RSTP

/ RSTP

spanning-tree { enable | disable }

RSTP ,

no spanning-tree

, RSTP .
RSTP .
, RSTP .
MA5300(config)#spanning-tree disable

20.2.2 / RSTP
RSTP, RSTP
Ethernet VDSL ,
.
VDSL.
. 20-2 / RSTP

/ RSTP

spanning-tree { enable | disable }

RSTP ,

no spanning-tree

, ADSL STP/RSTP
RSTP Ethernet VDSL, .
RSTP
.
, RSTP
Ethernet7/2/0.
MA5300(config-if-Ethernet7/2/0)#spanning-tree disable

20.2.3
. -

263

SmartAX MA5300/5303
1

20
STP

. .
.
. 20-3

spanning-tree bridge-diameter bridgenum

no spanning-tree bridge-diameter

7.
.
7.
,
7.
MA5300(config)#spanning-tree bridge-diameter 7

20.2.4 RSTP
RSTP STP.
, STP, RSTP STP .
.
. 20-4 RSTP

RSTP ,
STP, RSTP

spanning-tree mode { stp | rstp }

RSTP,

no spanning-tree mode

, , STP, ( RSTP), (
STP), RSTP , STP.
RSTP RSTP.
,
RSTP RSTP.
MA5300(config)# spanning-tree mode stp

264

SmartAX MA5300/5303
1

20
STP

20.2.5
. , ,
.
.
. 20-5

spanning-tree priority bridge-priority


no spanning-tree priority

,
, -
. RSTP , .
32768.
,
32768.
MA5300(config)# spanning-tree mode priority 32768

20.2.6

. BPDU .
, . , . ,
(Forward Delay) .
, BPDU
, .
.
.

265

SmartAX MA5300/5303
1

20
STP

.
. 20-6

spanning-tree
centiseconds

forward-time

no spanning-tree forward-time

,
, .
,
. , .
15 .
,
1500 .
MA5300(config)#spanning-tree forward-time 1500

20.2.7 Hello Time


Hello Time
.
.
. 20-7 Hello Time

Hello Time

spanning-tree hello-time centiseconds

Hello Time ,

no spanning-tree hello-time

Hello Time , .. .
, Hello Time BPDU .
. , .

266

SmartAX MA5300/5303
1

20
STP

Hello Time 2 .
, Hello Time
200 .
MA5300(config)# spanning-tree hello-time 200

20.2.8 (Max. Age)



, ,
BPDU. .
.
. 20-8 (Max. Age)

(Max.
Age)

spanning-tree max-age centiseconds

Max. Age ,

no spanning-tree max-age

Max. Age , . , Max. Age , . , .


Max. Age 20 .
, Max. Age , 2000 .
MA5300(config)# spanning-tree max-age 2000

20.2.9

Ethernet VDSL
. .
Ethernet VDSL.

267

SmartAX MA5300/5303
1

20
STP

. 20-9

spanning-tree transit-limit packetnum


no spanning-tree transit-limit


, . , .
3 ( , ) Ethernet VDSL .
, 3.
MA5300(config-if-Ethernet7/2/0)# spanning-tree transit-limit 3

20.2.10
Ethernet VDSL Ethernet VDSL , ,
.. , . Ethernet
VDSL , , RSTP
, .
Ethernet VDSL.
. 20-10

spanning-tree portfast { enable | disable }

no spanning-tree portfast

Ethernet VDSL
, .. RSTP
.
, , ,
.

268

SmartAX MA5300/5303
1

20
STP

Ethernet .
, Ethernet7/2/0
.
MA5300(config-if-Ethernet7/2/0)#spanning-tree portfast enable

20.2.11
Ethernet , . , . RSTP .
Ethernet VDSL.
. 20-11

spanning-tree cost cost

no spanning-tree cost

, Ethernet
VDSL . , , RSTP .
,
.
, , 200.
MA5300(config-if-Ethernet7/2/0)#spanning-tree cost 200

20.2.12
Ethernet VDSL
. , ,
Ethernet . Ethernet
VDSL - , , .
Ethernet VDSL.

269

SmartAX MA5300/5303
1

20
STP

. 20-12

spanning-tree port-priority port-priority


no spanning-tree port-priority

, Ethernet
VDSL .
Ethernet VDSL 128.
, 128.
MA5300(config-if-Ethernet7/2/0)# spanning-tree port-priority 128

20.2.13 /

, ,
. , . auto, RSTP ,
Ethernet VDSL.
Ethernet VDSL.
. 20-13 /

spanning-tree point-to-point forcetrue

spanning-tree point-to-point forcefalse

auto

spanning-tree point-to-point auto

no spanning-tree point-to-point

Ethernet ( VDSL), , . auto.


auto.
, auto.
270

SmartAX MA5300/5303
1

20
STP

MA5300(config-if-Ethernet7/2/0)#spanning-tree point-to-point auto

20.2.14 mCheck
, , ,
STP, , STP . RSTP.
Ethernet VDSL.
. 20-14 mCheck


spanning-tree mcheck

mCheck

, RSTP
RSTP. RSTP STP
, .
, mCheck.
MA5300(config-if-Ethernet7/2/0)#spanning-tree mcheck

20.2.15 RSTP
. show
, .
. 20-15 RSTP


RSTP

show spanning-tree [ interface interfacelist ]


RSTP (, )

debug stp { error | event | packet }

RSTP

clear spanning-tree [ interface interfacelist ]

, RSTP
.
MA5300(config)#show spanning-tree
Spanning tree protocol is disabled
The bridge has priority 32768, MAC address: 00e0.fc11.19c2
Configured Hello Time 2 second(s), Max Age 20 second(s),
Forward Delay 15 second(s)

271

SmartAX MA5300/5303
1

20
STP

, RSTP ethernet7/2/0.
MA5300(config)#show spanning-tree interface ethernet 7/2/0
Spanning tree protocol is disabled
The bridge has priority 32768, MAC address: 00e0.fc11.19c2
Configured Hello Time 2 second(s), Max Age 20 second(s),
Forward Delay 15 second(s)

, RSTP
.
MA5300(config)#clear spanning-tree

, RSTP
ethernet7/2/0.
MA5300(config)#clear spanning-tree interface ethernet 7/2/

272