Operation Manual - System Management
Quidway S3500 Series Ethernet Switches Chapter 5 SNMP Configuration
Huawei Technologies Proprietary
5-6
5.3.8 Set the Engine ID of a Local or Remote Device
You can use the following commands to set the engine ID of a local or remote device.
Perform the following configuration in system view.
Table 5-9 Set 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
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.
5.3.9 Set/Delete an SNMP Group
You can use the following commands to set or delete an SNMP group.
Perform the following configuration in system view.
Table 5-10 Set/Delete an SNMP Group
Operation Command
Setting an SNMP
group
snmp-agent group { v1 | v2c } group-name [ read-view
read-view ] [ write-view write-view ] [ notify-view notify-view ]
[ acl acl-list ]
snmp-agent group v3 group-name [ 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 { v1 | v2c } group-name
undo snmp-agent group v3 group-name [ authentication |
privacy ]
5.3.10 Set the Source Address of Trap
You can use the following commands to set or remove the source address of the trap.
Perform the following configuration in system view.
Table 5-11 Set the source address of trap
Operation Command
Set the Source Address of Trap
snmp-agent trap source interface-name
interface-num
Remove the source address of trap
undo snmp-agent trap source