18 Network Management and OM
18 Network Management and OM
Page 2 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Foreword
The ever expanding network and increasing network devices present a significant challenge in
managing networks effectively and providing high-quality network services.
There are many network management and O&M methods, of which this course describes some
of the most common.
Page 3 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
On completion of this course, you will be able to:
▫ Understand basic concepts of network management and O&M.
Page 4 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concepts of Network Management and O&M
2. SNMP Fundamentals and Configuration
3. Network Management Based on Huawei iMaster NCE
Page 5 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
What Is Network Management and O&M?
Network management and O&M plays an important role on a communications network. It ensures that
devices work properly and the communications network runs properly to provide efficient, reliable, and
secure communications services.
Network administrator
Page 6 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Basic Network Management Functions
Page 7 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Network Management Modes
Traditional Network Management and O&M iMaster NCE-based Network Management and O&M
Commercial application
Northbound API
`
Analysis
Network Network
automation Control intelligence
Management
iMaster NCE
Web system SNMP-based Cloud platform
CLI
mode centralized
mode
management
Network administrator Network management station Data center Campus WAN Branch
Page 8 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concepts of Network Management and O&M
2. Traditional Network Management
3. Network Management Based on Huawei iMaster NCE
Page 9 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Management Through the CLI or Web System
When the network scale is small, the CLI and web system are generally used for network management.
▫ Network administrators can log in to a device through HTTPS, Telnet, or the console port to manage the device.
▫ These network management modes do not require any program or server to be installed on the network, and the cost is low.
▫ Network administrators must have a good master of network knowledge and vendor-specific network configuration commands.
▫ These modes have great limitations when the network scale is large and the network topology is complex.
One-to-one management
Network administrator
Page 10 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
SNMP-based Centralized Management
SNMP is a standard network management protocol widely used on TCP/IP networks. It provides a method for
managing NEs through a central computer that runs network management software, that is, a network management
station.
Page 11 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Typical SNMP Architecture
On a network where SNMP is used for network management, a
Client network management system (NMS) functions as a network
SNMP message
management center and runs management processes. Each
Monitor
managed device needs to run an agent process. The
Provides a visualized interface.
management process and agent process communicate with each
other through SNMP messages.
NMS An NMS is a system that uses SNMP to manage and monitor
Network management network devices. The NMS software runs on NMS servers.
process
Managed devices are devices that are managed by the NMS on
the network.
IP Network The agent process runs on managed devices to maintain the
information data of the managed devices, respond to the
Agent Agent Agent request from the NMS, and report the management data to the
process process process
NMS that sends the request.
Managed device Managed device Managed device
Page 12 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
SNMP Message Exchange
NMS Managed object • The NMS and managed devices exchange messages in the
Network management following modes:
process ▫ The NMS sends a request for modifying or querying configuration
information to a managed device through SNMP. The agent process
1 2 3
running on the managed device responds to the request from the
Query/Modify Request
Query/Modify response
Tra
p NMS.
▫ The managed device can proactively report traps to the NMS so
that the network administrator can detect faults in a timely manner.
• Managed object: Each device may contain multiple managed
objects. A managed object can be a hardware component or a
Agent process set of parameters configured on the hardware or software (such
as a routing protocol).
• SNMP uses management information bases (MIBs) to describe
a group of objects of a manageable entity.
Managed device
Page 13 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
MIB
root
mgmt (2) • A MIB provides a structure that contains data on all NEs that
may be managed on the network. Because the data structure
mib (1) is similar to the tree structure, a MIB is also called an object
naming tree.
system (1) interface (2) ...
... ...
Page 14 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Common MIB Objects
Objects used for query or modification:
Page 15 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
SNMP Management Model
NMS
Network management • Query/Modify operation:
process ▫ The NMS sends an SNMP request message to an agent
process.
SNMP message exchange
▫ The agent process searches the MIB on the device for
information to be queried or modified and sends an SNMP
Agent process
response message to the NMS.
• Trap operation:
MIB ▫ If the trap triggering conditions defined for a module are met,
the agent process sends a message to notify the NMS that an
event or trap has occurred on a managed object. This helps
Managed object
network administrators promptly process network faults.
Managed devices
Page 16 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
SNMPv1
NMS IP Network Managed device
What's the IP address
Get of GE 0/0/1
Response 10.0.1.1/24
Response 10.0.2.1/24
Page 17 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
SNMPv2c
NMS IP Network
Managed device
Get
Response
GetNext
Response
Set
Response
Trap
Query the IP addresses of
GetBulk
all interfaces on the device
The IP address of GE 0/0/1 is...
Response
The IP address of GE 0/0/2 is...
Page 18 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
SNMPv3
SNMPv3 has the same working mechanism as SNMPv1 and SNMPv2c, but adds header data and security parameters.
SNMPv3 messages can be authenticated and encrypted.
SNMPv3 is applicable to networks of various scales and has high security.
Page 19 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
SNMP Summary
SNMP has the following advantages:
▫ Simplicity: SNMP is applicable to networks that require high speed and low cost because it uses a polling mechanism and provides basic network
management functions. Moreover, SNMP uses UDP to exchange data and therefore is supported by most products.
▫ Convenience: SNMP allows management information exchange between arbitrary devices on a network, so that a network administrator can
query information and locate faults on any device.
SNMPv1 applies to small-scale networks where security requirements are not high or the network environment is safe and stable,
such as campus networks and small-sized enterprise networks.
SNMPv2c applies to medium- and large-sized networks where security requirements are not high or the network environment is safe,
but a large volume of traffic exists and traffic congestion may occur.
SNMPv3 is the recommended version and applies to networks of various scales, especially those networks that have high security
requirements and allow only authorized administrators to manage network devices.
Page 20 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Basic SNMP Configuration (1)
1. Enable the SNMP agent function.
[Huawei] snmp-agent
4. Add a new SNMP group and map users in this group to the SNMP view.
[Huawei] snmp-agent group v3 group-name { authentication | noauth | privacy } [ read-view view-name | write-view view-
name | notify-view view-name ]
This command is used to create an SNMP group of the SNMPv3 version and specify the authentication and encryption mode
and one or more of read-only view, read-write view, and notification view. It is a mandatory command on networks that require
high security.
Page 21 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Basic SNMP Configuration (2)
5. Add a user to the SNMP group.
Page 22 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Basic SNMP Configuration (3)
9. Configure the target host of traps.
Note that this command is used only to enable the device to send traps. This command must be used together with the snmp-
agent target-host command. The snmp-agent target-host command specifies the device to which traps are sent.
Note that a source IP address must have been configured for the interface that sends traps.
Page 23 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
SNMP Configuration Example (Network Device
Side)
GE0/0/1
NMS R1 R1configuration:
192.168.1.10 [R1]snmp-agent
Managed device [R1]snmp-agent sys-info version v3
[R1]snmp-agent group v3 test privacy
• Enable SNMP on R1and set the SNMP version to SNMPv3. [R1]snmp-agent usm-user v3 R1 test authentication-mode md5
• Set the SNMPv3 group name to test and encryption HCIA@Datacom123 privacy-mode aes128 HCIA-Datacom123
authentication mode to privacy. [R1]snmp-agent target-host trap-paramsname param v3
• Create an SNMPv3 user named R1 and set the authentication securityname sec privacy
and encryption passwords to HCIA-Datacom123. [R1]snmp-agent target-host trap-hostname nms address
• Create a trap parameter named param and set securityname 192.168.1.10 trap-paramsname param
to sec. [R1]snmp-agent trap source GigabitEthernet 0/0/1
• Set the IP address of the SNMP target host to 192.168.1.10. [R1]snmp-agent trap enable
• Enable the trap function and specify GE 0/0/1 as the source Info: All switches of SNMP trap/notification will be open.
interface that sends traps. Continue? [Y/N]:y
Page 24 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concepts of Network Management and O&M
2. Traditional Network Management
3. Network Management Based on Huawei iMaster NCE
Page 25 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Transformation and Challenges of the Network
Industry
With the advent of the 5G and cloud era, innovative services such as VR/AR, live streaming, and autonomous driving are emerging,
and the entire ICT industry is booming. At the same time, the traffic of the entire network also increases explosively. Huawei Global
Industry Vision (GIV) predicts that the amount of new data will reach 180 ZB by 2025. Moreover, the dynamic complexity of
services makes the entire network more complex.
Such challenges can only be overcome by constructing automated and intelligent network systems centered on user experience.
Autonomous driving
Live streaming
VR/AR
Page 26 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Huawei iMaster NCE
Huawei iMaster NCE is a network automation and intelligence platform that integrates management, control,
analysis, and AI functions.
• In terms of management and control, iMaster NCE allows
Cloud platform & application
you to:
▫ Manage and control traditional devices through traditional
iMaster NCE technologies such as CLI and SNMP.
Open API ▫ Manage and control SDN-capable networks through
Intent engine NETCONF (based on the YANG model).
Management Control Analysis • iMaster NCE collects network data through protocols such
as SNMP and telemetry, performs intelligent big data
Unified cloud-based platform
analysis based on AI algorithms, and displays device and
network status in multiple dimensions through dashboards
CLI/SNMP NETCONF/YANG Telemetry
and reports, helping O&M personnel quickly detect and
Traditional handle device and network exceptions and ensuring normal
SDN-capable network devices
devices running of devices and networks.
Page 27 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
NETCONF Overview
NETCONF provides a network device management mechanism. You can use NETCONF to add, modify, or delete
configurations of network devices, and obtain configurations and status of network devices.
NETCONF server
Device
Device 1 Device 2 Device 3
Page 29 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
NETCONF Advantages
Function NETCONF SNMP CLI
Only SNMPv3
Secure Multiple security protocols: SSH, TLS, BEEP/TLS, and
supports secure SSH
transmission SOAP/HTTP/TLS
transmission.
Page 30 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Typical NETCONF Interaction
SSH connection
RP
C
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=
"101">
<edit-config> This operation is to modify
configuration.
<target> RPC-Reply
<running/>
</target>
<config> <?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="101"
Configuration content in XML format
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
</config>
<ok/> Modified successfully.
</edit-config>
</rpc-reply>
</rpc>
Page 31 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
YANG Language Overview
Yet Another Next Generation (YANG) is a data modeling language that standardizes NETCONF data content.
The YANG model defines the hierarchical structure of data and can be used for NETCONF-based operations. Modeling objects
include configuration, status data, remote procedure calls, and notifications. This allows a complete description of all data exchanged
between a NETCONF client and server.
Person Router
Page 32 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
YANG and XML (1)
A YANG file is loaded on the NETCONF client (such as the NMS or SDN controller).
The YANG file is used to convert data into XML-format NETCONF messages before they are sent to the device.
SNMP Telemetry
e.
e to the CPU usag
usage 1. Subscrib
Req ue st C P U Period: 1s
Time 1,
usage 1
Time 1,
u
T > 5 min
sage 1
T < 1s
2.
PU usage Time 2,
Request C "Pull" "Subscription usage 2
and push"
Time 2,
u sage 2
Time 3,
usage 3
e st C P U usage 3.
Req u
Telemetry supports
data collection
Time 3, Time n,
u sage 3 at the level of subseconds. u sage n
Page 35 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Quiz
1. (Single) On an SNMP-based network, which of the following runs the management process to manage the managed
devices? ( )
A. NMS
B. Agent process
C. MIB
D. SNMP
2. (Single) In SNMPv1, which of the following operations is used by a managed device to report traps? ( )
A. Get-Request
B. Set-Request
C. Trap
D. Response
Page 36 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Quiz
3. YANG is a data modeling language. ( )
A. True
B. False
B. False
Page 37 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Summary
With the development of network technologies, more and more network management and O&M
methods are available. The common methods are as follows:
▫ CLI mode or web system
▫ SNMP
▫ Huawei iMaster NCE's intelligent O&M platform (covering management, control, and analysis)
Page 38 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com
Page 39 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.