snmp-v3-trap-sink-create

This command is used to specify a SNMPv3 trap receiver for SNMP traps.

Syntax   snmp-trap-sink-create user-name user-name-string trap TRAP_TYPE_V3_TRAP|TRAP_TYPE_V3_INFORM] dest-host dest-host-string dest-port dest-port-number

user-name user-name-string

Specify the user name to send traps.

type TRAP_TYPE_V3_TRAP|
TRAP_TYPE_V3_INFORM

Specify the type of SNMP trap.

dest-host dest-host-string

Specify the destination host.

dest-port dest-port-number

Specify the destination port.

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.4

The options, TRAP_TYPE_V1_TRAP|TRAP_TYPE_V2C_TRAP|TRAP_TYPE_V2_INFORM deprecated.

Version 2.4.1

The parameters, engine-id, auth-password, auth|no-auth, priv-password, and priv|no-priv deprecated.

Usage   Use this command to send SNMPv3 traps to a receiver.

Examples  To send TRAP_TYPE_V3_TRAP, from community string, snmp-group, to the destination, trap-recvr, on port 43, use the following command:

CLI network-admin@switch > snmp-v3-trap-sink-create snmp-group dest-host snmp-recvr dest-port 43

See Also