Technical data
SNMP 349
Perform the following configuration in system view.
By default, syslocation is specified as “Marlborough MA”.
Setting the Engine ID of a Local or Remote Device
Use the following commands to set the engine ID of a local or remote device.
Perform the following configuration in system view.
By default, the engine ID is expressed as enterprise No. + device information. The
device information can be IP address, MAC address, or user-defined text.
Setting and Deleting an SNMP Group
Use the following commands to set or delete an SNMP group.
Perform the following configuration in system view.
The authentication parameter specifies that the packet is authenticated without
encryption. This parameter is supported only in SNMP V3.
The privacy parameter specifies that the packet is authenticated and encrypted.
This parameter is supported only in SNMP V3.
Table 49 Setting SNMP System Information
Operation Command
Set SNMP system information snmp-agent sys-info { contact sysContact |
location syslocation | version { { v1 | v2c | v3
] * | all } }
Restore the default SNMP system information
of the Ethernet switch
undo snmp-agent sys-info [ { contact |
location }* | version { { v1 | v2c | v3 ] * | all }
]
Table 50 Setting the Engine ID of a Local or Remote Device
Operation Command
Set the engine ID of the device snmp-agent local-engineid engineid
Restore the default engine ID of the device. undo snmp-agent local-engineid engineid
Table 51 Setting and Deleting an SNMP Group
Operation Command
Setting an SNMP group snmp-agent group group-name { v1 | v2c } [
read-view read-view ] [ write-view
write-view ] [ notify-view notify-view ] [ acl
acl-list ]
snmp-agent group group-name v3 [
authentication | privacy ] [ read-view
read-view ] [ write-view write-view ] [
notify-view notify-view ] [ acl acl-list ]
Deleting an SNMP group undo snmp-agent group group-name { v1 |
v2c }
undo snmp-agent group group-name v3 [
authentication | privacy ]