system snmp traphost delete
Contributors
Suggest changes
Delete a traphost
Availability: This command is available to cluster administrators at the admin privilege level.
Description
Deletes the SNMP manager, who receives the SNMP trap PDUs. The SNMP manager can be a hostname or IP address. There is no limit on the number of traphosts supported.
Parameters
-peer-address <Remote InetAddress>
- Remote IP Address-
Specifies the IP address or hostname of the traphost. If the USM user is associated, then specify the USM user to delete the traphost.
[-usm-username <text>]
- USM User Name-
Specifies the USM user associated with traphost.
Examples
In the following example, the command deletes the SNMPv3 traphost 'yyy.example.com' associated with the USM user: +
cluster1::> system snmp traphost delete -peer-address yyy.example.com -usm-username MyUsmUser
In the following example, the command deletes the SNMP v1/v2c traphost 'xxx.example.com' associated with a community string: +
cluster1::> system snmp traphost delete -peer-address xxx.example.com