H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches Chapter 1
SNMP Configuration Commands
1-20
Use the undo snmp-agent trap source command to cancel the source address for
sending trap message.
The SNMP trap message sent from a server has a source IP address no matter which
interface the trap message is sent from.
By default, SNMP chooses an outgoing interface.
You can configure this command to trace a specific event using the source address of a
trap message.
Note:
Before setting the IP address of an interface as the source address of the sent Trap
messages, you must configure an IP address for the interface.
Related commands: snmp-agent trap enable, snmp-agent target-host.
Examples
# Configure the IP address of VLAN interface 1 as the source address for sending trap
messages.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] snmp-agent trap source Vlan-interface 1
1.1.21 snmp-agent usm-user
Syntax
1) For SNMPv1 and SNMPv2c
snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number ]
undo snmp-agent usm-user { v1 | v2c } user-name group-name
2) For SNMPv3
snmp-agent usm-user v3 user-name group-name [ authentication-mode { md5 |
sha } auth-password [ privacy-mode des56 priv-password ] ] [ acl acl-number ]
undo snmp-agent usm-user v3 user-name group-name { local | engineid
engineid-string }
View
System view
Parameters
v1: Configures to use SNMPv1 security model.