Defaults
Instructions
Example
Related
Commands
Purpose
Command Modes
Syntax
Syntax
Description
write <writeview>
notify <notifyview>
The contents of the system group (with the OID of 1.3.6.1.2.1.1)
can be read by default.
�
The context parameter is added after the platform version
4.6.02
�
If there is the context parameter in the configuration of this
command, this command can not be deleted by the no snmp
-server group <groupname> v3 {auth | noauth | priv}
command. It can be deleted by the no snmp-server group
<groupname> v3 {auth | noauth | priv}[context <context
-name>] command.
The following example shows how to configure an SNMP version 3
group named group1 that requires the authentication of packets
with encryption. And the read view string, write view string and
notification view string are named view1.
ZXR10(config)#snmp-server group group1 v3 priv read view1
write view1 notify view1
show snmp group
snmp-server user
snmp-server host
Use this command to specify the recipient of a Simple Network
Management Protocol (SNMP) notification operation. Remove the
specified host to receive an SNMP notification with the no form of
this command. The snmp-server host command must be used
together with the snmp-server enable command.
Global configuration
snmp-server host [mng | vrf <vrf-name>]<ip-address>[trap
| inform] version {1 | 2c | 3 {auth | noauth | priv}}<commu
nity-name>[udp-port <udp-port>][<trap-type>]
no snmp-server host [mng | vrf <vrf-name>]<ip-address>[t
rap | inform][version {1 | 2c | 3 {auth | noauth | priv}}]<c
ommunity-name>
mng
vrf <vrf-name>
<ip-address>
trap
inform
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 SNMP Configuration
Specifies a write view string, with 1~32
characters
Specifies a notification view string, with 1~32
characters
Management interface
VPN name, with 1~16 characters
IP address of the specified host in the dotted
decimal format
Specifies to send a trap to the host
Specifies to send a notification to the host
13