C613-50170-01 Rev B
Command Reference for x510 Series
2597
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
SNMP C
OMMANDS
SNMP
-
SERVER
HOST
snmp-server host
Overview
This command specifies an SNMP trap host destination to which Trap or Inform
messages generated by the device are sent.
For SNMP version 1 and 2c you must specify the community name parameter. For
SNMP version 3, specify the authentication/encryption parameters and the user
name. If the version is not specified, the default is SNMP version 1. Inform
messages can be sent instead of traps for SNMP version 2c and 3.
Use the
no
variant of this command to remove an SNMP trap host. The trap host
must already exist.
The trap host is uniquely identified by:
•
host IP address (IPv4 or IPv6),
•
inform or trap messages,
•
community name (SNMPv1 or SNMP v2c) or the authentication/encryption
parameters and user name (SNMP v3).
Syntax
snmp-server host {<
ipv4-address>|<ipv6-address
>} [traps]
[version 1] <
community-name
>]
snmp-server host {<
ipv4-address>|<ipv6-address
>}
[informs|traps] version 2c <
community-name
>
snmp-server host {<
ipv4-address>|<ipv6-address
>}
[informs|traps] version 3 {auth|noauth|priv} <
user-name
>
no snmp-server host {<
ipv4-address>|<ipv6-address
>} [traps]
[version 1] <
community-name
>
no snmp-server host {<
ipv4-address>|<ipv6-address
>}
[informs|traps] version 2c <
community-name
>
no snmp-server host {<
ipv4-address>|<ipv6-address
>}
[informs|traps] version 3 {auth|noauth|priv} <
user-name
>
Parameter
Description
<
ipv4-address>
IPv4 trap host address in the format A
.B.C.D
, for example,
192.0.2.2
.
<ipv6-address
>
IPv6 trap host address in the format
x:x::x:x
for example,
2001:db8::8a2e:7334
.
informs
Send Inform messages to this host.
traps
Send Trap messages to this host (default).
version
SNMP version to use for notification messages. Default:
version 1.
1
Use SNMPv1(default).
2c
Use SNMPv2c.
3
Use SNMPv3.