2
Most read
4
Most read
6
Most read
How to Configure Inband Management for
Huawei MA5616?
This topic describes how to use Telnet or secure shell (SSH) mode to log in to
the MA5616 through an upstream port (inband management port) of the MA5616 for
inband management. The SSH provides authentication, encryption, and authorization
to ensure the network communication security. When a user logs in to the Huawei
SmartAx mini DSLAM MA5616 remotely over an insecure network, SSH provides
security guarantee and powerful authentication to protect the MA5616 against attacks
such as IP address spoofing and interception of plain text password. The SSH mode is
recommended.
Prerequisites
 You must be logged in to the system through a local serial port.
 The IP address of the maintenance terminal must be properly configured.
NOTE:
 In the following operations, the configurations of the MA5616 must be performed
through a local serial port.
 In inband management mode, use either of the following isolation mechanism to
separate the management channel from the data channel:
1. ACL: Configure firewall through ACL so that only specific IP addresses can
be used to log in to the MA5616, such as the IP address of the NMS.
2. VLAN: Ensure that the management VLAN is different from the service
VLAN. In addition, do not add a service port to the management VLAN.
Networking - LAN
The figure1 shows an example network for configuring inband management over a
LAN.
Figure1Example network for configuring inband management over a LAN
1
Data Plan - LAN
Table 1 and Table 2 provide the data plan for configuring inband management over a
LAN.
Table 1 Data plan for configuring inband management over a LAN in the telnet mode
Item Data
Upstream port of
the MA5616
VLAN ID: 30
Port ID: 0/0/1
IP address: 10.10.20.2/24
Ethernet port of the
maintenance terminal
IP address: 10.10.20.3/24
Table 2 Data plan for configuring inband management over a LAN in the SSH mode
Item Data
Upstream port of
the MA5616
VLAN ID: 30
Port ID: 0/0/1
IP address: 10.10.20.2/24
User authentication mode: RSA public key authentication
RSA key name: key
New user User name/Password: huawei/test01
Authority: Operator
Permitted reenter number: 4
Ethernet port of the
maintenance terminal
IP address: 10.10.20.3/24
Networking - WAN
2
The figure2 shows an example network for configuring inband management over a
WAN.
Figure2 Example network for configuring inband management over a WAN
Data Plan - WAN
Table 3 and Table 4 provide the data plan for configuring inband management over a
WAN.
Table 3 Data plan for configuring inband management over a WAN in the telnet mode
Item Data
Upstream port of the MA5616 VLAN ID: 30
Port ID: 0/0/1
IP address: 10.10.20.2/24
Ethernet port of the maintenance terminal IP address: 10.10.21.3/24
Port of the LAN switch connected to the router IP address: 10.10.20.3/24
Table 4 Data plan for configuring inband management over a WAN in the SSH mode
Item Data
Upstream port of the MA5616 VLAN ID: 30
Port ID: 0/0/1
IP address: 10.10.20.2/24
User authentication mode:
RSA public key
authentication
RSA key name: key
New user User name/Password:
huawei/test01
3
Table 3 Data plan for configuring inband management over a WAN in the telnet mode
Item Data
Upstream port of the MA5616 VLAN ID: 30
Port ID: 0/0/1
IP address: 10.10.20.2/24
Ethernet port of the maintenance terminal IP address: 10.10.21.3/24
Authority: Operator
Permitted reenter number: 4
Ethernet port of the maintenance terminal IP address: 10.10.21.3/24
Router port connecting to the LAN Switch IP address: 10.10.20.3/24
Configuration Flowchart
Figure 3 and Figure 4 show the flowchart for configuring inband management.
Figure 3 Flowchart for configuring inband management in the telnet mode
Figure 4 Flowchart for configuring inband management in the SSH mode
4
NOTE:
The blue-shaded configuration procedures are the difference in the SSH mode and the
telent mode.
Procedure
Set up the configuration environment.
Figure 1 or Figure 2 shows how to set up the configuration environment according to
the actual requirements and conditions.
5
Configure the IP address of the VLAN L3 interface.
 Run the vlan command to create a VLAN.
huawei(config)#vlan 30 smart
 Run the port vlan command to add an upstream port to the VLAN.
huawei(config)#port vlan 30 0/0 1
 In the VLANIF mode, run the ip address command to configure the IP address
and subnet mask of the VLAN L3 interface.
huawei(config)#interface vlanif 30
huawei(config-if-vlanif30)#ip address 10.10.20.2 255.255.255.0
huawei(config-if-vlanif30)#quit
Add a route.
 If the configuration environment is set up as shown in Figure 1, you need not add
a route.
 If the remote WAN management environment is set up as shown in Figure 2, run
the ip route-static command to add a route to the next hop.
huawei(config)#ip route-static 10.10.21.0 24 10.10.20.3
Save the data.
Run the save command to save the data.
huawei(config)#save
Perform the following operations based on the login mode.
 If you login in the telnet mode, perform the following operations:
Start Telnet.
Choose Start > Run on the maintenance terminal. In the Open address bar, enter telnet
10.10.20.2 (10.10.20.2 is the IP address of the VLAN L3 interface of the MA5616), as
shown in Figure 5 (considering the Windows OS as an example). Click OK, and the
telnet interface is displayed.
Figure 5 Starting Telnet
Log in to the MA5616.
On the telnet interface, enter the user name and the password. By default, the super
user name is root and the password is mduadmin. When the login is successful, the
system displays the following information:
>>User name:root
6
>>User password:
Huawei Integrated Access Software (MA5616).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2013. All rights reserved.
If you login in the SSH mode, perform the following operations:
Create a user.
Run the terminal user name command to create a user.
huawei(config)#terminal user name
User Name(length<6,15>):huawei
User Password(length<6,15>):test01 //The password is not displayed on the
maintenance terminal.
Confirm Password(length<6,15>):test01 //The password is not displayed on the
maintenance terminal.
User profile name(<=15 chars)[root]:
User's Level:
1. Common User 2. Operator:2
Permitted Reenter Number(0--4):4
User's Appended Info(<=30 chars):
Adding user succeeds
Repeat this operation? (y/n)[n]:n
Create the local RSA key pair.
Run the rsa local-key-pair create command to create the local RSA key pair.
NOTICE:
The prerequisite for the login through SSH is that the local RSA key pair must be
configured and generated. Therefore, before performing other SSH configurations,
make sure that the local RSA key pair is generated.
huawei(config)#rsa local-key-pair create
The key name will be: Host
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Input the bits in the modulus[default = 512]:
Generating keys...
..++++++++++++
....................++++++++++++
...............................++++++++
...........++++++++
Set the SSH user authentication mode.
7
Run the ssh user huawei authentication-type rsa command to choose the
authentication mode of the SSH user.
There are four authentication modes for SSH users, as shown in the following. In this
topic, authentication mode rsa is considered as an example.
 password: authentication based on a password.
 rsa: authentication based on an RSA public key.
 all: authentication based on a password or an RSA public key. The user can log in
to the device either by the password or the RSA public key.
 password-publickey: authentication based on a password and a public key. The
user can log in to the device only after both the password and the RSA public key
authentication.
huawei(config)#ssh user huawei authentication-type
{ all<K>|password-publickey<K>|password<K>|rsa<K> }:rsa
Command:
ssh user huawei authentication-type rsa
%Authentication type setted, and will be in effect next time.
Generate the RSA public key.
Run the key generator.
Run the client software key generator Puttygen.exe. Figure 6 shows the interface of
the key generator.
Figure 6 Interface of the key generator
8
Generate the client key.
Select SSH-2 RSA as the key type under Parameters, click Generate, and move the
cursor according to the prompt on the interface to generate the client key, as shown
in Figure 7.
Figure 7 Interface of the key generator
9
Click Save public key and Save private key to save the public key and the private key
respectively after they are generated, as shown in Figure 8.
Figure 8 Save the public key and the private key
10
Generate the RSA public key.
Open sshkey.exe, click Browse, and choose the public key file saved in the preceding
step. Then, click Convert to change the client public key to the RSA public key, as
shown in Figure 9.
Figure 9 Interface of converting the client public key to the RSA public key
11
Generate the public key for the SSH user.
Create RSA public key. Copy the RSA public key to the server in the config-rsa-key-
code command line mode.
huawei(config)#rsa peer-public-key key
Enter "RSA public key" view, return system view with "peer-public-key end".
NOTE: The number of the bits of public key must be between 769 and 2048.
huawei(config-rsa-public-key)#public-key-code begin
Enter "RSA key code" view, return last view with "public-key-code end".
huawei(config-rsa-key-code)#30818702 81810098 933744B6 7C864EC7 A86A84CC
198BAC15
huawei(config-rsa-key-code)#D32834F7 365CFD17 E7FE4041 3266E416
710D13ED 22BD4D59
12
huawei(config-rsa-key-code)#DF0C3E46 A995CC61 DC4CB179 F6888B8C
3F8A3085 51EDB5C7
huawei(config-rsa-key-code)#5DEBDBE1 3AB4A256 0D0B9AA8 9A419D85
35C0E562 AE0BBFAB
huawei(config-rsa-key-code)#515299F9 D2803E84 3AE36C20 949367EA 0697EB20
2594A774
huawei(config-rsa-key-code)#9A0EFF04 26928874 FF9124C4 D28F0702 0125
huawei(config-rsa-key-code)#public-key-code end
huawei(config-rsa-public-key)#peer-public-key end
Assign the public key to the SSH user.
Run the ssh user assign rsa-key command to assign the RSA public key to the SSH
user.
huawei(config)#ssh user huawei assign rsa-key key
Log in to the system.
Run the client software.
Run the SSH client software putty.exe, choose SSH > Auth from the navigation tree,
and assign a file for the RSA private key, as shown in Figure 10. Click Browse to
display the window for selecting the file. In the window, select the file for the private
key, and click OK.
Figure 10 Interface of the SSH client software
13
Log in to the system.
Choose Session from the navigation tree, and then input the IP address of
the MA5616 in the Host Name (or IP address) field, as shown in Figure 11. Then,
click Open to log in to the system.
NOTE:
The port in the Figure 11 generally uses the default number 22, you can also use
the display sysman service state command to query and then to configure.
Figure 11 Interface for logging in to the system using the SSH client software
14
The user authentication mode is set to the RSA authentication mode, and the system
therefore displays the prompt, as shown in Figure 12. Input the user name to log in to
the system (here, the user name is huawei).
Figure 12 Interface for logging in to the system using the SSH client software
Result
15
After logging in to the MA5616, you can manage the MA5616.
The more information about technical support you can consult with our engineer the
e-mail address is as below:
support@huanetwork.com
More related topics
Basic Layout of OLT
Huawei SmartAX MA5616 Overview
Example for Configuring Local Attack Defense
How to Add and Delete ONT on the OLT Device
How to Configure the Auto-save Function for Huawei OLT
More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog
Huanetwork.com is a world leading Huawei networking products supplier, we supply original new
Huawei networking equipments, including Huawei 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.com
Telephone: +852-30501940
Email: sales@huanetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong
16

More Related Content

PDF
VRRP (virtual router redundancy protocol)
PDF
[오픈소스컨설팅]RHEL7/CentOS7 Pacemaker기반-HA시스템구성-v1.0
PDF
[Community Open Camp] 給 PHP 開發者的 VS Code 指南
DOCX
How to configure vlan, stp, dtp step by step guide
PDF
CCNAv5 - S2: Chapter5 Inter Vlan Routing
PDF
IOS Cisco - Cheat sheets
PDF
Network visibility and control using industry standard sFlow telemetry
VRRP (virtual router redundancy protocol)
[오픈소스컨설팅]RHEL7/CentOS7 Pacemaker기반-HA시스템구성-v1.0
[Community Open Camp] 給 PHP 開發者的 VS Code 指南
How to configure vlan, stp, dtp step by step guide
CCNAv5 - S2: Chapter5 Inter Vlan Routing
IOS Cisco - Cheat sheets
Network visibility and control using industry standard sFlow telemetry

What's hot (20)

PDF
Spanning Tree Protocol Cheat Sheet
PDF
Linux PV on HVM
PPTX
Chapter 17 : static routing
PPTX
MP BGP-EVPN 실전기술-1편(개념잡기)
PDF
Managing ESXi - Tools and Techniques
PDF
Aruba instant 6.4.0.2 4.1 user guide
PDF
Router commands
PPTX
install active directory and configure domain controller
PDF
A plenarily integrated SIEM solution and it’s Deployment
PDF
cisco ccna cheat_sheet
PDF
Ccna Commands In 10 Minutes
PPTX
OpenvSwitch Deep Dive
PPTX
Virtual LAN
PDF
Windows-Server-2022-Courseware.pdf......
PDF
Juniper IPv6 Workshop by Irzan
PDF
[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick Guide
PPTX
DOCX
Packet tracer practical guide
PDF
ACI MultiPod Config Guide
Spanning Tree Protocol Cheat Sheet
Linux PV on HVM
Chapter 17 : static routing
MP BGP-EVPN 실전기술-1편(개념잡기)
Managing ESXi - Tools and Techniques
Aruba instant 6.4.0.2 4.1 user guide
Router commands
install active directory and configure domain controller
A plenarily integrated SIEM solution and it’s Deployment
cisco ccna cheat_sheet
Ccna Commands In 10 Minutes
OpenvSwitch Deep Dive
Virtual LAN
Windows-Server-2022-Courseware.pdf......
Juniper IPv6 Workshop by Irzan
[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick Guide
Packet tracer practical guide
ACI MultiPod Config Guide
Ad

Viewers also liked (19)

PDF
Cisco vs. huawei CLI Commands
DOC
The feature of huawei ma5600
PDF
Ma5612 configuration guide(v800 r308c00 04)
DOC
How to configure eo c services for huawei ol ts
DOC
The Review of Huawei OLT
PPT
InstalaçãO Ip Dslam
DOC
How to add and delete ont on the olt device
DOC
Huanetwork x dsl solution - huawei adsl2+ and vdsl2 solution)
DOC
Ont, olt and mdu in gpon technology
DOC
Huawei S5700 Basic Configuration Command
PPT
Gpon fundamentals
DOC
Huawei switch configuration commands
PPT
Gpon Fundamentals
DOC
Optical module
DOC
Huawei s9300 terabit routing switch
DOC
Huawei s3700 cables
DOC
Version support for huawei s7700 components (1)
DOC
Example for configuring local attack defense
DOC
Huawei S5700 28 p-pwr-li-ac introduction
Cisco vs. huawei CLI Commands
The feature of huawei ma5600
Ma5612 configuration guide(v800 r308c00 04)
How to configure eo c services for huawei ol ts
The Review of Huawei OLT
InstalaçãO Ip Dslam
How to add and delete ont on the olt device
Huanetwork x dsl solution - huawei adsl2+ and vdsl2 solution)
Ont, olt and mdu in gpon technology
Huawei S5700 Basic Configuration Command
Gpon fundamentals
Huawei switch configuration commands
Gpon Fundamentals
Optical module
Huawei s9300 terabit routing switch
Huawei s3700 cables
Version support for huawei s7700 components (1)
Example for configuring local attack defense
Huawei S5700 28 p-pwr-li-ac introduction
Ad

Similar to How to configure inband management for huawei ma5616 (20)

PDF
003 obf600105 gpon ma5608 t basic operation and maintenance v8r15 issue1.02 (...
PDF
533955144-MSAN-MA5600T-Basic-Operation.pdf
PPTX
104 Common network devices
PPTX
103 Basic network concepts
PDF
2) VRP Basic Configuration.pdf
PDF
CCNA Security Lab 9 - Enabling SSH and HTTPS access to Cisco IOS Routers - CLI
PPTX
102- HCSCA103 Basic Network Concepts based on issue 1.00.pptx
DOCX
TitleABC123 Version X1Film ListPSYCH650 Version 2.docx
DOC
How to configure i pv6 services in the fttb c (no hgws) scenario
DOC
Configuring Secure Shell on Routers and Switches Running Cisco IO
PDF
Huawei+Cisco+Xref+Switch+CLI.pdf
PDF
Configuring Secure Shell on Routers and Switches Running Cisco IOS - Cisco Sy...
PPT
Chapter 2 overview
PDF
Ssh config note
PDF
Ap7181 cli guide
DOC
Huawei Router Basic Configuration Command
PDF
Configuration guide vpn(v200 r002c00-02)
PPT
CCNA Security 05- securing the management plane
PPT
CCNA Security - Chapter 2
PDF
Ch2 - Securing Network Devices - CCNA Security.pdf
003 obf600105 gpon ma5608 t basic operation and maintenance v8r15 issue1.02 (...
533955144-MSAN-MA5600T-Basic-Operation.pdf
104 Common network devices
103 Basic network concepts
2) VRP Basic Configuration.pdf
CCNA Security Lab 9 - Enabling SSH and HTTPS access to Cisco IOS Routers - CLI
102- HCSCA103 Basic Network Concepts based on issue 1.00.pptx
TitleABC123 Version X1Film ListPSYCH650 Version 2.docx
How to configure i pv6 services in the fttb c (no hgws) scenario
Configuring Secure Shell on Routers and Switches Running Cisco IO
Huawei+Cisco+Xref+Switch+CLI.pdf
Configuring Secure Shell on Routers and Switches Running Cisco IOS - Cisco Sy...
Chapter 2 overview
Ssh config note
Ap7181 cli guide
Huawei Router Basic Configuration Command
Configuration guide vpn(v200 r002c00-02)
CCNA Security 05- securing the management plane
CCNA Security - Chapter 2
Ch2 - Securing Network Devices - CCNA Security.pdf

More from Huanetwork (20)

PDF
Huawei s5710-ei-power-module-test-report
DOC
Wiki and solution in ftth technology
DOC
What are the differences between huawei and cisco wlan products
DOC
Huawei ac6005
DOC
How to Configure QinQ?
DOC
What is huawei quidway s5300 gigabit switches
DOC
Huawei osn3500 typical networking in packet mode
DOC
Huawei opti x osn 1500 boards
DOC
Huawei net engine5000e core router chassis and features
DOC
Huawei ftth c b e2 e solution
DOC
Huawei osn3500 typical networking in packet mode
DOC
What’s the Difference Between GPON and EPON
DOC
Differences of Huawei S5700 Series LI, SI, EI and HI
DOC
How to configure the logical distance of gpon
DOC
Huanetwork Design the Network Solution Free for You
DOC
Configuration difference between ipv6 and ipv4
DOC
How to configure the gpon ftth layer 2 internet access service on the nms
DOC
Huawei router component selection guide – purchase list
DOC
What is gpon
DOC
Naming conventions of huawei parts
Huawei s5710-ei-power-module-test-report
Wiki and solution in ftth technology
What are the differences between huawei and cisco wlan products
Huawei ac6005
How to Configure QinQ?
What is huawei quidway s5300 gigabit switches
Huawei osn3500 typical networking in packet mode
Huawei opti x osn 1500 boards
Huawei net engine5000e core router chassis and features
Huawei ftth c b e2 e solution
Huawei osn3500 typical networking in packet mode
What’s the Difference Between GPON and EPON
Differences of Huawei S5700 Series LI, SI, EI and HI
How to configure the logical distance of gpon
Huanetwork Design the Network Solution Free for You
Configuration difference between ipv6 and ipv4
How to configure the gpon ftth layer 2 internet access service on the nms
Huawei router component selection guide – purchase list
What is gpon
Naming conventions of huawei parts

Recently uploaded (20)

PDF
UiPath Agentic Automation session 1: RPA to Agents
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
STKI Israel Market Study 2025 version august
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
DOCX
search engine optimization ppt fir known well about this
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
The various Industrial Revolutions .pptx
PPTX
Benefits of Physical activity for teenagers.pptx
UiPath Agentic Automation session 1: RPA to Agents
Microsoft Excel 365/2024 Beginner's training
STKI Israel Market Study 2025 version august
Enhancing plagiarism detection using data pre-processing and machine learning...
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
sbt 2.0: go big (Scala Days 2025 edition)
Module 1.ppt Iot fundamentals and Architecture
Convolutional neural network based encoder-decoder for efficient real-time ob...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
A review of recent deep learning applications in wood surface defect identifi...
Developing a website for English-speaking practice to English as a foreign la...
Improvisation in detection of pomegranate leaf disease using transfer learni...
search engine optimization ppt fir known well about this
1 - Historical Antecedents, Social Consideration.pdf
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Final SEM Unit 1 for mit wpu at pune .pptx
Getting started with AI Agents and Multi-Agent Systems
Zenith AI: Advanced Artificial Intelligence
The various Industrial Revolutions .pptx
Benefits of Physical activity for teenagers.pptx

How to configure inband management for huawei ma5616

  • 1. How to Configure Inband Management for Huawei MA5616? This topic describes how to use Telnet or secure shell (SSH) mode to log in to the MA5616 through an upstream port (inband management port) of the MA5616 for inband management. The SSH provides authentication, encryption, and authorization to ensure the network communication security. When a user logs in to the Huawei SmartAx mini DSLAM MA5616 remotely over an insecure network, SSH provides security guarantee and powerful authentication to protect the MA5616 against attacks such as IP address spoofing and interception of plain text password. The SSH mode is recommended. Prerequisites  You must be logged in to the system through a local serial port.  The IP address of the maintenance terminal must be properly configured. NOTE:  In the following operations, the configurations of the MA5616 must be performed through a local serial port.  In inband management mode, use either of the following isolation mechanism to separate the management channel from the data channel: 1. ACL: Configure firewall through ACL so that only specific IP addresses can be used to log in to the MA5616, such as the IP address of the NMS. 2. VLAN: Ensure that the management VLAN is different from the service VLAN. In addition, do not add a service port to the management VLAN. Networking - LAN The figure1 shows an example network for configuring inband management over a LAN. Figure1Example network for configuring inband management over a LAN 1
  • 2. Data Plan - LAN Table 1 and Table 2 provide the data plan for configuring inband management over a LAN. Table 1 Data plan for configuring inband management over a LAN in the telnet mode Item Data Upstream port of the MA5616 VLAN ID: 30 Port ID: 0/0/1 IP address: 10.10.20.2/24 Ethernet port of the maintenance terminal IP address: 10.10.20.3/24 Table 2 Data plan for configuring inband management over a LAN in the SSH mode Item Data Upstream port of the MA5616 VLAN ID: 30 Port ID: 0/0/1 IP address: 10.10.20.2/24 User authentication mode: RSA public key authentication RSA key name: key New user User name/Password: huawei/test01 Authority: Operator Permitted reenter number: 4 Ethernet port of the maintenance terminal IP address: 10.10.20.3/24 Networking - WAN 2
  • 3. The figure2 shows an example network for configuring inband management over a WAN. Figure2 Example network for configuring inband management over a WAN Data Plan - WAN Table 3 and Table 4 provide the data plan for configuring inband management over a WAN. Table 3 Data plan for configuring inband management over a WAN in the telnet mode Item Data Upstream port of the MA5616 VLAN ID: 30 Port ID: 0/0/1 IP address: 10.10.20.2/24 Ethernet port of the maintenance terminal IP address: 10.10.21.3/24 Port of the LAN switch connected to the router IP address: 10.10.20.3/24 Table 4 Data plan for configuring inband management over a WAN in the SSH mode Item Data Upstream port of the MA5616 VLAN ID: 30 Port ID: 0/0/1 IP address: 10.10.20.2/24 User authentication mode: RSA public key authentication RSA key name: key New user User name/Password: huawei/test01 3
  • 4. Table 3 Data plan for configuring inband management over a WAN in the telnet mode Item Data Upstream port of the MA5616 VLAN ID: 30 Port ID: 0/0/1 IP address: 10.10.20.2/24 Ethernet port of the maintenance terminal IP address: 10.10.21.3/24 Authority: Operator Permitted reenter number: 4 Ethernet port of the maintenance terminal IP address: 10.10.21.3/24 Router port connecting to the LAN Switch IP address: 10.10.20.3/24 Configuration Flowchart Figure 3 and Figure 4 show the flowchart for configuring inband management. Figure 3 Flowchart for configuring inband management in the telnet mode Figure 4 Flowchart for configuring inband management in the SSH mode 4
  • 5. NOTE: The blue-shaded configuration procedures are the difference in the SSH mode and the telent mode. Procedure Set up the configuration environment. Figure 1 or Figure 2 shows how to set up the configuration environment according to the actual requirements and conditions. 5
  • 6. Configure the IP address of the VLAN L3 interface.  Run the vlan command to create a VLAN. huawei(config)#vlan 30 smart  Run the port vlan command to add an upstream port to the VLAN. huawei(config)#port vlan 30 0/0 1  In the VLANIF mode, run the ip address command to configure the IP address and subnet mask of the VLAN L3 interface. huawei(config)#interface vlanif 30 huawei(config-if-vlanif30)#ip address 10.10.20.2 255.255.255.0 huawei(config-if-vlanif30)#quit Add a route.  If the configuration environment is set up as shown in Figure 1, you need not add a route.  If the remote WAN management environment is set up as shown in Figure 2, run the ip route-static command to add a route to the next hop. huawei(config)#ip route-static 10.10.21.0 24 10.10.20.3 Save the data. Run the save command to save the data. huawei(config)#save Perform the following operations based on the login mode.  If you login in the telnet mode, perform the following operations: Start Telnet. Choose Start > Run on the maintenance terminal. In the Open address bar, enter telnet 10.10.20.2 (10.10.20.2 is the IP address of the VLAN L3 interface of the MA5616), as shown in Figure 5 (considering the Windows OS as an example). Click OK, and the telnet interface is displayed. Figure 5 Starting Telnet Log in to the MA5616. On the telnet interface, enter the user name and the password. By default, the super user name is root and the password is mduadmin. When the login is successful, the system displays the following information: >>User name:root 6
  • 7. >>User password: Huawei Integrated Access Software (MA5616). Copyright(C) Huawei Technologies Co., Ltd. 2002-2013. All rights reserved. If you login in the SSH mode, perform the following operations: Create a user. Run the terminal user name command to create a user. huawei(config)#terminal user name User Name(length<6,15>):huawei User Password(length<6,15>):test01 //The password is not displayed on the maintenance terminal. Confirm Password(length<6,15>):test01 //The password is not displayed on the maintenance terminal. User profile name(<=15 chars)[root]: User's Level: 1. Common User 2. Operator:2 Permitted Reenter Number(0--4):4 User's Appended Info(<=30 chars): Adding user succeeds Repeat this operation? (y/n)[n]:n Create the local RSA key pair. Run the rsa local-key-pair create command to create the local RSA key pair. NOTICE: The prerequisite for the login through SSH is that the local RSA key pair must be configured and generated. Therefore, before performing other SSH configurations, make sure that the local RSA key pair is generated. huawei(config)#rsa local-key-pair create The key name will be: Host The range of public key size is (512 ~ 2048). NOTES: If the key modulus is greater than 512, It will take a few minutes. Input the bits in the modulus[default = 512]: Generating keys... ..++++++++++++ ....................++++++++++++ ...............................++++++++ ...........++++++++ Set the SSH user authentication mode. 7
  • 8. Run the ssh user huawei authentication-type rsa command to choose the authentication mode of the SSH user. There are four authentication modes for SSH users, as shown in the following. In this topic, authentication mode rsa is considered as an example.  password: authentication based on a password.  rsa: authentication based on an RSA public key.  all: authentication based on a password or an RSA public key. The user can log in to the device either by the password or the RSA public key.  password-publickey: authentication based on a password and a public key. The user can log in to the device only after both the password and the RSA public key authentication. huawei(config)#ssh user huawei authentication-type { all<K>|password-publickey<K>|password<K>|rsa<K> }:rsa Command: ssh user huawei authentication-type rsa %Authentication type setted, and will be in effect next time. Generate the RSA public key. Run the key generator. Run the client software key generator Puttygen.exe. Figure 6 shows the interface of the key generator. Figure 6 Interface of the key generator 8
  • 9. Generate the client key. Select SSH-2 RSA as the key type under Parameters, click Generate, and move the cursor according to the prompt on the interface to generate the client key, as shown in Figure 7. Figure 7 Interface of the key generator 9
  • 10. Click Save public key and Save private key to save the public key and the private key respectively after they are generated, as shown in Figure 8. Figure 8 Save the public key and the private key 10
  • 11. Generate the RSA public key. Open sshkey.exe, click Browse, and choose the public key file saved in the preceding step. Then, click Convert to change the client public key to the RSA public key, as shown in Figure 9. Figure 9 Interface of converting the client public key to the RSA public key 11
  • 12. Generate the public key for the SSH user. Create RSA public key. Copy the RSA public key to the server in the config-rsa-key- code command line mode. huawei(config)#rsa peer-public-key key Enter "RSA public key" view, return system view with "peer-public-key end". NOTE: The number of the bits of public key must be between 769 and 2048. huawei(config-rsa-public-key)#public-key-code begin Enter "RSA key code" view, return last view with "public-key-code end". huawei(config-rsa-key-code)#30818702 81810098 933744B6 7C864EC7 A86A84CC 198BAC15 huawei(config-rsa-key-code)#D32834F7 365CFD17 E7FE4041 3266E416 710D13ED 22BD4D59 12
  • 13. huawei(config-rsa-key-code)#DF0C3E46 A995CC61 DC4CB179 F6888B8C 3F8A3085 51EDB5C7 huawei(config-rsa-key-code)#5DEBDBE1 3AB4A256 0D0B9AA8 9A419D85 35C0E562 AE0BBFAB huawei(config-rsa-key-code)#515299F9 D2803E84 3AE36C20 949367EA 0697EB20 2594A774 huawei(config-rsa-key-code)#9A0EFF04 26928874 FF9124C4 D28F0702 0125 huawei(config-rsa-key-code)#public-key-code end huawei(config-rsa-public-key)#peer-public-key end Assign the public key to the SSH user. Run the ssh user assign rsa-key command to assign the RSA public key to the SSH user. huawei(config)#ssh user huawei assign rsa-key key Log in to the system. Run the client software. Run the SSH client software putty.exe, choose SSH > Auth from the navigation tree, and assign a file for the RSA private key, as shown in Figure 10. Click Browse to display the window for selecting the file. In the window, select the file for the private key, and click OK. Figure 10 Interface of the SSH client software 13
  • 14. Log in to the system. Choose Session from the navigation tree, and then input the IP address of the MA5616 in the Host Name (or IP address) field, as shown in Figure 11. Then, click Open to log in to the system. NOTE: The port in the Figure 11 generally uses the default number 22, you can also use the display sysman service state command to query and then to configure. Figure 11 Interface for logging in to the system using the SSH client software 14
  • 15. The user authentication mode is set to the RSA authentication mode, and the system therefore displays the prompt, as shown in Figure 12. Input the user name to log in to the system (here, the user name is huawei). Figure 12 Interface for logging in to the system using the SSH client software Result 15
  • 16. After logging in to the MA5616, you can manage the MA5616. The more information about technical support you can consult with our engineer the e-mail address is as below: [email protected] More related topics Basic Layout of OLT Huawei SmartAX MA5616 Overview Example for Configuring Local Attack Defense How to Add and Delete ONT on the OLT Device How to Configure the Auto-save Function for Huawei OLT More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog Huanetwork.com is a world leading Huawei networking products supplier, we supply original new Huawei networking equipments, including Huawei 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.com Telephone: +852-30501940 Email: [email protected] Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong 16