Chapter 11 Network Management Configuration
ZXR10 5900/5200 supports five kinds of ordinary traps: SNMP,
bgp, OSPF, RMON and stalarm.
7. To use ACL to control the host that can access the switches
through SNMP protocol, use the following command.
Command
Function
ZXR10(config)#
snmp-server access-list
<
acl-number
>
This uses ACL to control the host
that can access the switches
through SNMP protocol.
8. To define context name of SNMP, use the following command.
Command
Function
ZXR10(config)#
snmp-server context
<
context name
>
This defines context name of
SNMP.
9. To set local engine id of SNMPv3, use the following command.
Command
Function
ZXR10(config)#
snmp-server engine-id
<
engine-id
>
This sets local engine id of
SNMPv3.
10. To configure safe mode group of user, use the following com-
mand.
Command
Function
ZXR10(config)#
snmp-server group
<
groupname
>
v3
{
auth
|
noauth
|
priv
}[
context
<
context-name
>
match-prefix
|
match-exact
][
read
<
readview
>][
write
<
writeview
>][
notify
<
notifyview
>]
This configures safe mode group
of user.
11. To set the maximum packet size of SNMP, use the following
command.
Command
Function
ZXR10(config)#
snmp-server packetsize
<
484-1400
>
This sest the maximum packet
size of SNMP.
12. To configure TRAP source, use the following command.
Command
Function
ZXR10(config)#
snmp-server trap-source
<
IP address
>
This configures TRAP source.
13.
To configure the users which are allowed to access SNMP
engine, use the following command.
Confidential and Proprietary Information of ZTE CORPORATION
117