3. Select a Trap Managers Table entry.
4. Check the Remove check box.
5. Click Apply Changes. The trap manager is deleted, and the device is updated.
Configuring Traps Using CLI Commands
The following table summarizes the equivalent CLI commands for viewing fields displayed in the SNMP Trap Settings page.
CLI Command
snmp-server enable traps
snmp-server trap authentication
snmp-server host host-addr community-string [1 | 2] Determines the trap type sent to the selected recipient.
show snmp
The following is an example of the CLI commands:
Console (config)# snmp-server enable traps
Console (config)# snmp-server trap authentication
Console (config)# snmp-server host 10.1.1.1 trapRec 2
Console (config)# exit
Console# show snmp
Community-String Community-Access IP address
---------------- ---------------- -----------
public read only All
private read write 172.16.1.1
private read write 172.17.1.1
Traps are enabled.
Authentication trap is enabled.
Trap-Rec-Address Trap-Rec-Community Version
Description
Enables the switch to send SNMP traps or SNMP notifications.
Enables the switch to send SNMP traps when authentication failed.
Displays the SNMP communications status.