HC110110031 Simple Network Management Protocol
HC110110031 Simple Network Management Protocol
age 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Upon completion of this section, you will be able to:
Describe the SNMP architecture and messaging behavior.
Describe the function of the Management Information Base (MIB).
Configure general SNMP parameters and traps.
age 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
SNMP Application
Network Management Station
SNMP
age 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
SNMP Architecture
Network Element
Execute
SNMP
MIB
Agent Notify Object
NMS
age 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MIB Objects
root
dod(6)
internet(1)
…… …… …… …… ……
age 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
SNMP Operation
get-request
UDP 161
NMS get-response
get-next request
UDP 161
get-response
set-request
UDP 161
get-response
trap
UDP 162
age 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
SNMPv2c
mib-2(1)
ifOutOctets OBJECT-TYPE
sysUpTime OBJECT-TYPE ifSpeed OBJECT-TYPE
SYNTAX Counter
SYNTAX TimeTicks SYNTAX Gauge
ACCESS read-only
ACCESS read-only ACCESS read-only
STATUS mandatory
STATUS mandatory STATUS mandatory
DESCRIPTION "The total
DESCRIPTION "The time (in 1/100 th of DESCRIPTION "An estimate of
number of octets
a second) since the network the interface's current
transmitted out of the
management portion of the system bandwidth in bits per
interface, including
was last re-initialized.“ second."
framing characters."
::= { system 3 } ::= { ifEntry 5 }
::= { ifEntry 16 }
age 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
SNMPv3
Get
Get Response
age 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
SNMP Configuration
G0/0/1
10.1.1.1/24 20.1.1.1/24
NMS RTA
[RTA]snmp-agent
[RTA]snmp-agent sys-info version v2c
[RTA]snmp-agent trap enable
Info: All switches of SNMP trap/notification will be open.
Continue? [Y/N]:Y
[RTA]snmp-agent trap source GigabitEthernet 0/0/1
age 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Validation
age 11 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Summary
Which version(s) of SNMP is/are enabled by default?
What is the destination port number that is used by an agent to forward traps
to a Network Management Station?
age 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com