ZXR105250SeriesCongurationGuide
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
AssumethattheIPaddressofthenetworkmanagementserveris10.40.92.77,the
switchhasalayer-3portwiththeIPaddressof10.40.92.11,andtheswitchismanaged
throughthenetworkmanagementserverintheUserSecurityModel(USM).
Createausernamed“zteuser”anditsgroupnamed“ztegroup”.Thesecuritylevelof
thegroupisprivate(thatisauthenticationandencryption).SettheIPaddressofthe
computerreceivingtraporinforminformationto10.40.92.77,andtheuserto“zteuser”.
lCongurationProcedure
zte(cfg)#configrouter
zte(cfg-router)#setipport1ipaddress10.40.92.11/24
zte(cfg-router)#setipport1vlan1
zte(cfg-router)#setipport1enable
zte(cfg-router)#exit
zte(cfg)#configsnmp
zte(cfg-snmp)#setgroupztegroupv3priv
zte(cfg-snmp)#setuserzteuserztegroupv3md5-authztedes56-privzte
zte(cfg-snmp)#sethost10.40.92.77informv3zteuserpriv
6-16
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential