snmp-trap-sink-delete
This command is used to delete a SNMPv1 trap receiver for SNMP traps.
Syntax snmp-trap-sink-delete
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. |
Usage Use this command to delete an SNMP receiver.
Examples To delete community string, snmp-group, and the destination, trap-recvr, on port 43, use the following command:
CLI (network-admin@switch) > snmp-trap-sink-delete community snmp-group dest-host snmp-recvr dest-port 43