Configuring SNMP
To remove the specified host from receiving traps, use the no snmp-server host host global
configuration command. The no snmp-server host command with no keywords disables traps, but not
informs, to the host. To disable informs, use the no snmp-server host informs global configuration
command. To disable a specific trap type, use the no snmp-server enable traps notification-types global
configuration command.
Configuring SNMP Trap Notification Priority
You can prioritize outgoing SNMP trap notifications to move them more efficiently through the network,
even during periods of congestion. The switch has these prioritization options for SNMP packets:
•
•
These markers specify the preference that SNMP packets should receive as they move through the
network. You can set up to 8 different IP precedence markings or 64 different IP DSCP markings. The
default IP precedence and DSCP marker, 0, forwards SNMP packets as normal traffic. The highest
marker values, 7 for IP precedence and 63 for DSCP, are generally reserved for network control traffic.
Choose a marker value that corresponds to the importance of SNMP notifications in your network. For
example, set the IP precedence to 6 to assign a very high priority to outgoing SNMP notifications.
DSCP is partially backward-compatible with IP precedence. To choose DSCP values that work like IP
precedence values, use these values: 0, 8, 16, 24, 32, 40, 48, and 56. Although DSCP has 64 possible
values, the network could disregard the least significant bits or treat blocks of values the same.
Beginning in privileged EXEC mode, follow these steps to configure the switch to prioritize outgoing
SNMP trap notifications:
Command
Step 1
configure terminal
Step 2
snmp-server ip {precedence precedence-value |
dscp dscp-value}
Step 3
end
Step 4
show running-config
Step 5
copy running-config startup-config
To specify the host that should receive SNMP traps, use the snmp-server host global configuration
command. To enable specific trap types, use the snmp-server enable traps global configuration
command.
Catalyst 3550 Multilayer Switch Software Configuration Guide
27-14
IP precedence marker
Differential Services Code Point (DSCP) marker
Purpose
Enter global configuration mode.
Specify the IP precedence or DSCP marker value for SNMP
notifications.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 27
Configuring SNMP
78-11194-09