92
Step Command Remarks
securityname security-string { v2c |
v3 [ authentication | privacy ] }
In FIPS mode:
snmp-agent target-host inform
address udp-domain { target-host |
ipv6 target-host } [ udp-port
port-number ] [ vpn-instance
vpn-instance-name ] params
securityname security-string v3
{ authentication | privacy }
3. (Optional.) Configure a
source address for
notifications.
snmp-agent
{
inform
|
trap
}
source
interface-type interface-number
By default, SNMP uses the IP
address of the outgoing routed
interface as the source IP
address.
4. (Optional.) Enable
extended
linkUp/linkDown
notifications.
snmp-agent
trap
if-mib
link
extended
By default, the SNMP agent
sends standard linkup/linkDown
notifications.
5. (Optional.) Configure
the notification queue
size.
snmp-agent
trap
queue-size
size
By default, the notification queue
can hold 100 notification
messages.
6. (Optional.) Configure
the notification lifetime.
snmp-agent trap life
seconds
The default notification lifetime is
120 seconds.
7. (Optional.) Configure
the interval for sending
periodic notifications.
snmp-agent trap periodical-interval
interval-time
The default is 60 seconds.
Displaying the SNMP settings
Execute display commands in any view. The display snmp-agent community command is
supported only in non-FIPS mode.
Task Command
Display SNMP agent system information, including
the contact, physical location, and SNMP version.
display snmp-agent sys-info
[
contact
|
location
|
version
] *
Display SNMP agent statistics.
display snmp-agent statistics
Display the local engine ID.
display snmp-agent local-engineid
Display SNMP group information.
display snmp-agent group
[ group-name ]
Display remote engine IDs.
display
snmp-agent
remote
[ ip-address
[
vpn-instance
vpn-instance-name ] |
ipv6
ipv6-address [
vpn-instance
vpn-instance-name ] ]
Display basic information about the notification
queue.
display
snmp-agent
trap
queue
Display the modules that can generate notifications
and their notification status (enable or disable).
display
snmp-agent
trap-list
Display SNMPv3 user information.
display
snmp-agent
usm-user
[
engineid
engineid
|
username
user-name |
group
group-name ] *
Display SNMPv1 or SNMPv2c community
information. (This command is not supported in FIPS
mode.)
display snmp-agent community
[
read
|
write
]