beautypg.com

5 snmp-server trap authentication, 6 snmp-server host, Examples – Planet Technology WGSW-48040 User Manual

Page 280: Syntax, Default configuration, Command mode, User guidelines

background image

User’s Manual of WGSW-24020/WGSW-48040

-28

Examples

The following example displays the command to enable SNMP traps.

Console (config)# snmp-server enable traps

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.

This manual is related to the following products: