Chapter8NetworkManagement
of10.40.92.200,andtheswitchismanagedthroughthenetwork
managementserver .
Createacommunitynamed“zte”withtheread/writeauthorityand
theviewnamed“vvv”,andthenassociatethecommunity“zte”
withtheview“vvv”.SpecifytheIPaddressofthehostreceiving
trapsas10.40.92.105,andthecommunityas“zte” .
Congurationofswitch:
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.105trapv1zte
zte(cfg-snmp)#showsnmpcommunity
CommunityNameLevelViewName
-----------------------------------
zteprivatevvv
zte(cfg-snmp)#showsnmpview
ViewNameExc/IncMibFamily
-------------------------------------------
vvvInclude1.3.6.1
zte(cfg-snmp)#showsnmphost
HostIpAddressComm/UserVersiontypeSecurityLevel
-----------------------------------------------------
10.40.92.77zteVer.1Trap
Example2
SupposethattheIPaddressofthenetworkmanagementserver
is10.40.92.77,theswitchhasalayer3portwiththeIPaddress
of10.40.92.11,andtheswitchismanagedthroughthenetwork
managementserver .
Createausernamed“zteuser”andthegroupnamed“ztegroup”,
thesecuritylevelofthisgroupisprivate(thatisauthentication
andencryption).SpecifytheIPaddressofthehostreceivingtrap
orinformas10.40.92.77,andtheuseris“zteuser”.
Congurationofswitch:
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)#setgroupztegroupv3private
zte(cfg-snmp)#setuserzteuserztegroupv3md5-authztedes56-privzte
zte(cfg-snmp)#sethost10.40.89.77informv3zteuserpriv
zte(cfg-snmp)#showsnmpgroup
groupName:ztegroup
secModel:v3readView:zteView
secLevel:AuthAndPrivwriteView:zteView
rowStatus:ActivenotifyView:zteView
zte(cfg-snmp)#showsnmpuser
UserName:zteuser
GroupName:ztegroup(v3)
EngineID:830900020300010289d64401
AuthType:Md5StorageType:NonVolatile
EncryptType:Des_CbcRowStatus:Active
CondentialandProprietaryInformationofZTECORPORATION201