beautypg.com

Snmp-server trap authentication – Allied Telesis AT-S95 CLI User Manual

Page 212

background image

Page 200

Not approved by Document Control. For review only.

Allied Telesis

Command Line Interface User’s Guide

Parameters

ip-address—Specifies the IP address of the host (targeted recipient).

hostname—Specifies the name of the host. (Range:1-158 characters)

username—Specifies the name of the user to use to generate the notification. (Range: 1-24)

traps—Indicates that SNMP traps are sent to this host.

informs—Indicates that SNMP informs are sent to this host.

noauth—Indicates no authentication of a packet.

auth—Indicates authentication of a packet without encrypting it.

priv—Indicates authentication of a packet with encryption.

port—Specifies the UDP port of the host to use. If unspecified, the default UDP port number is 162.

(Range: 1-65535)

filtername—Specifies a string that defines the filter for this host. If unspecified, nothing is filtered.

(Range: 1-30 characters)

seconds—Specifies the number of seconds to wait for an acknowledgment before resending informs. If

unspecified, the default timeout period is 15 seconds. (Range: 1-300)

retries—Specifies the maximum number of times to resend an inform request. If unspecified, the default

maximum number of retries is 3. (Range: 0-255)

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration mode

User Guidelines

A user and notification view are not automatically created. Use the snmp-server user, snmp-server group and
snmp-server view Global Configuration mode commands to generate a user, group and notify group,
respectively.

Example

The following example configures an SNMPv3 host.

snmp-server trap authentication

The snmp-server trap authentication Global Configuration mode command enables the device to send SNMP
traps when authentication fails. Use the no form of this command to disable SNMP failed authentication traps.

Syntax

snmp-server trap authentication

no snmp-server trap authentication

Default Configuration

SNMP failed authentication traps are enabled.

Console(config)# snmp-server v3-host 192.168.0.20 john noauth