Snmp-Agent Usm-User { V1 | V2C - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
Description
Use the snmp-agent trap source command to specify the source IP address
contained in the Trap message.
Use the undo snmp-agent trap source command to restore the default.
By default, SNMP chooses the IP address of an interface to be the source IP address of
the Trap message.
Use this command to trace a specific event by the source IP address of a Trap
message.
Note: Before you can configure the IP address of a particular interface as the source IP
address of the Trap message, ensure that the interface already exists and that it has a
legal IP address. Otherwise, it is likely that the configurations will either fail or be invalid.
Related commands: snmp-agent trap enable, snmp-agent target-host.
Examples
# Configure the IP address for the port VLAN-interface 1 as the source address for Trap
messages.
<Sysname> system-view
[Sysname] snmp-agent trap source Vlan-interface 1

1.1.25 snmp-agent usm-user { v1 | v2c }

Syntax
snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number ]
undo snmp-agent usm-user { v1 | v2c } user-name group-name
View
System view
Parameters
v1: SNMPv1.
v2c: SNMPv2c.
user-name: User name, a string of 1 to 32 characters. It is case sensitive.
group-name: Group name, a string of 1 to 32 characters. It is case sensitive.
acl acl-number: Basic ACL, in the range 2,000 to 2,999.
Description
Use the snmp-agent usm-user { v1 | v2c } command to add a user to an SNMP group.
Use the undo snmp-agent usm-user { v1 | v2c } command to delete a user from an
SNMP group.
Chapter 1 SNMP Configuration Commands
1-24

Advertisement

Table of Contents
loading

Table of Contents