132
Step
Command
Remarks
6.
(Optional.) Set the
notification lifetime.
snmp-agent trap life
seconds
The default notification
lifetime is 120 seconds.
Displaying the SNMP settings
Execute
display
commands in any view.
Task
Command
Display SNMP agent system information.
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
{
ipv4-address
|
ipv6
ipv6-address
}
Display basic information about the notification
queue.
display
snmp-agent
trap
queue
Display the modules that can generate notifications
and their notification enabling status.
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
]
Display MIB view information.
display snmp-agent mib-view
[
exclude
|
include
|
viewname
view-name
]
Display SNMP MIB node information.
display snmp-agent mib-node
[
details
|
index-node
|
trap-node
|
verbose
]
Display SNMP contexts.
display
snmp-agent context
[
context-name
]
SNMPv1/SNMPv2c configuration example
The SNMPv1 configuration procedure is the same as the SNMPv2c configuration procedure. This
example uses SNMPv1, and is not available in FIPS mode.
Network requirements
, the NMS (1.1.1.2/24) uses SNMPv1 to manage the SNMP agent (1.1.1.1/24),
and the agent automatically sends notifications to report events to the NMS.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...