Anda di halaman 1dari 67

Internal

MA5600 Basic
Configuration
www.huawei.com

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Objectives
After this course, you should be able to:
Master elementary knowledge on command

line
Master basic configuration of system
Master basic services and function

configuration
Understand inband and outband NM

configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 2

Summary of Contents
Chapter 1 Introduction to Operation
Command Line
Chapter 2 Basic System Configuration
Chapter 3 Port Configuration
Chapter 4

VLAN Service Configuration

Chapter 5 Enhanced Service Configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 3

Elementary Knowledge on Command Line


return
Login via
serial port or
TELNET

Ordinary user
mode
MA5600>

quit

enable

Privilege
mode

disable

MA5600 #

Configure
quit

ospf

Global
configuration mode

OSPF mode
MA5600(config-ospf)#

MA5600(config)#

rip
RIP mode
MA5600(config-rip)#
interface
Interface configuration mode
MA5600(config-if-)#
BTV

BTV mode
MA5600(config-btv)#

test

TEST mode
MA5600(config-test)#

diagnose
Diagnose mode

MA5600 command line mode


HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

MA5600(config-diagnose)#

Page 4

Elementary Knowledge of Command Line


Query about online help information (use ? in the command line
prompt to obtain all commands and their brief description under
this mode)
MA5600#display?
Keyword match
MA5600#conf<space> ---- MA5600#configure
Terminal language changeover
MA5600#switch language-mode
Query about history command
Access the previous history command: "Ctrl +P"
Access the next history command: "Ctrl +N"

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 5

Summary of Contents
Chapter 1 Introduction to Operation
command line
Chapter 2 Basic System Configuration
Chapter 3 Port Configuration
Chapter 4 VLAN Service Configuration
Chapter 5 Enhanced Service Configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 6

Chapter 2 Introduction to Basic Command

Content 1: configuration environment

Content 2: basic commands

Content 3: examples of network configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 7

Configuration Environment Building


SmartAX MA5600 multiservice access equipment (short for
MA5600) provides a maintenance console based on command line
mode. It also provides serial port configuration and Telnet
configuration:
Configuration environment building through serial port
Local maintenance
Remote maintenance
Configuration environment building
through Telnet mode
Inband: occupy a service channel
Outband: do not occupy a
service channel.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 8

Serial Port Configuration Mode (Local)


Configuration environment
Build a local configuration environment through serial port
Use a standard RS-232 serial port cable to connect a computer serial port
with the configuration serial port on the MA5600 main control board.

RS-232 serial port cable

CON
ETH
MON

D
E
F

Serial port

SCU

Computer

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 9

MA5600

Serial Port Configuration Mode (Remote)


Remote serial port terminal configuration
When performing remote maintenance through a serial port, an
external modem should be put between MA5600 and maintenance
terminal. The maintenance terminal performs serial port
maintenance by using the modem to connect to MA5600
Serial port cable
Telephone line
A

Modem

CON
ETH
MON

D
E

PSTN

Telephone line
SCU
Serial port
cable
Computer
Modem

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 10

MA5600

HyperTerminal Configuration
Open a hyperterminal:

Startprogramattachmentcommunication
HyperTerminal
Set hyperterminal parameters:

Input name: MA5600

Hypertrm.exe

Use in connection: connect to a corresponding


serial port based on practical circumstances
Port configuration is changed into 9600bit/s and
no flow control.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 11

User Login
Username: root
Password: admin

Three levels of user authority: ordinary user level, operator level,


and manager level. User root who has the manager-level
authority cannot be deleted but his/her password can be changed.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 12

Telnet Configuration Mode (Local)


Build a local configuration environment through TELNET
mode.
CON
ETH
MON

SCU

MA5600

LAN

Computer
HUAWEI TECHNOLOGIES CO., LTD.

Computer

Computer

All rights reserved

Page 13

Telnet Configuration Mode (Remote Outband)


Build a remote outband configuration environment through
TELNET mode.

Computer

LAN

CON
ETH
MON

WAN
Router

Computer

Computer

SCU

MA5600

Wide area network: connect a computer to remote MA5600 equipment over


WAN.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 14

Telnet Configuration Mode (Remote Inband)


Build a remote inband configuration environment through
TELNET mode
A

CON
ETH
MON

LAN
Computer
running on Telnet

IP

E
F

IPoA client

SCU

MA5600

Wide area network: connect a computer to a remote MA5600 through other


agent equipment

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 15

Outband NM Configuration
Basic command

Outband NM configuration
Enter a NM interface mode.
MA5600(config)#interface meth 0
Configure outband NM IP addresses.
MA5600(config-if-meth0)#ip address 10.71.53.2 255.255.255.0
Activate an NM interface.
MA5600(config-if-meth0)#undo shutdown

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 16

Inband NM Configuration
Basic commands

Inband NM configuration
Create an NM VLAN.
MA5600(config)#vlan 1000 mux
Configure the IP address of an NM VLAN interface.
MA5600(config)#interface vlanif 1000
MA5600(config-if-Vlanif1000)#ip address 10.10.20.2 24
Add an uplink port.
MA5600(config)#port vlan 1000 0/7 0

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 17

SNMP Configuration
SNMP NM management configuration
Configure a group name.
MA5600(config)# snmp-agent community read public
MA5600(config)# snmp-agent community write private
Enable Trap.
MA5600(config)# snmp-agent trap enable

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 18

SNMP Configuration
Configure a Trap target host
MA5600(config)#snmp-agent target-host trap address 10.10.21.1
securityname private
MA5600(config)#snmp-agent trap source vlanif 1000
Configure a static route.
MA5600(config)#ip route-static 10.10.41.1 30 10.10.20.254
MA5600(config)#save

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 19

End User Management


Operation terminal configuration
Add a user

MA5600#terminal user name

Delete a user

MA5600#undo terminal user name

Change a user login level

MA5600#terminal user level

Change a user password

MA5600#terminal user password

Change the number of simultaneous login users MA5600#terminal user


reenter
Check user information

HUAWEI TECHNOLOGIES CO., LTD.

MA5600#display terminal user

All rights reserved

Page 20

Board Management
Board management
Query a board

MA5600#display board 0
MA5600#display board 0/2

Add a board (ADEF) MA5600(config)#board add 0/1 ADE


Confirm a board
Delete a board
Reset a board

HUAWEI TECHNOLOGIES CO., LTD.

MA5600(config)#board confirm 0
MA5600(config)#board delete 0/2
MA5600(config)#board reset 0/1

All rights reserved

Page 21

Equipment Management
Equipment management
Reset a system

MA5600(config)#reboot system

Query CPU usage

MA5600> display cpu 0/7

Query a system time

MA5600> display time

Configure a system time

MA5600#time HH:MM:SS YYYY/MM/DD

Query a system version

MA5600(config)#display version 0/7

Configure a host name

MA5600(config)#sysname MA5600

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 22

Configuration File Management


Configuration file management
Query the saved system configuration
configuration

MA5600#display saved-

Query the current system configuration


configuration

MA5600#display current-

Save the current configuration

MA5600#save

Delete the saved configuration

MA5600#erase flash data

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 23

Summary of Contents
Chapter 1 Introduction to Operation
command line
Chapter 2 Basic System Configuration
Chapter 3 Port Configuration
Chapter 4 VLAN Service Configuration
Chapter 5 Enhanced Service configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 24

Port Configuration
MA5600 includes the following ports:
ADSL2+ port
SHDSL port
Ethernet port

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 25

ADSL2+ Port Configuration


CON

ADEF SPLT

ETH
MON

SCU

MA5600

MODEM

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 26

PC

ADSL2+ Port PVC Configuration


Configure the single PVC VPI/VCI value of a port.
MA5600(config)#service-port vlan 2 adsl 0/2/1 vpi 0 vci
35 rx-cttr 0 tx-cttr 0
Add a batch of service virtual ports (vlan-id 3, board 0/2, port range 3/10)
MA5600(config)#multi-service-port 3 adsl 0/2 3-10 vpi 0 vci
35 rx-cttr 0 tx-cttr 0
Unblock a port
MA5600(config-if-adsl-0/2)#undo block all

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 27

ADSL2+ Circuit Template Configuration


Enter the ADSL2+ board configuration mode
MA5600(config)#interface adsl 0/5
Add an ADSL2+ circuit template
MA5600(config)#adsl line-profile add 10
Use the above template to activate port 0/5
MA5600(config-if-adsl-0/5)#activate 0 profile-index 10
Reset a board chipset
MA5300(config-if-adsl-0/2)#chipset reset 1

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 28

ADSL2+ Port Configuration


Add an ADSL2+ circuit alarm template
MA5600(config)#adsl alarm-profile add 2
Use alarm template 2 to bind all ports in slot 10
MA5600(config-if-adsl-0/10)#alarm-config all 2
Delete an ADSL2+ alarm template
MA5600(config)#adsl alarm-profile delete 3
Query ADSL2+ alarm template information
MA5600(config)#display adsl alarm-profile 3

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 29

ADSL2+
Port Configuration
Query ADSL2+ port configuration information.
MA5600(config)#display service-port port 0/10/1
Query ADSL2+ port circuit parameters
MA5600(config-if-adsl-0/2)#display parameter 2
Query ADSL2+ ports performance statistical information within
previous 15 minutes, previous 24 hours, current 15 minutes, and
current hours.
MA5600(config-if-adsl-0/2)#display statistics performance 61
historic-15minutes 1

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 30

SHDSL Port Configuration


CON

SHEA

ETH
MON

SCU

MA5600

MODEM

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 31

SHDSL Port Configuration

Add an SHDSL circuit template, number 3


MA5600(config)#shdsl line-profile add 3
When the port of the SHDSL service board is in the block status, it
cannot transmit services and all port operations are disabled. If
users want to activate the port, they must unblock it first.
MA5600(config-if-shdsl-0/1)#undo block all
Use SHDSL circuit template 3 to activate all SHDSL ports in slot 3.
MA5600(config-if-shl-0/3)# activate all profile-index 3

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 32

SHDSL Port Configuration


Add an SHDSL circuit alarm template
MA5600(config)#shdsl alarm-profile add 2
Use template 2 to bind all ports in slot 3
MA5600(config-if-shdsl-0/3)#alarm-config all 2
Delete an SHDSL circuit alarm template
MA5600(config)#shdsl alarm-profile delete 2
Query an SHDSL circuit alarm template
MA5600(config)#display shdsl alarm-profile 2

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 33

SHDSL Port Configuration


Query SHDSL port information

MA5600(config-if-shl-0/3)#display port state 0


-------------------------------------------------------------------Port Running Control Line
ID Status

Alarm Running

Config

Bind

Status Profile Profile Operation Operation Status

-------------------------------------------------------------------0 Activating Active

Normal

None

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 34

Normal

SHDSL Port Configuration


Query port circuit status information
MA5600(config-if-shl-0/3)#display line state 2
Query port performance statistical information
MA5600(config-if-shl-0/3)#display statistics performance 2
current

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 35

Ethernet Port Configuration


Set the duplex mode of an Ethernet port
MA5600(config-if-scu-0/7)#duplex 0 full
Set the Ethernet port rate
MA5600(config-if-scu-0/7)#speed 0 1000
Set the network cable type of an Ethernet port
MA5600(config-if-scu-0/7)#mdi 0 auto

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 36

Ethernet Port Configuration

Enable the port flow control function


MA5600(config-if-scu-0/7)#flow-control all
Enable the broadcast storm depression function
MA5600(config-if-scu-0/7)#traffic-suppress all
broadcast value 1
Set the study number of port MAC addresses
MA5600(config)#mac-address max-mac-count adsl 0/10/1
vpi 0 vci 35 10

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 37

Ethernet Port Configuration


Enable the port aggregation function
MA5600(config-if-scu-0/7)#link-aggregation 0-1 ingress
MA5600(config-if-scu-0/7)#display link-aggregation
----------------------------------------------Master port Sub-ports

Mode

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

ingress

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 38

Ethernet Port Configuration


Query Ethernet port information
MA5600(config-if-scu-0/7)#display port state all
-------------------------------------------------------------------Port Port Optic Native MDI Speed Duplex Flow- Active Link
Type Status VLAN

(Mbps)

Control State

-------------------------------------------------------------------0 GE absence

1000

full

on

active offline

1 GE absence

1000

full

on

active offline

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 39

Summary of Contents
Chapter 1 Introduction to Operation
command line
Chapter 2 Basic System Configuration
Chapter 3 Port Configuration
Chapter 4 VLAN Service Configuration
Chapter 5 Enhanced Service configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 40

VLAN Service Configuration


MA5600 supports multiple VLAN applications.

Standard VLAN
Smart VLAN
MUX VLAN
Super VLAN

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 41

Standard
VLAN Service Configuration
Steps for connecting two MA5600:

IP network

Add VLAN 9
Add port 0/7/1 of MA5600_A and
port 0/7/0 of MA5600_B in this

A
D

VLAN.

E
F

0/7/0
0/7/1

VLAN 9
SCU

MA5600-A

A
D
E
F

0/7/0
0/7/1

MA5600-B

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 42

SCU

Standard VLAN Service Configuration

Standard VLAN configuration: (take MA5600_A as an example)


1. Add a standard VLAN
MA5600(config)#vlan 9 standard
2. Work out a standard VLAN port
MA5600(config)#port vlan 9
{ frame/slot<S><3,4>|to<K> }:0/7
{ portlist<S><1,256> }:0
MA5600(config)#port vlan 9
{ frame/slot<S><3,4>|to<K> }:0/7
{ portlist<S><1,256> }:1

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 43

Standard VLAN Service Configuration


3. Query standard VLAN information
MA5600(config)#display vlan 9
VLAN ID: 9
VLAN type:

standard

VLAN attribute: common


-----------------------------F/S /P

Native VLAN State

-----------------------------0/7 /0

1 down

0/7 /1

1 down

-----------------------------Standard port number: 2

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 44

Smart VLAN Service Configuration


Smart VLAN configuration includes the
following steps:

Upper
network

Add a Smart VLAN

Assign a Smart VLAN port

Query Smart VLAN information

ADSL2+ or SHDSL port circuit


configuration

ADEF

ADEF

CON
ETH
MON

MA5600
User

User

User...User

vlan 20

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 45

Smart VLAN Service Configuration


1. Add a Smart VLAN 20
MA5600(config)#vlan
{ smart<K>|vlanid<U><1,4000> |attrib<K>}:20
{vlantype<E><mux,standard,smart,super>|to<K> }:smart
2. Assign an uplink port
MA5600(config)#port vlan 20 0/7 0

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 46

Smart VLAN Service Configuration


3. Add a single service port 0/12/1
MA5600(config)#service-port vlan 20 adsl 0/12/1 vpi 0 vci 35 rx-cttr
2 tx-cttr 2
Add multiple service ports
MA5600(config)# multi-service-port vlan 20 adsl 0/0 0-31 vpi 0 vci
35 rx-cttr 2 tx-cttr 2

PCs with the above settings can access Internet but cannot access
each other.
HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 47

MUX VLAN Service Configuration


MUX VLAN service configuration includes the following
steps:
Add a MUX VLAN
Assign a MUX VLAN port
Query MUX VLAN port information
ADSL2+ or SHDSL port circuit configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 48

MUX VLAN Service Configuration


1. Add a MUX VLAN

MA5600(config)#vlan
{ smart<K>|vlanid<U><1,4000> }:10
{ mux<K>|standard<K>|smart<K>|to<K> }:mux
2. Assign an uplink port
MA5600(config)#port vlan 10 0/7 0
3. Add a service port
MA5600(config)# service-port vlan 10 adsl 0/1/0 vpi 0 vci 35 rxcttr 0 tx-cttr 0

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 49

MUX VLAN Service Configuration


Add multiple service port
Add all ADSL2+ and SHDSL ports to MUX VLAN, in which the
VLANID of the first port is 2.
MA5600(config)#multi-service-port from-vlan 2 board 0-15 vpi 0
vci 35 rx-cttr 2 tx-cttr 2

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 50

Super VLAN Service Configuration


Super VLAN configuration includes the following steps:
Establish a Super VLAN
Establish a subvlan and add it to Super VLAN
Configure the uplink port and service port of subvlan
Start the ARP Proxy function in the global mode
Create a layer 3 interface of Super VLAN
Start the ARP Proxy function of the Super VLAN interface

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 51

Super VLAN Service Configuration


Internet

A A

CON
ETH
MON

D D
E E
F F

GE0/7/0

SCU

MODEM

MODEM

PC1

PC2

HUAWEI TECHNOLOGIES CO., LTD.

MA5600

All rights reserved

Page 52

Super VLAN Service Configuration


1. Establish a Super VLAN
MA5600(config)#vlan 10 super
2. Establish a SubVlan and add it to Super VLAN
MA5600(config)#vlan 20 mux
MA5600(config)#vlan 30 mux
MA5600(config)#supervlan 10 subvlan 20
MA5600(config)#supervlan 10 subvlan 30

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 53

Super VLAN Service Configuration


3. Configure the uplink port and service port of SubVlan
MA5600(config)#port vlan 20 0/7 0
MA5600(config)#port vlan 30 0/7 0
MA5600(config)#service-port vlan 20 adsl 0/2/0 vpi 0 vci 35 rx-cttr
0 tx-cttr 0
MA5600(config)#service-port vlan 30 adsl 0/3/0 vpi 0 vci 35 rx-cttr
0 tx-cttr 0

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 54

Super VLAN Service Configuration

4. Establish layer 3 interface of Super VLAN and set the


interface IP.
MA5600(config)#interface vlanif 10
MA5600(config-if-Vlanif100)#ip address 10.0.0.100 24
5. Start the ARP Proxy function
Open the system ARP Proxy function
MA5600(config)#arp proxy enable
Open the VLAN interface ARP Proxy function.
MA5600(config-if-Vlanif10)#arp proxy enable

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 55

Summary of Contents
Chapter 1 Introduction to Operation
command line
Chapter 2 Basic System Configuration
Chapter 3 Port Configuration
Chapter 4 VLAN Service Configuration
Chapter 5 Enhanced Service configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 56

PPPOA to PPPOE Service Configuration


PPPOA to PPPOE service configuration includes the
followings:
Add a VLAN and assign its port
Open the PPPOA switch
Configuration MAC address pool
Configuration data encapsulation types

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 57

PPPOA to PPPOE Service Configuration


1. Add MUX VLAN 10, and add uplink and downlink ports
MA5600(config)#vlan 10 mux
MA5600(config)#port vlan 10 0/7 0
MA5600(config)# service-port vlan 10 adsl 0/1/0 vpi 0 vci 35 rxcttr 0 tx-cttr 0
2. Open the PPPOA switch
MA5600(config)#pppoa enable

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 58

PPPOA to PPPOE Service Configuration


3. Configure MAC address pool
MA5600(config)# mac-pool 0 0010-1111-0100 256
4. Configure data encapsulation type
MA5600(config)#encapsulation 0/1/0 vpi 0 vci 35 type pppoa llc

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 59

IPOA to IPOE Service Configuration


IPOA to IPOE service configuration includes the following steps:
Add a VLAN and assign its port
Open the IPOA switch
Configure the default gateway
Configure the MAC address pool.
Configure the data encapsulation type

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 60

IPOA to IPOE Service Configuration


1. Add MUX VLAN 10, and add uplink and downlink ports
MA5600(config)#vlan 10 mux
MA5600(config)#port vlan 10 0/7 0
MA5600(config)# service-port vlan 10 adsl 0/1/0 vpi 0 vci 35 rxcttr 0 tx-cttr 0
2. Open the IPOA switch
MA5600(config)#ipoa enable
3. Configure the default gateway
MA5600(config)#ipoa default gateway 1.0.2.10

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 61

IPOA to IPOE Service Configuration


4. Configure the MAC address pool
MA5600(config)# mac-pool 0 0010-1111-0100 256
5. Configure a data encapsulation type
MA5600(config)# encapsulation 0/1/0 vpi 0 vci 35 type ipoa llc
srcIP 1.0.2.1 dstip 1.0.2.10

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 62

DHCP Option82 Service Configuration


DHCP Option82 service configuration includes the following steps:
Add a VLAN and assign its port.
Configure the IP address of a VLAN interface
Open DHCP Option82 function
Configure the DHCP SERVER address, and bind its with an interface.
Configure a route

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 63

DHCP Option82 Service Configuration


1. Add a VLAN, and assign its port
MA5600(config)#vlan 100 smart
MA5600(config)#service-port vlan 100 adsl 0/1/28 vpi 0 vci
35 rx-cttr 6 tx-cttr 6
MA5600(config)#port vlan 100 0/8 1
MA5600(config)#interface scu 0/8
MA5600(config-if-scu-0/8)#native-vlan 1 vlan 100

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 64

DHCP Option82 Service Configuration


2. Configure the IP address of a VLAN interface
MA5600(config)#interface vlanif 100
MA5600(config-if-Vlanif100)#ip address 100.100.100.1 24
3. Open DHCP Option82 function
MA5600(config)# dhcp mode layer-3 standard
MA5600(config)# dhcp option82 enable

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 65

DHCP Option82 Service Configuration


4. Configure a DHCP SERVER address and binds it with an
interface
MA5600(config)#dhcp-server 0 ip 10.10.10.2
MA5600(config)#interface vlanif 100
MA5600(config-if-Vlanif100)#dhcp-server 0
5. Configure a route
MA5600(config)#ip route-static 10.10.10.0 24 100.100.100.2

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 66

MUX VLAN Configuration


Add Multiple Ports to Different MUX VLAN
Add all ADSL and SHDSL ports to MUX VLANs, with the first port

corresponding to VLAN 2.
MA5600(config)#multi-service-port from-vlan 2 board 0-15 vpi 0 vci
35 rx-cttr 2 tx-cttr 2

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 67

Anda mungkin juga menyukai