5 snmp-server trap authentication, 6 snmp-server host, Syntax – PLANET WGSD-1022 User Manual

Page 262: Default configuration, Command mode, User guidelines, Examples

Advertising
background image

5.20.5 snmp-server trap authentication

The snmp-server trap authentication global configuration command enables the switch to send Simple

Network Management Protocol traps when authentication fails. To disable SNMP authentication failed

traps, use the no form of this command.

Syntax

snmp-server trap authentication

no snmp-server trap authentication

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example displays the command to enable authentication failed SNMP traps.

Console (config)# snmp-server trap authentication

Console (config)# snmp-server host 10.1.1.1 management 2

5.20.6 snmp-server host

The snmp-server host global configuration command specifies the recipient of Simple Network

Management Protocol notification operation. To remove the specified host, use the no form of this

command.

Syntax

snmp-server host host-addr community-string [1 | 2]

no snmp-server host host-addr

ƒ host-address — Internet address of the host (the targeted recipient). An out-of-band IP address

can be specified as described in the User Guidelines.

ƒ community-string — Password-like community string sent with the notification operation. (R ange:

1 - 20 characters)

ƒ 1 — SNMPv1 traps is used.

ƒ 2 — SNMPv2 traps is used (Default).

Advertising