209
snmp-agent
target-host
inform
address
udp-domain
{
ipv4-address
|
ipv6
ipv6-address
}
[
udp-port
port-number
] [
vpn-instance
vpn-instance-name
]
params
securityname
security-string
{
v2c
|
v3
[
authentication
|
privacy
] }
snmp-agent
target-host
trap
address
udp-domain
{
ipv4-address
|
ipv6
ipv6-address
} [
udp-port
port-number
] [
vpn-instance
vpn-instance-name
]
params
securityname
security-string
[
v1
|
v2c
|
v3
[
authentication
|
privacy
] ]
undo
snmp-agent
target-host
{
trap
|
inform
}
address
udp-domain
{
ipv4-address
|
ipv6
ipv6-address
}
params
securityname
security-string
[
vpn-instance
vpn-instance-name
]
In FIPS mode:
snmp-agent
target-host
inform
address
udp-domain
{
ipv4-address
|
ipv6
ipv6-address
}
[
udp-port
port-number
] [
vpn-instance
vpn-instance-name
]
params
securityname
security-string
v3
{
authentication
|
privacy
}
snmp-agent
target-host
trap
address
udp-domain
{
ipv4-address
|
ipv6
ipv6-address
} [
udp-port
port-number
] [
vpn-instance
vpn-instance-name
]
params
securityname
security-string
v3
{
authentication
|
privacy
}
undo
snmp-agent
target-host
{
trap
|
inform
}
address
udp-domain
{
ipv4-address
|
ipv6
ipv6-address
}
params
securityname
security-string
[
vpn-instance
vpn-instance-name
]
Default
No SNMP notification target hosts exist.
Views
System view
Predefined user roles
network-admin
Parameters
inform
: Sends notifications as informs.
trap
: Sends notifications as traps.
address
: Specifies the destination address of SNMP notifications.
udp-domain
: Specifies UDP as the transport protocol.
ipv4-address
: Specifies a target host by its IPv4 address or host name. The host name is a
case-insensitive string of 1 to 253 characters. The string can only contain letters, numbers, hyphens
(-), underscores (_), and dots (.). If you specify a host name, the IPv4 address of the target host can
be obtained.
ipv6
ipv6-address
: Specifies a target host by its IPv6 address or host name. The host name is a
case-insensitive string of 1 to 253 characters, which only contains letters, numbers, hyphens (-),
underscores (_), and dots (.). If you specify a host name, the IPv6 address of the target host can be
obtained. If you specify an IPv6 address, the address cannot be a link local address.