Oct 15, 2015
How to configure Huawei switches
MA5600 Multi-Service Access Module Operation and Maintenance
Here is the passage about MA5600 may help you to grasp the basic knowledge of command line, the basic system configuration, and the basic service and function configuration.
Introduction to Command Line Operations
Command Line Basis
Command line help
By entering, you can get list of commands with a brief description under any command mode
MA5600#display?Key word matchingMA5600#conf-----MA5600#configureChinese/English language switching
MA5600#Switch language modeAccess history commands
Access the previous history command: Ctrl+P Access the next history command: Ctrl+NBasic System Configuration
Setting up configuration environment
MA5600 control console provides two configuration modes Setting up local configuration environment via the Console
Local maintenance Setting up configuration environment via Telnet
Local and remote maintenance
In-band Telnet: Occupying service channels
Out-band Telnet: Occupying no service channel
Setting up a local configuration environment via the Console Connect the computer serial port with the MA5300 Console via a standard RS232 serial cable, then configure hyper terminal in Windows or other operation systems.
Open the hyper terminal Open-Program-Accessories-Communications-Hyper terminal: Double click
Setting the HyperTerminal parameters
Enter the name: MA5600The name can be defined by
the user
Connection use: Directly connect to Serial port 1
(depending on actual conditions)
Port setting: 9600bit/s, 8 data bits, no parity check
1 suspension bit, no flow control
Terminal type: VT100 or automatic test
Open the hyper terminal Open-Program-Accessories-
Communications-Hyper terminal: Double click
Setting the HyperTerminal parameters
Enter the name: MA5600The name can be defined by
the user
Connection use: Directly connect to Serial port 1
(depending on actual conditions)
Port setting: 9600bit/s, 8 data bits, no parity check
1 suspension bit, no flow control
Terminal type: VT100 or automatic test
User login Via the Console After correctly connecting the hyper terminal, press Enter key according to the prompt to enter the configuration environment
Via Telnet According to the prompt, enter correct user name and password to enter the configuration environmentBasic Maintenance OperationsOut-band NM configuration MA5300(config)#interface meth 0
Enter the external network interface port mode.
MA5300(config-if-meth0)#ip address 10.71.53.2 255.255.255.0
Configure the IP address of the external network interface
MA5300(config-if-meth0)#undo shutdown
Activate the external network interface In-band NM Configuration Example:
Basic Maintenance Operations
In-band NM configuration MA5600(config)#vlan 1000 mux
Add NM VLAN
MA5600(config)#interface vlan-if 1000
Enter the Vlan-interface 1000 configuration mode
MA5600(config-if-vlanif1000)#ip address 10.10.20.2 255.255.255.0
Configure the equipment with a management address, which should be configured on vlan virtual interface 1000
MA5600(config)#port vlan 1000 0/7 0
Add the upstream port SNMP network management configuration MA5600(config)# snmp-agent community read public
MA5600(config)# snmp-agent community write private
Set the community name and access authority
MA5600(config)# snmp-agent trap enable
Enable sending Trap
MA5600(config)#snmp-agent target-host trap address 10.10.21.1 securityname private Set Trap destination address MA5600(config)#snmp-agent trap source vlanif 1000
Specify IP address of the inband NMS as the Trap source address MA5600(config)#route-static 10.10.41.1 30 10.10.20.254
Configure the equipment with a static route MA5600(config)#save
Operation terminal configuration Adding a User
MA5600#terminal user name
Deleting a User
MA5600#undo terminal user name
Modifying user level
MA5600#terminal user level
Modifying user password MA5600#terminal user password
Modifying number re-entries MA5600#terminal user reenter
Viewing User Information MA5600#display terminal user
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 MA5600(config)#board confirm 0
Delete a board MA5600(config)#board delete 0/2
Reset a Board MA5600(config)#board reset 0/1
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 MA5600(config)#board confirm 0
Delete a board MA5600(config)#board delete 0/2
Reset a Board MA5600(config)#board reset 0/1
Equipment management Reset the system
MA5600(config)#reboot system
Show CPU Occupancy RatioMA5600>display cpu 0/7
Display the system time
MA5600> display time
Set the system time
MA5600#time HH:MM:SS YYYY/MM/DD
Display the system version MA5600(config)#display version 0/7
Setting hostname
MA5600(config)#sysname MA5600System Management ConfigurationConfigure File Management Query the initial configuration of the MA5300 intelligent IP integrated access equipment
MA5600#display saved-configuration
Query the current configuration of the MA5300 intelligent IP integrated access equipment
MA5600#display current-configuration
query the configuration commands of fault restoration.
MA5600#display unresumed-configuration
Save the current configuration
MA5600#save
Erase the configuration files in the Flash MA5600#erase flash dataPort Configuration
ADSL Port Configuration To set the VPI/VCI of a port, run the command service-port. MA5600(config)#service-port vlan 2 adsl 0/2/1 vpi 0 vci 35 rx-cttr 0 tx-cttr 0
To add multiple virtual ports to a VLAN at a time, run the command multi-service-port.
MA5600(config)#multi-service-port 3 adsl 0/2 3-10 rx-cttr 0 tx-cttr 0 (vlan-id 3, board 0/2 ,port range 3/10 )
Unblocking Adsl port
MA5600(config-if-adsl-0/2)#undo block all
Entering ADSL board configuration mode
MA5600(config)#interface adsl 0/5
Add an ADSL2+ line profile
MA5600(config)#adsl line-profile add huawei Activate port 0 on the ADSL board with line-profile above:
MA5600(config-if-adsl-0/5)#activate 0 huawei
Resetting ADSL Chipset
MA5300(config-if-adsl-0/2)#chipset reset 1
Through the bit allocation information, you can get to know the number of bits carried by every ADSL2+ tone (totally 512 tones), and analyze the performance of the line. MA5600(config-if-adsl-0/2)#display line bit-allocation 61
Upstream bits per frame: 312
Downstream bits per frame: 5616
Adding an ADSL Line Alarm Profile
MA5600(config)#adsl alarm-profile add 3
(Refer to operation manual to see more detail)
Bind alarm profile 1 with all ports of the ADSL2+ board residing in slot 10.
MA5600(config-if-adsl-0/10)#alarm-config all 1
Deleting an ADSL Line Alarm Profile
MA5600(config)#adsl alarm-profile delete 3
Querying ADSL line alarm profile information
MA5600(config)#display adsl alarm-profile 3
Adding an ADSL Line Alarm Profile
MA5600(config)#adsl alarm-profile add 3
(Refer to operation manual to see more detail)
Bind alarm profile 1 with all ports of the ADSL2+ board residing in slot 10.
MA5600(config-if-adsl-0/10)#alarm-config all 1
Deleting an ADSL Line Alarm Profile
MA5600(config)#adsl alarm-profile delete 3
Querying ADSL line alarm profile information
MA5600(config)#display adsl alarm-profile 3
Querying ADSL Port Information
MA5600(config)#display service-port port 0/10/1 Viewing line parameters of a port
MA5600(config-if-adsl-0/2)#display parameter 2
view the statistics collected on an ADSL2+ port within the past 15 minutes or 24 hours, or all available performance statistics.
MA5600(config-if-adsl-0/2)#display statistics performance 61 historic-15minutes 1SHDSL Port Configuration
Add an SHDSL line profile, and number it as 3 MA5600(config)#shdsl line-profile add 3
When operating in blocked state, an SHDSL port cannot transmit data, and any operation on the port is prohibited. To operate the port, you need to unblock the port first.
MA5600(config-if-shdsl-0/1)#undo block all
Activate all ports on the board residing in slot 4 using profile 3.
MA5600(config-if-shl-0/3)# activate all 3 Adding an SHDSL Line Alarm Profile
MA5600(config)#shdsl alarm-profile add 2
Bind alarm profile 2 with all ports of the SHDSL board residing in slot 3.
MA5600(config-if-shdsl-0/3)#alarm-config all 2
Deleting an SHDSL Line Alarm Profile
MA5600(config)#shdsl alarm-profile delete 2
Querying SHDSL line alarm profile information
MA5600(config)#display shdsl alarm-profile 2
view the brief information on a port MA5600(config-if-shl-0/3)#display port state 0
--------------------------------------------------------------------
Port Running Control Line Alarm Running Config Bind
ID Status Status Profile Profile Operation Operation Status
--------------------------------------------------------------------
0 Activating Active 1 1 Normal None Normal
--------------------------------------------------------------------
MA5600(config-if-shl-0/3)#display line state 2
MA5600(config-if-shl-0/3)#display statistics performance 2 current
Ethernet Port Configuration Set duplex mode of an Ethernet port MA5600(config-if-scu-0/7)#duplex all full
Set the bit rate of an Ethernet port
MA5600(config-if-scu-0/7)#speed all 1000m
Set an Ethernet ports network cable type
MA5600(config-if-scu-0/7)#mdi all auto
Set duplex mode of an Ethernet port MA5600(config-if-scu-0/7)#duplex all full
Set the bit rate of an Ethernet port
MA5600(config-if-scu-0/7)#speed all 1000m
Set an Ethernet ports network cable type
MA5600(config-if-scu-0/7)#mdi all auto
Enable/Disable a Ports Traffic Control Function MA5600(config-if-scu-0/7)#flow-control all
Enable/Disable Traffic Suppression
MA5600(config-if-scu-0/7)#traffic-suppress all broadcast value 1
Configure a Port's MAC Address Learning Attribute
MA5600(config)#mac-address max-mac-count adsl 0/10/1 vpi 0 vci 35 10
Enable/Disable a Ports Traffic Control Function MA5600(config-if-scu-0/7)#flow-control all
Enable/Disable Traffic Suppression
MA5600(config-if-scu-0/7)#traffic-suppress all broadcast value 1
Configure a Port's MAC Address Learning Attribute
MA5600(config)#mac-address max-mac-count adsl 0/10/1 vpi 0 vci 35 10
Enable/Disable Port Aggregation 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 1 ingress
-----------------------------------------------
View the configuration of an Ethernet port 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 1 - 1000 full on active offline
1 GE absence 1 - 1000 full on active offline
--------------------------------------------------------------------
VLAN Service Configuration The MA5600 supports diverse VLAN applications, including:Standard VLAN
Smart VLAN
MUX VLAN
Super VLAN
QinQ VLAN
Stacking VLANVLAN Service ConfigurationStandard VLAN Configuration Example:
Standard VLAN configuration involves: 1.Creating/Deleting a standard VLAN
MA5600(config)#vlan 9 standard
2.Adding/Deleting a port to/from a standard VLAN
MA5600(config)#port vlan 9
{ frame/slot|to }:0/7
{ portlist }:0
MA5600(config)#port vlan 9
{ frame/slot|to }:0/7
{ portlist }:1
3.Displaying the information on a standard VLANMA5600(config)#display vlan 9
VLAN ID: 9
VLAN attribute: standard
Standard port number: 2
--------------------------
F/ S/ P State
--------------------------
0/ 7/ 0 down
0/ 7/ 1 down --------------------------Smart VLAN Service Configuration
Create a Smart VLAN. MA5600(config)#vlan
{ smart|vlanid |attrib}:20
{vlantype|to }:smart
Add the upstream port
MA5600(config)#port vlan 20 0/7 0
Configure multicast PVCs.
MA5600(config)#vlan smart 20
{ vpi }:vpi 0 vci 35
Add port 1 on the ADSL board residing in slot 0/12 to VLAN 20.
MA5600(config)#service-port vlan 20 adsl 0/12/1 vpi 0 vci 35 rx-cttr 2
Add port 0-31on the ADSL board residing in slot 0/0 to VLAN 20
MA5600(config)# multi-service-port vlan 20 adsl 0/0 0-31 rx-cttr 2 tx-cttr 2
After the above configuration, the PCs can visit Internet but can not ping each other.MUX VLAN Configuration The MUX VLAN configuration involves: 1.Creating/Deleting a MUX VLAN
2.Adding/Deleting a port to/from a MUX VLAN
3.Displaying the information on a MUX VLAN
ADSL link configuration
Create a MUX VLAN. MA5600(config)#vlan
{ smart|vlanid }:10
{ mux|standard|smart|to }:mux
Add upstream port
MA5600(config)#port vlan 10 0/7 0
Add/Delete a service port to/from a MUX VLAN
MA5600(config)# service-port vlan 10 adsl 0/1/0 vpi 0 rx-cttr 0 tx-cttr 0
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
It refers from:
http://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=10&ved=0CFYQFjAJ&url=http%3a%2f%2finsidehuaweima5616msan.files.wordpress.com%2f2012%2f10%2fma5600-multi-service-access-module-operation-and-maintenance.ppt&ei=a9lyU4-1OoWHuASZ2IHYCQ&usg=AFQjCNGS-rk62Kp5o5dRU2DPda5C9NkETw&bvm=bv.66699033,d.c2E&cad=rjtMore related:MA5600/MA5603: Configuring the License Function GPON vs EPON: a cost comparision Deployment Scenarios of Huawei MA5600TThe basic configuration of OLTGPON Gigabit Passive Optical Network Introduction More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog
Huanetwork.com is a world leading Huawei networking products distributor, we wholesale original new Huawei networking equipments, includingHuawei switches,Huawei routers, Huaweisymantec security products, Huawei IAD, Huawei SFP and other Huawei networking products. Our customers include telecom operators, Huawei resellers, ISP and system integrators. Right now most of our sales are contributed by regular customers.In Huanetwork Lab, also we have Huawei OLT, MDU, DSLAM and switch for customer do remote testing, any potential customer are welcome to login to our lab. If you need a total Huawei FTTx solution or Huawei ADSL solution for your network, also you may feel free to contact us.Our website: http://www.huanetwork.comTelephone:+852-30501940Email:[email protected]:23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong
PAGE 5