205
Usage guidelines
To send informs to an NMS, you must configure the SNMP engine ID of the NMS on the SNMP
agent.
The NMS accepts the SNMPv3 informs from the SNMP agent only if the engine ID in the informs is
the same as its local engine ID.
You can configure a maximum of 20 remote SNMP engine IDs.
Examples
# Set the SNMP engine ID to
123456789A
for the remote entity
10.1.1.1
.
<Sysname> system-view
[Sysname] snmp-agent remote 10.1.1.1 engineid 123456789A
Related commands
display
snmp-agent
remote
snmp-agent { inform | trap } source
Use
snmp-agent
{
inform
|
trap
}
source
to specify a source IP address for the informs or traps sent
by the SNMP agent.
Use
undo snmp-agent
{
inform
|
trap
}
source
to restore the default.
Syntax
snmp-agent
{
inform
|
trap
}
source
interface-type
{
interface-number
|
interface-number
.
subnumber
}
undo
snmp-agent
{
inform
|
trap
}
source
Default
The SNMP agent uses the IP address of the outgoing interface as the source IP address of
notifications.
Views
System view
Predefined user roles
network-admin
Parameters
inform
: Specifies informs.
trap
: Specifies traps.
interface-type
{
interface-number
|
interface-number.subnumber
}: Specifies an interface by its type
and number. The
interface-number
argument specifies a main interface number. The
subnumber
argument specifies a subinterface number in the range of 1 to 4094.