Chapter11NetworkManagementConguration
ZXR105900/5200supportsvekindsofordinarytraps:SNMP ,
bgp,OSPF ,RMONandstalarm.
7.TouseACLtocontrolthehostthatcanaccesstheswitches
throughSNMPprotocol,usethefollowingcommand.
CommandFunction
ZXR10(config)#snmp-serveraccess-list<acl-number>ThisusesACLtocontrolthehost
thatcanaccesstheswitches
throughSNMPprotocol.
8.TodenecontextnameofSNMP ,usethefollowingcommand.
CommandFunction
ZXR10(config)#snmp-servercontext<contextname>
Thisdenescontextnameof
SNMP .
9.TosetlocalengineidofSNMPv3,usethefollowingcommand.
CommandFunction
ZXR10(config)#snmp-serverengine-id<engine-id>
Thissetslocalengineidof
SNMPv3.
10.Toconguresafemodegroupofuser ,usethefollowingcom-
mand.
CommandFunction
ZXR10(config)#snmp-servergroup<groupname>
v3{auth|noauth|priv}[context<context-name>
match-prefix|match-exact][read<readview>][write
<writeview>][notify<notifyview>]
Thisconguressafemodegroup
ofuser .
11.TosetthemaximumpacketsizeofSNMP ,usethefollowing
command.
CommandFunction
ZXR10(config)#snmp-serverpacketsize<484-1400>Thissestthemaximumpacket
sizeofSNMP .
12.TocongureTRAPsource,usethefollowingcommand.
CommandFunction
ZXR10(config)#snmp-servertrap-source<IPaddress>
ThisconguresTRAPsource.
13.T oconguretheuserswhichareallowedtoaccessSNMP
engine,usethefollowingcommand.
CondentialandProprietaryInformationofZTECORPORATION117