Snmp-Agent Trap Source; Snmp-Agent Usm-User - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Example

snmp-agent trap source

Syntax
View
Parameter
Description
Related command:
Example

snmp-agent usm-user

Syntax
# Configure the size of the Trap queue to 200.
<Sysname> system-view
[Sysname] snmp-agent trap queue-size 200
snmp-agent trap source interface-type { interface-number |
interface-number.subnumber }
undo snmp-agent trap source
System view
interface-type { interface-number | interface-number.subnumber }: Specifies the
interface type and interface number. The parameter interface-number represents
the main interface number. The parameter subnumber represents the subinterface
number and ranges from 1 to 4,094.
Use the
snmp-agent trap source
contained in the Trap message.
Use the
undo snmp-agent trap source
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.
n
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.
snmp-agent trap enable, snmp-agent target-host.
# Configure the IP address for the port Ethernet 1/0 to be the source address for
Trap packets.
<Sysname> system-view
[Sysname] snmp-agent trap source ethernet 1/0
The following syntax applies to 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
command to specify the source IP address
command to restore the default.
2347

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents