beautypg.com

Snmp-server host, Snmp-server host 4 – Allied Telesis AT-8100 Series User Manual

Page 1174

background image

Chapter 74: SNMPv1 and SNMPv2c Commands

1174

SNMP-SERVER HOST

Syntax

snmp-server host

ipaddress

traps|informs version 1|2c

community

Parameters

ipaddress

Specifies the IPv4 or IPv6 address of a network device to receive
trap or inform messages from the switch.

traps|informs

Specifies the type of messages.

1|2c

Specifies the format of the traps sent by the switch. For trap
messages, the format can be SNMPv1 (1) or SNMPv2c (2c). For
inform messages, the format must be SNMPv2c (2c).

community

Specifies an SNMP community string. This parameter is case
sensitive.

Mode

Global Configuration mode

Description

Use this command to specify IP addresses of network devices to receive
trap and inform messages from the switch. A community string can have
up to eight IP addresses of trap and inform receivers.

SNMP must be enabled on the switch for you to add trap and inform
receivers to community strings. To enable SNMP, refer to “SHOW SNMP-
SERVER VIEW” on page 1169

Confirmation Command

“SHOW RUNNING-CONFIG SNMP” on page 1165