ZXR102900ESeriesCongurationGuide
SNMPCongurationInstance1
lCongurationDescription
SupposethattheIPaddressofthenetworkmanagementserveris10.40.92.105,
theswitchhasalayer-3portwiththeIPaddressof10.40.92.200,andtheswitch
ismanagedthroughthenetworkmanagementserver.
Createacommunitynamed“zte”withtheread/writeauthorityandtheviewnamed
“vvv”,andthenassociatethecommunity“zte”withtheview“vvv”.SpecifytheIP
addressofthehostreceivingtrapsas10.40.92.105,andthecommunityas“zte”.
lNetwork
DTUdeviceisdirectlyconnectedwithnetworkmanagementserverPC.
lCongurationProcedure
zte(cfg)#configrouter
zte(cfg-router)#setipport0ipaddress10.40.92.200255.255.255.0
zte(cfg-router)#setipport0vlan2
zte(cfg-router)#setipport0enable
zte(cfg-router)#exit
zte(cfg)#configsnmp
zte(cfg-snmp)#createcommunityzteprivate
zte(cfg-snmp)#createviewvvv
zte(cfg-snmp)#setcommunityzteviewvvv
zte(cfg-snmp)#sethost10.40.92.105trapv2zte
zte(cfg-snmp)#showsnmpcommunity
CommunityNameLevelViewNameAcl
------------------------------------
zteprivatevvv-
zte(cfg-snmp)#showsnmpview
ViewNameExc/IncMibFamily
-----------------------------------------
vvvInclude1.3.6.1
zte(cfg-snmp)#showsnmphost
HostIpAddressComm/UserVersiontypeSecurityLevel
--------------------------------------------------
10.40.92.105zteVer.2cTrap
SNMPCongurationInstance2
lCongurationDescription
5-10
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential