Chapter13NetworkManagementConguration
SNMPConfiguration
SNMPOverview
SNMPisoneofthemostpopularnetworkmanagementprotocols.
Thisprotocolenablesanetworkmanagementservertomanage
allthedevicesinanetwork.
SNMPismanagedbasedonserverandclient.BackgroundNMS
serverservesasSNMPserverandforegroundnetworkdevice
servesasSNMPclient.ForegroundandbackgroundshareanMIB
andcommunicatewitheachotherthroughSNMPprotocol.Itis
requiredtocongurespecicSNMPserverfortherougingswitch
asSNMPagentanddenecontentsandauthoritiesavailably
collectedbyNMS.ZXR108900seriesswitchsupportsmultiple
versionsofSNMP .
ConfiguringSNMP
SNMPv1/v2cadoptsthecommunityauthenticationmode.SNMP
communityisnamedbystringsanddifferentcommunitieshave
read-onlyorread-writeaccessauthorities.Communitywithread-
onlyauthoritycanonlyqueryequipmentinformation.Community
withread-writeauthoritycanconguretheequipment.
Bothread-onlyandread-writearelimitedbytheview.Operations
canonlybeconductedinthepermittedviewrange.Whenparam-
eterviewisomittedusedefaultviewanduseparameterroifro/rw
areomitted.
TocongureSNMP ,performthefollowingsteps.
Step
CommandFunction
1
ZXR10(config)#snmp-servercommunity
<community-name>[view<view-name>][ro|rw]
Thissetscommunitynamein
anSNMPmessage
2
ZXR10(config)#snmp-serverview<view-name><subt
ree-id>{included|excluded}
ThisdenesanSNMPv2view
3
ZXR10(config)#snmp-servercontact<mib-sysconta
ct-text>
Thissetssystemcontactfor
anMIBobject
4
ZXR10(config)#snmp-serverlocation<mib-syslocati
on-text>
Thissetsthetypeoftrap
allowedtobesentbyaproxy
5
ZXR10(config)#snmp-serverenabletrap
[<notification-type>]
Thiscongurestraptype
6
ZXR10(config)#snmp-serverhost{{<ip-address>{i
nform|trap}version{1|2c|3}<community>}|
mng|vrf}
Thisconguresthesending
address,port,versionand
informforthehost
CondentialandProprietaryInformationofZTECORPORATION133