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

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
After the command is executed, the system uses the primary IP address of the
specified interface as the source IP address of the traps sent. Thus on the NMS you
can use the IP address to uniquely identify the agent.
For example, although the agent uses different outbound interfaces to send traps, the
NMS can still use the IP address to filter all the traps that the agent sends.
You can configure this command to track a specific event by the source addresses of
SNMP traps.
Note:
Before configuring an interface as the source interface for the SNMP traps sent, make
sure the interface is assigned an IP address.
Related commands: snmp-agent trap enable, snmp-agent target-host.
Examples
# Configure VLAN-interface 1 as the source interface for the SNMP traps sent.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[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: Creates an SNMPv1 user.
v2c: Creates an SNMPv2c user.
v3: Specifies to use SNMPv3 security mode.
user-name: Name of the user to be added, a string of 1 to 32 characters.
group-name: Name of the group corresponding to the user, a string of 1 to 32
characters.
acl-number: ID of a basic ACL, in the range 2000 to 2999. Using basic ACL can restrict
the source addresses of SNMP messages, namely, permitting or refusing the SNMP
Chapter 1 SNMP Configuration Commands
1-30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents