ZXR102900SeriesUserManual
CommandFunction
zte(cfg-snmp)#setcommunity<string>
view<string>
Thissetsspecic
communitynamethat
theviewcontains.
zte(cfg-snmp)#setengineID<string>ThissetsengineID.
zte(cfg-snmp)#setgroup<string>v3{auth
|noauth|priv}[read<string>[write
<string>[notify<string>]]]
Thissetsgroupname
andsecuritylevel.
zte(cfg-snmp)#sethost<A.B.C.D>{trap|
inform}{v1|v2c}<string>
zte(cfg-snmp)#sethost<A.B.C.D>{trap
|inform}v3<string>{auth|noauth|
priv}
ThissetsIPaddress,
groupname,username
andversionoftraphost
andinformhost.
Hostisdestinationhost
thattraporinform
sends.Atthesame
time,specifytrapor
informversionand
communityoruser .
zte(cfg-snmp)#settrap{linkdown|
linkup|authenticationfail|coldstart
|warmstart|topologychange|
memberupdown|portloopdetect|
trunkloopdetect|dynamicMacExceed|r
emoteDiscovery|all}{enable|disable}
Thisenablesordisables
SNMPlinkconnection
anddisconnection,
linkauthentication
failure,coldboot,warm
start,clustertopology
change,cluster
memberup/downand
loopdetectandsoon.
zte(cfg-snmp)#setuser<username
><groupname>v3[{md5-auth|
sha-auth}<password>][des56-priv
<password>]
ThissetsSNMPv3
username,group
name,anditsrelated
authenticationmode,
password.
zte(cfg)#showsnmp[community|
engineID|group|host|trap|user|
view]
ThisviewsSNMP
information.
zte(cfg-snmp)#clearcommunity<string>Thisdeletescommunity
name.
zte(cfg-snmp)#cleargroup<string>v3
{auth|noauth|priv}
Thisdeletesgroup
name.
zte(cfg-snmp)#clearhost<A.B.C.D>{trap
|inform}<string>
Thisdeletestrapor
informhost.
zte(cfg-snmp)#clearuser<string>v3Thisdeletesusername.
zte(cfg-snmp)#clearview<string>Thisdeletesviewname.
SNMPConfigurationExample
Example1
SupposethattheIPaddressofthenetworkmanagementserver
is10.40.92.105,theswitchhasalayer3portwiththeIPaddress
200CondentialandProprietaryInformationofZTECORPORATION