Snmp Configuration Example - Zte ZXR10 2900 Series User Manual

Intelligent
Table of Contents

Advertisement

ZXR10 2900 Series User Manual
Example 1
200
Confidential and Proprietary Information of ZTE CORPORATION
Command
set community <string>
zte(cfg-snmp)#
view <string>
set engineID <string>
zte(cfg-snmp)#
set group <string> v3 {auth
zte(cfg-snmp)#
| noauth | priv}[read <string>[write
<string>[notify <string>]]]
set host <A.B.C.D>{trap |
zte(cfg-snmp)#
inform}{v1 | v2c}<string>
set host <A.B.C.D>{trap
zte(cfg-snmp)#
| inform} v3 <string>{auth | noauth |
priv}
set trap {linkdown |
zte(cfg-snmp)#
linkup | authenticationfail | coldstart
| warmstart | topologychange |
memberupdown | portloopdetect |
trunkloopdetect | dynamicMacExceed|r
emoteDiscovery|all}{enable | disable}
set user <username
zte(cfg-snmp)#
><groupname> v3 [{md5-auth |
sha-auth}<password>][des56-priv
<password>]
show snmp [community |
zte(cfg)#
engineID | group | host | trap | user |
view]
clear community <string>
zte(cfg-snmp)#
clear group <string> v3
zte(cfg-snmp)#
{auth | noauth | priv}
clear host <A.B.C.D>{trap
zte(cfg-snmp)#
| inform}<string>
clear user <string> v3
zte(cfg-snmp)#
clear view <string>
zte(cfg-snmp)#

SNMP Configuration Example

Suppose that the IP address of the network management server
is 10.40.92.105, the switch has a layer 3 port with the IP address
Function
This sets specific
community name that
the view contains.
This sets engine ID.
This sets group name
and security level.
This sets IP address,
group name , username
and version of trap host
and inform host.
Host is destination host
that trap or inform
sends. At the same
time, specify trap or
inform version and
community or user.
This enables or disables
SNMP link connection
and disconnection,
link authentication
failure, cold boot, warm
start, cluster topology
change, cluster
member up/down and
loopdetect and so on.
This sets SNMP v3
user name, group
name, and its related
authentication mode,
password.
This views SNMP
information.
This deletes community
name.
This deletes group
name.
This deletes trap or
inform host.
This deletes username.
This deletes viewname.

Advertisement

Table of Contents
loading

Table of Contents