Chapter5ManagementConguration
ParameterDescription
ParameterDescription
host<A.B.C.D>HostIPaddress
<string>Communityname(inV1orV2cmode)orusername(inV3mode)
noauthNeitherauthenticationnorencryption
authAuthenticationbutnoencryption
privAuthenticationandencryption
Example
ThefollowingexamplesetstheIPaddress,version,andcommunitynameofatraphost
to10.40.44.167,V2c,andbeijing:
zte(cfg-snmp)#sethost10.40.44.167trapv2cbeijing
5.4.11sethostinform
Purpose
ThiscommandsetstheIPaddress,communityname/username,version,andsecurity
levelfortheinformhost.
CommandMode
SNMPcongurationmode
Syntax
sethost<A.B.C.D>inform{v2c<string>|v3<string>{auth|noauth|priv}}
ParameterDescription
ParameterDescription
host<A.B.C.D>HostIPaddress.
v2c<string>TheSNMPversionisV2c.Thestringisagroupname.
v3<string>TheSNMPversionisv3.Thestringisagroupname.
noauthNeitherauthenticationnorencryption.
authAuthenticationbutnoencryption.
privAuthenticationandencryption.
Example
ThefollowingexamplesetstheIPaddressoftheinformhostto10.40.44.167,versionto
v3,usernametouname,andsecurityleveltoauth:
5-15
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential