103
Step
Command
Remarks
2.
Configure a target host.
•
(Method 1) Send traps to the target
host:
In non-FIPS mode:
snmp-agent
target-host
trap
address
udp-domain
{
ip-address
|
ipv6
ipv6-address
} [
udp-port
port-number
] [
vpn-instance
vpn-instance-name
]
params
securityname
security-string
[
v1
|
v2c
|
v3
[
authentication
|
privacy
] ]
In FIPS mode:
snmp-agent
target-host
trap
address
udp-domain
{
ip-address
|
ipv6
ipv6-address
} [
udp-port
port-number
] [
vpn-instance
vpn-instance-name
]
params
securityname
security-string
v3
{
authentication
|
privacy
}
•
(Method 2) Send informs to the target
host:
In non-FIPS mode:
snmp-agent
target-host
inform
address
udp-domain
{
ip-address
|
ipv6
ipv6-address
} [
udp-port
port-number
] [
vpn-instance
vpn-instance-name
]
params
securityname
security-string
{
v2c
|
v3
[
authentication
|
privacy
] }
In FIPS mode:
snmp-agent
target-host
inform
address
udp-domain
{
ip-address
|
ipv6
ipv6-address
} [
udp-port
port-number
] [
vpn-instance
vpn-instance-name
]
params
securityname
security-string
v3
{
authentication
|
privacy
}
Use either method.
By default, no target host is
configured.
3.
(Optional.) Configure a
source address for
notifications.
snmp-agent
{
inform
|
trap
}
source
interface-type
{
interface-number
|
interface-number.subnumber
}
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.
Summary of Contents for 5920
Page 86: ...76 XGE1 0 2 N A P2P Two 0 ...