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 |
Specify the community name to send traps. |
type TRAP_TYPE_V1_TRAP|TRAP_TYPE_V2C_TRAP|TRAP_TYPE_V2_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. The default port is 162. |
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