snmp-trap-sink-show

This command is used to display infomation about a SNMPv1 trap receiver for SNMP traps.

Syntax   snmp-trap-sink-show community community-string type TRAP_TYPE_V1_TRAP|TRAP_TYPE_V2C_TRAP|TRAP_TYPE_V2_INFORM] dest-host dest-host-string dest-port dest-port-number

community community-string

Specifies the community name to send traps.

type TRAP_TYPE_V1_TRAP|
TRAP_TYPE_V2C_TRAP|
TRAP_TYPE_V2_INFORM

Specifies the type of SNMP trap.

dest-host dest-host-string

Specifies the destination host.

dest-port dest-port-number

Specifies the destination port. The default port is 162.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.4

The options, TRAP_TYPE_V3_TRAP|TRAP_TYPE_V3_INFORM deprecated.

Usage   Use this command to display information about an SNMP receiver.

Examples  To modify the destination port to 53 for community string, snmp-group, and the destination host, trap-recvr,, use the following command:

CLI network-admin@switch > snmp-trap-sink-show community snmp-group

See Also