6-50
Catalyst 2900 Series XL and Catalyst 3500 SeriesXL Software Configuration Guide
78-6511-08
Chapter 6 Configuring the System
Configuring SNMP
Catalyst 1900 and Catalyst 2820 switches support up to four trap managers. When you configure
community strings for these switches, limit the string length to 32 characters. When configuring traps
on these switches, you cannot configure individual trap managers to receive specific traps.
Table 6-5 describes the Catalyst 1900 and Catalyst 2820 SNMP traps. You can enable any or all of these
traps, but these traps are received by all configured trap managers.
Beginning in privileged EXEC mode, follow these steps to add a trap manager and a community string:
Table 6-5 Catalyst 1900 and Catalyst 2820 SNMP Traps
Trap Type Description
Address-violation Generates a trap when the address violation threshold is exceeded.
Authentication Generates a trap when an SNMP request is not accompanied by a valid community
string.
BSC Generates a trap when the broadcast threshold is exceeded.
Link-up-down Generates a link-down trap when a port is suspended or disabled for any of these
reasons:
• Secure address violation (address mismatch or duplication)
• Network connection error (loss of linkbeat or jabber error)
• User disabling the port
Generates a link-up trap when a port is enabled for any of these reasons:
• Presence of linkbeat
• Management intervention
• Recovery from an address violation or any other error
• STP action
VTP Generates a trap when VTP changes occur.
Command Purpose
Step 1
config terminal Enter global configuration mode.
Step 2
snmp-server host 172.2.128.263
community-string snmp
vlan-membership
Enter the trap manager IP address, the community string, and the traps to
generate.
Step 3
end Return to privileged EXEC mode.
Step 4
show running-config Verify that the information was entered correctly by displaying the running
configuration.