R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
13
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname
public
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] enable snmp trap updown
Related commands
• snmp-agent target-host
• snmp-agent trap enable
snmp-agent
Use snmp-agent to enable the SNMP agent.
Use undo snmp-agent to disable the SNMP agent.
Syntax
snmp-agent
undo snmp-agent
Default
The SNMP agent is disabled.
Views
System view
Default command level
3: Manage level
Usage guidelines
The snmp-agent command is optional for an SNMP configuration task. The SNMP agent is automatically
enabled when you perform any command that begins with snmp-agent except for the snmp-agent
calculate-password command.
Examples
# Enable the SNMP agent.
<Sysname> system-view
[Sysname] snmp-agent
snmp-agent calculate-password
Use snmp-agent calculate-password to convert a plaintext key to an encrypted key for authentication or
encryption in SNMPv3.
Syntax
In non-FIPS mode:
snmp-agent calculate-password plain-password mode { 3desmd5 | 3dessha | md5 | sha }
{ local-engineid | specified-engineid engineid }
In FIPS mode:
snmp-agent calculate-password plain-password mode sha { local-engineid | specified-engineid
engineid }










