You are on page 1of 49

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2 MA5200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1 IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.2 IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3 DHCPIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.4 VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 DHCP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1 WINDOWS NT DHCP . . . . . . . . . . . . . . . . . . . . . . . . 16
3.2 MA5200DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.3 DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4 DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.5 IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.6 DHCPMA5200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4 2403 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.4 VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.5 Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.6 2403F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5 VLANIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6 VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1

PPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 PPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 PPPoEIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 VPDN PPPoE . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6 PPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Radius Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 PPPoEIP . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 VPDN PPPoE . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 AAARadius . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 2403 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1 MA5200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 2403 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 3008 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 HAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6 PPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.7 AAA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25
25
25
26
26
27
28
28
28
29
29
29
32
32
33
33
38
39
44
44
44
45
45
46
46
47
47
48
48
48
48
48
48
49
49
49
49

MA5200

1
MA5200
Telnet

ModemTelnet
ModemTelnet

1.1
Win95 Win97 Win98Windows NT

RS232

3-1

RS232

MA5200

3-1

3-2

MA5200
3

3-3

3-2

MA5200

3-3

MA5200

115200bps bps

1.2
MA5200 Modem MA5200
MA5200Modem PCModem

Modem3-6
MA5200

MODEM

PSTN

MODEM

3-6

MA5200

1.3 Telnet
MA5200 MA5200
IP Telnet

MA5200

3-7

MA5200

LAN

3-7

MA5200

3-8

LAN

WAN
MA5200

LAN

3-8

Telnet

VT-100

3-9

MA5200

3-9 Telnet

MA5200 MA5200IP
MA5200IP

MA5200>

&

1.4
root/admin

2
2.1
1

MAC

MAC
nm-eth mac address mac-address

MAC

00-e0-fc MAC

IP

IP

nm-eth ip address

ip-address submaskip
3

IP

ip0.0.0.0

nm-eth ip

route ip-address

2.2

2.3
6

PINGMA5200IP

MA5200

MA5200 MA5200

MA5200
MA5200# nms
Input NMS's IP address : 10.105.32.32
Input NMS's name : MA5200web
Input NMS's GET Community [public] :
Input NMS's SET Community [private] :
Input NMS's maintain style
>0--Band in
>1--Band out[1]:
Add successfully.
MA5200#


IP

<nmsnameorip>(S):MA5200web
Act NMS successfully.

MA5200# active nms


<nmsnameorip>(S):10.105.32.32
Act NMS successfully.

MA5200# active nms

no active nms

MA5200

no nms

show nms

MA5200

MA5200

MA5200

2
1

MA5200

user name

no user name

user level

user password

user reenter

show terminal user

show client

4
4.1
MA5200

reset system

FLASH

SMB

4.2
show dev

MA5200

01516

HAB HRB SMB

2 show system cpurate CPU


CPU
3

show frame temp

MA5200

show uptime

4.3

show dev

show board slot-no



show slot slot-no

show hrb HRB



show smbSMB

FALSH

DRAM

SMB

SMB

reset board slot-no

SMB

reset system
3

del board slot-no

4.4
1

MA5200

MA5200 Flash MA5200


Flash Flash MA5200

MA5200

MA5200

show startup-config

show running-config

10

MA5200

MA5200

MA5200

Flash

copy

running-config startup-config
3

Flash

copy startup-config running-config

5
5.1
MA5200>show version
MA5200 Software Version MA5200-2103P01 2000/11/15
MA5200 Hardware Version H511 2000/11/15 -1999-2000 SHENZHEN HUAWEI TECH CO.,LTD.

11

VLAN

MA 5200

VLAN
1
MA5200 VLAN 4-1
MA5200GE DHCP AAA VODSERVER
MA5200100M2403 4-2 MA5200
100M DHCPVODSEVERHRB
100M MA5200100M2403
DHCP SERVERPING
MA5200IP DHCP
DHCP SERVER

ISP

ISP
DHCP

1000M
AAA
VOD

L3 Switch
1000M

Web

1000M

... ...

MA5200
100M

MA5200
100M

S2403

... ...

... ...

... ...

... ...

... ...

... ...

2410Base_T

2410Base_T

2410Base_T

2410Base_T

4-1 MA5200GE

12

VLAN

MA 5200

ISP

ISP

1000M

L3 Switch
DHCP
100M

100M

VOD

... ...

MA5200

100M

MA5200

100M

100M

S2403

... ...

... ...

... ...

... ...

... ...

... ...

2410Base_T

2410Base_T

2410Base_T

2410Base_T

4-2 MA5200100M

2 MA5200
2.1 IP
MA5200
IP
1

MA5200

MA5200> enable
MA5200# configure terminal
2

IP

HRB0

12

IP

IP

10.1.21.202

MA5200(config)# interface ethernet 12/0


MA5200(config-if-ethernet-12/0)# ip address 10.1.21.202 255.255.0.0
MA5200(config-if-ethernet-12/0)# exit

2.2 IP
VLANIPDHCP
DHCPIPVLANIP
1

13

VLAN

MA 5200

MA5200(config)# interface virtual-template 1


VLANIP

IP10.10.1.1 10.10.0.0
MA5200(config-if-virtual-template-1)# ip address 10.10.1.1 255.255.0.0
MA5200(config-if-virtual-template-1)# exit

2.3 DHCPIP
VALNIPDHCP
DHCPIP

DHCP SeverIP10.1.21.200

MA5200(config)# dhcp server ip 10.1.21.200


DHCP

DHCP1

MA5200(config)# dhcp agent virtual-template 1

2.4 VLAN

VLAN ID MA5200VLAN ID
VLAN IDVLAN
VLAN

VLAN

3 ... ... 99

100

HAB

VLANID

MA5200(config)# vlan user 4 1 100


4 1 VLANID
VLANID

100

VLANID

4HABVALNID 100VLAN
MA5200-vlan-04-0001@vlan MA5200-vlan-04-0002@vlan
MA5200-vlan-04-0003@vlan
... ... MA5200-vlan-04-0099@vlan
MA5200-vlan-04-0100@vlan MA5200
2

VLAN

VLAN

VLAN ID

4Vlan id150

14

VLAN

MA 5200

MA5200(config)# set vlan user port 4 1 50 active

VlanID

1VlanID

50

VlanID10

MA5200(config)# set vlan user port 4 10 1 active

MA5200(config)#set user port MA5200-vlan-04-0010@vlan active


MA5200

04
3

0010

hostname

VlanID

4 VlanID8
1

VlanID

MA5200(config)#set vlan user num 3 1 10 4


3

VlanID

10

1VlanID

MA5200(config)#set user num MA5200-vlan-03-0001@vlan 4


VlanID
5

VALN

10VLAN

VLAN ID1

MA5200(config)no vlan user 3 1 10


3VlanID110

MA5200(config)#set vlan user port 3 1 10 block


6 vlan vlan
MA5200ARP
MA5200(config)#proxy-arp enable

2.5
MA5200

15

VLAN

MA 5200

MA5200(config)#ip route ip-address { mask | mask-length }

gateway-address [

preference preference-value ]

MA5200(config)#ip route 0.0.0.0 0.0.0.0 10.1.21.1 preference 60

3 DHCP Server
3.1 WINDOWS NT DHCP
DHCP SERVER/CLIENT WINDOWS NT SERVER
DHCP DHCP
1
DHCP I386
2

MICROSOFT

DHCP

3 DHCP

3.2 MA5200DHCP
MA5200 DHCP
DHCP MA5200 MA5200 DHCP
MA5200 DHCPIP
DHCP8 100MHRB100M GE
3008 DHCP SERVERPINGMA5200
IP

3.3 DHCP
->->->DHCP4-3

16

VLAN

MA 5200

4-3 DHCP

3.4 DHCP
->

3.5 IP
IP

MA5200

DHCP

10.1.0.0
10.10.0.0
DHCP ->
4-4

17

VLAN

MA 5200

4-4 IP



IP
IP IP
IP
IP

3.6 DHCPMA5200

DHCPDHCP

IP

DNSWINS

MA5200 DHCP
DHCP003
MA5200IP
MA5200IPIP
4-5

18

VLAN

MA 5200

4-5 :IP

MA5200 DHCP
DHCP 3008MA5200
GE DHCP3008 MA5200IP
DHCPMA5200100M MA5200100M
IP TCP/IP MS-DOS
route add 10.10.0.0 mask 255.255.0.0 10.1.21.202

4 2403
4.1
2403 ->->->
->
240338400 2403F9600

2403 24033

4-1 2403

security

security

manager

manager

monitor

monitor

2403

19

VLAN

MA 5200

TAB

TAB

4.2
2403

4-6 2403

4.3

System

20

VLAN

MA 5200

4-7

IP
2403telnet
IP PCIP 2403
telnet

4.4

VLAN

4-8 VLAN

MA5200VLANVLAN ID
VLAN 2410M 310/100M
25~27 HAB MA52002403
25HAB VLAN VLAN ID1

21

VLAN

MA 5200

125 VLAN ID2225 VLAN ID2424


25 VLAN VLAN ID25
1-25
4-2 2403 VLAN
VLAN ID

25

25

...............

..............

24

24

25

MA52002403

4.5

25
....... 25

VLAN ID26

Port

4-9

1 24
1518 1531 MAC
VLAN ID 1531 1 24
Untagged Tagged
MA5200VLAN IDMAC 1 24
VLAN1 25~24 25VLAN ID 1 24
1 24 VLAN ID
999

4.6 2403F
22

VLAN

MA 5200

2403F2403 2403F
25 link
100M

5 VLANIP
VLANIP
IP IP
1. WIN95/97/98
4-10

WINIPCFG

4-10 WIN9XIP

IP

IP

2 WinNT DOS WINNT\SYSTEM32\ ipconfig


/release IP ipconfig /renew IP

6 VLAN
VLANIPVLAN

MA5200

256VLAN
VLANIDVLAN ID

VLAN
VLANIPDHCP IP
DHCP DHCP IP

23

VLAN

MA 5200

1. VLAN

static vlan user

122VLANID10VLAN
6.1.1.2 00-a0-26-df-d2-12
MA5200(config)#static vlan user 12

10

6.1.1.2

00-a0-26-df-d2-12

2.313VLANIDIP
MAC
MA5200(config)#static vlan user 12

IP

MAC

10

6.1.1.2

3. VLAN no static vlan user


IPDHCP
122VLANID10VLAN
6.1.1.2 00-a0-26-df-d2-12
MA5200(config)# no static vlan user 12

10

6.1.1.2

IP

00-a0-26-df-d2-12

4. VLAN show user static


VLAN VLANID
IP
5.IPDHCP SERVER
IP

24

PPP

MA 5200

PPP

PPPoE

PPP

MA5200PPPoE
MA5200 MA5200

1 PPP
PPPPPPOEMA5200
Radius Server

MA5200PPP

1.1 PPPoEIP
1

MA5200

MA5200> enable
MA5200# configure terminal
2

IP

HRB0

12

IP

IP

10.1.21.202

MA5200(config)# interface ethernet 12/0


MA5200(config-if-ethernet-12/0)# ip address 10.1.21.202 255.255.0.0
MA5200(config-if-ethernet-12/0)# exit
3

MA5200(config)# interface virtual-template 1


4

PPPoEIP

IP1.1.1.1 1.1.0.0

25

PPP

MA 5200

MA5200(config-if-virtual-template-1)# ip address 1.1.1.1 255.255.0.0


MA5200(config-if-virtual-template-1)# exit
MA5200(config)#

1.2 VPDN

PPPoE

VPDN

vpdn enable VPDN


PPPOE L2TP PPTPVPDN
2

vpdn-group PPPoE VPDN ,

PPPOE
VPDN1

MA5200(config)# vpdn-group 1
3 MA5200 PPPOE SERVER

VPDN1

VPDN

MA5200(config-vpdn-group 1)# accept dailin pppoe virtual-template 1


MA5200(config-vpdn-group 1)# exit
MA5200(config)#

1.3

huawei.com ) (

1.1.1.2 1.1.1.100 )
1

AAA

MA5200(config)#aaa
2

huawei.com

MA5200(config-aaa)#aaa domain huawei.com


3

huawei.com0

IP1.1.1.2 1.1.1.100

MA5200(config-aaa-huawei.com)#ip local pool 0 1.1.1.2 1.1.1.100


MA5200(config-aaa-huawei.com)#exit

26

PPP

MA 5200

MA5200(config-aaa)#exit
MA5200(config)#exit

1.4
1

PPP

user0001@huawei.com

pass0001

MA5200(config)#ppp user user0001@huawei.com password 0 user0001


2

MA5200PPPoE

user0001@huawei.com
MA5200(config)# set user port user0001@huawei.com active
3 1 2
PPPOE

MA5200user0001@huawei.com

huawei.comPPPOE 1
2

PPP

user0001@huawei.com
MA5200(config)no ppp user user0001@huawei.com
user0001@huawei.com
MA5200(config-aaa)#set user port user0001@huawei.com block
5

PPP

show local user


PPP

show active user

27

PPP

MA 5200

show online user


1.5

1.6 PPP
PPPPPPoE
PPPoE PPPoE

2 Radius Server
RADIUS Remote Authentication Dial In User Service

AAA

Authentication Authorization and Accounting



Radius

MA5200 RAIDUS RADIUS


Radius ServerMA5200 MA5200
MA5200PINGRadius Server
MA5200

MA5200
RADIUS RADIUS MA5200RADIUS
RADIUSMA5200

MA5200
MA5200RADIUS

28

PPP

MA 5200

5-1MA5200Radius
Server

PC user1

Server1

MA5200

PC user2

ISP 1

Server2

Ethernet

LAN SWITCH2403
PC user3
Ethernet

MA5200
PC user4

LAN

Server

INTERNET
Server
Ethernet

ISP 2
LAN SWITCH2403
Ethernet

LAN

5-1 MA5200Radius

2.1

PPPoEIP

2.2 VPDN

PPPoE

2.3 AAARadius
1

AAA

MA5200(config)#aaa
2

aaa

MA5200(config-aaa)#aaa enable
3 PPP/PPPoE
default
MA5200

default

authmethod name [method1


method2 method3] name
method1, method2, method3

29

none

local

PPP

MA 5200

radius

radius

MA5200(config-aaa)#authmethod default radius local none


4

huawei.com

MA5200(config-aaa)#aaa domain huawei.com


5

huawei.com0

IP1.1.1.2 1.1.1.100

MA5200(config-aaa-huawei.com)#ip local pool 0 1.1.1.2 1.1.1.100


6

ISP
RADIUS

ISP RADIUS

ISP

MA5200(config-aaa-huawei.com)aaa accounting optional


7

RADIUSIP

ISP ISPRADIUSIP
IP

radius-server host ip-address auth-port portnumber acct-port portnumber



1812
1813
8

RADIUS

RADIUS
RADIUS
radius-server key string
9

RADIUS

radius RADIUS
RADIUSradius RADIUS

30

PPP

MA 5200

radius-server timeout seconds


RAIUDS

10

RADIUS RADIUS
RADIUSRADIUS
RAIUDS
radius-server retransmit retries
11

RADIUS

RADIUS ISP RADIUS



radius-server infomation

MA5200(config-aaa-huawei.com)#radius-server information

ISP's domain name: huawei.com


The Defaute Authenticatin server IP address: 10.10.10.10
The Defaute Accounting server IP address : 10.10.10.12
The Second Authenticatin server IP address: 0.0.0.0
The Second Accounting server IP address : 0.0.0.0
This ISP need accountting!
Encryption Key: musav200
Realtime Accounting Interval time: 20
Retransmit time: 3
5-2
5-2 show information

ISP's domain name

ISP

The Defaute Authenticatin


server IP address
The Defaute Accounting
server IP address
The Second Authenticatin
server IP address
The Second Accounting
server IP address

IP

This ISP need account!

IP
IP
IP
RADIUS

RADIUS

Encryption Key

31

PPP

MA 5200
Realtime Accounting Interval
time

Retransmit time

2.4 RADIUS
RADIUS TCP/IP
ISPRADIUS

RADIUS
RADISURADIUS

RADIUSRADIUS

RADIUS

RADIUS
RADIUSIP

ISP

RADIUS

AAA

RADIUS

PPP

2403HUB

3 2403

HABuntagged

2403

2 HAB tagged 2403tagged


default vlan idvlan id
2403default vlan idvlan id
tagged MACvlan id

32

MA 5200


MA5200BootRom

MA5200DRAM FLASH DRAMMA5200


FLASH MA5200 BootRom

SMB

Load program

&

SMBSMB
D

Xmodem

tftp

ip
tftp server tftp
tftp server


Xmodem

SMB

SMB SMB
flash

33

MA 5200

SMB
SMB SMB
flash

1 07SMB
10.105.33.44 smb_app.bin

6-1

tftp IP

tftpMA5200

tftp

6-1 TFTP

6-2

Setting

6-2

34

OK

MA 5200

MA5200#load program 0 7 tftp 10.105.33.44 smb_app.bin

TFTP

This operation may take several minutes, please wait...


MA5200#
File downloaded to smb successfully, please wait...
Begin writing to flash...
Write SMB's program to flash successfully.
please reset system to run new program.
SMBFLASH

SMBreset system

show version

2 0 7 SMB
smb_app.bin

MA5200
MA5200

MA5200#load program 0 7 Xmodem

Please run command "send file" of HyperTerminal...


6-3

35

MA 5200

6-3


< >
6-4

Xmodem

6-4

SMB

File downloaded to SMB successfully, please wait...


flash
Begin writing to flash...
flash

Write SMB's program to flash successfully.

36

MA 5200

please reset system to run new program.

3 01HRB
10.105.33.44 hrb_app.pow

tftp IP

MA5200#load program 0 1 tftp 10.105.33.44 hrb_app.pow

TFTP

This operation may take several minutes, please wait...


MA5200#
File downloaded to smb successfully, please wait...
Begin to send data...
Data sent to slave board successfully, please wait...
finish to load all targets.
write flash successfully, resetting board...

SMB

FLUSH

show devshow slot

show board

4 0 1 HRB
hrb_app.pow

MA5200
MA5200

MA5200#load program 0 1 Xmodem

37

MA 5200

show devshow slot

show board

load configMA5200

smbconf.bin 07SMB

IP10.105.33.44

tftp

load config 0 7 tftp 10.105.32.2 smbconf.bin

SMB

2 smbconf.bin07SMB

load config 0 7 xmodem

SMB

SMB

File downloaded to SMB successfully, please wait...


flash
Begin writing to flash...
flash

Write SMB's config to flash successfully

&

38

MA 5200

1.

end
MA5200
!
configure terminal
!
interface ethernet 0/0
ip address 1.1.0.1 255.255.0.0
exit
!
interface ethernet 11/0
send-frame-type Ethernet_II
ip address 11.1.0.1 255.255.0.0
exit
!
interface ethernet 15/0
send-frame-type Ethernet_II
ip address 15.1.0.1 255.255.0.0
exit

39

MA 5200

!
interface ethernet 15/4
send-frame-type Ethernet_II
ip address 15.5.0.1 255.255.0.0
exit
exit
!
configure terminal
arp -s 1.1.0.100 00-00-00-00-00-02
proxy-arp enable
exit
end
2.
Flash

backup

start-config

1
1

MA5200#backup start-config xmodem


2

please run command of HyperTerminal to receive file

40

MA 5200

3
6-5

6-5

Xmodem

6-6

6-6

6-7

6-7

41

MA 5200

Backup data to server successfully.

tftpMA5200

tftp

MA5200#backup start-config tftp 10.105.33.72 syscfg.bin

TFTP

This operation may take several minutes, please wait...
MA5200#
Backup data to server successfully.

42

MA 5200


1
PSTN5
IP
INTERNET
ADSL

2
MA5100MA5200 5-1
MA5200 MA5100

MA5200S2403F MA5100

1000M

MA5100

MA5200 MA5200 MA5100

RTU

MA5200S2403

MA5200
DHCP
WWW

VOD

100/1000M

L3 Switch(Extreme)
GE
GE
100FX

MA5200

100FX

...

S2403F

MA5100

S2403F

100FX

100FX

S2403F

...
RTU

RTU

100FX

MA5200

...

100FX

S2403F

7-1

43

MA5100

...

RTU

RTU

MA 5200

7-2

1 2 3

5 6

7 8

10

11

12

13

0
H
A
B

S
M
B

H
R
B

3
3.1 MA5200
1

MA5200

root

User name(<15 chars)> root


Password (<15 chars)> admin
MA5200> enable
MA5200# confige terminal
2

IP

MA5200(config)# interface ethernet 12/0

44

admin

14

15

MA 5200

MA5200(config-if-ethernet-12/0)# ip address 10.1.21.202 255.255.0.0


MA5200(config-if-ethernet-12/0)# exit
VLANIP

MA5200(config)# interface virtual-template 1


MA5200(config-if-virtual-template-1)# ip address 10.10.1.1 255.255.0.0
MA5200(config-if-virtual-template-1)# exit
DHCP ServerIPDHCP

MA5200(config)# dhcp server ip 10.1.21.200


MA5200(config)# dhcp agent virtual-template 1
VLAN

VLANHAB VLAN
VLANID

MA5200(config)# vlan user 4 1 100


4 1
VLANID

VLANID

100

MA5200(config)# set vlan user port 4 1 100 active


4

VlanID

100

1VlanID

3.2 2403
240327 2410M
3100MHAB 25
240338400

24UNTAG

Default VLANID1 24 25 27TAG


Default VLANID25 27 VLAN1 2425
VLANID1 24 1 25VLANID25
MTU1531

3.3 3008
3008 9

GE

10/100M
300838400
VLANID

UNTAG

3.4
45

MA 5200

DHCP Server

Web Server

VOD Server

3008
MA5200

DOS

route add 10.10.0.0 mask 255.255.0.0 10.1.21.202

46

MA5200

1
1.1
1

2 MA5200

SMBCPUWDT

TFTP

1.2
TFTP32

2 313SMB
10M

1.3 HAC
1 GE 1000M/FULL
1200 HAC HRB
GE mac set auto dis 0

1.4
1

313


GE slotid/0
Show startup-config

2 4telnet

telnet

telnet
telnetIP

IP

3 2403 HAB
VLAN
winipcfg
4

Telnet

SMB

1.5 VLAN
1

VLAN

47

MA5200

2 DHCP Agent
VLAN

3

AIP BIP

6K 6K

2K
2K 2K
FLASH
5

VLANVLAN

6 VLAN 10.20.1.255/16 IP
Windows98

1.6 PPP
1 ppp

papchap

PPPACTIVE

ppp

ACTIVE ,

1.7 AAA
1
show online user PPP

2 IP
D E IP

1.8
1

MA5200RIP

a.
b.

48

RIP2

MA5200

c.
2

a.
b.
c.HAC
3

a.

b.

c.SRAM

SRAM

d.AFC

AFC

e.T8206

HAC

SMB

f.

testbb

ok

MAC

a. Show board
MAC 00-XX-XX-XX-XX-XX

b. MA5200MAC
MAC
5

DOWN

a.
b.HRB

up

c.

UP

d.GE
850nm
d.

49

GE1310nm

GE

You might also like