beautypg.com

11 snmp-server trap target-address, 12 snmp-server usm-user – CANOGA PERKINS 9175 Command Reference User Manual

Page 763

background image

CanogaOS Command Reference

44-8

44.11 snmp-server trap target-address

To specify the recipient of a Simple Network Management Protocol (SNMP) notification message, use

the snmp-server trap target-address command in global configuration mode. To remove the specified

host from the configuration, use the no form of this command.


Command Syntax

snmp-server trap target-address ip-address community string [udpport number]

no snmp-server trap target-address ip-address community string [udpport port]

ip-address

IP address.

community string

Password-like community string sent with the notification operation.

udpport port

(Optional) Specifies that SNMP notifications or informs are to be sent to an

SNMP manager. The default port is 162.


Default

The router does not send any trap messages.


Command Mode

Global configuration


Usage


Examples

The following is sample output from the snmp-server trap target-address command:

Switch(config)# snmp-server trap enable all


Related Commands

snmp-server trap enable

44.12 snmp-server usm-user

To specify the recipient of a Simple Network Management Protocol (SNMP) notification message, use

the snmp-server trap target-address command in global configuration mode. To remove the specified

host from the configuration, use the no form of this command.


Command Syntax

snmp-server usm-user username [remote engine-id] [authentication {md5 | sha} auth-passsword

[privacy aes | des privpassword]]

no snmp-server usm-user username

username

Name of the user on the host that connects to the agent.

remote engine-id

(Optional) Specifies a remote SNMP entity to which the user belongs.

authentication

(Optional) Specifies which authentication level should be used.