Installation manual

Command Manual - System Management
Quidway S3000-EI Series Ethernet Switches Chapter 5 SNMP Configuration Commands
Huawei Technologies Proprietary
5-16
5.1.20 snmp-agent trap source
Syntax
snmp-agent trap source vlan-interface vlan-id
undo snmp-agent trap source
View
System view
Parameter
vlan-id: Specify the VLAN interface ID, ranging from 1 to 4000.
Description
Using snmp-agent trap source command, you can configure the source address for
sending Trap. Using undo snmp-agent trap source command, you can cancel the
source address for sending Trap.
Example
# Configure the IP address of the VLAN interface 1 as the source address for
transmitting the Trap packets.
[Quidway] snmp-agent trap source vlan-interface 1
5.1.21 snmp-agent usm-user
Syntax
snmp-agent usm-user { v1 | v2c } username groupname [ acl acl-list ]
undo snmp-agent usm-user { v1 | v2c } username groupname
snmp-agent usm-user v3 username groupname [ authentication-mode { md5 | sha }
authpassstring [ privacy-mode { des56 privpassstring } ] ] [ acl acl-list ]
undo snmp-agent usm-user v3 username groupname { local | engineid engine-id }
View
System view
Parameter
username: Specify the user name, ranging from 1 to 32 bytes.
groupname: Specify the group name corresponding to that user, a character string at
the length ranging from 1 to 32 bytes.
v1: Configure to use V1 safe mode.
v2c: Configure to use V2c safe mode.