beautypg.com

Snmp-server host – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1804

background image

SNMP Commands

Software Reference for x310 Series Switches

68.22

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

snmp-server host

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 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.

auth

Authentication.

noauth

No authentication.