Snmp-Agent Usm-User { V1 | V2C - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

undo snmp-agent trap source
Default
SNMP chooses the IP address of an interface to be the source IP address of the trap.
Views
System view
Default command level
3: Manage level
Parameters
interface-type { interface-number | interface-number.subnumber }: Specifies the interface type and
interface number. The interface-number argument represents the main interface number. The subnumber
argument represents the subinterface number in the range of 1 to 4094.
Usage guidelines
Upon the execution of this command, the system uses the primary IP address of the specified interface as
the source IP address of the traps, and the NMS uses this IP address to uniquely identify the agent. Even
if the agent sends out traps through different interfaces, the NMS uses this IP address to filter all traps sent
from the agent.
Before you can configure the IP address of a particular interface as the source IP address of the trap,
make sure the interface already exists and that it has a legal IP address. If the configured interface does
not exist, the configuration fails. If the specified IP address is illegal, the configuration becomes invalid.
When a legal IP address is configured for the interface, the configuration automatically becomes valid.
Examples
# Configure the IP address of GigabitEthernet 2/0/1 as the source address for traps.
<Sysname> system-view
[Sysname] snmp-agent trap source gigabitethernet 2/0/1
Related commands
snmp-agent target-host
snmp-agent trap enable

snmp-agent usm-user { v1 | v2c }

Use snmp-agent usm-user { v1 | v2c } to add a user to an SNMPv1 or SNMPv2c group.
Use undo snmp-agent usm-user { v1 | v2c } to delete a user from an SNMPv1 or SNMPv2c group.
Syntax
snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number | acl ipv6 ipv6-acl-number ]
*
undo snmp-agent usm-user { v1 | v2c } user-name group-name
Views
System view
Default command level
3: Manage level
125

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents