2-524
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set snmp
set snmp
To enable or disable the processing of SNMP requests to the switch and SNMP traps from the switch,
use the set snmp command.
set snmp {enable | disable}
Syntax Description
Defaults By default, SNMP processing is enabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines When SNMP processing is enabled, the switch processes SNMP inquiries and sends out SMNP traps if
there are no conflicts with other SNMP configurations. When SNMP processing is disab led, the switch
ignores SNMP requests and no SNMP traps are sent out regardless of other SNMP configurations.
Whether SNMP processing is enabled or disabled, you can change other SNMP configurations, and
RMON-related processes are not affected.
The SNMP ifIndex persistence feature is always enabled. With the ifIndex persistence feature, the
ifIndex value of the port and VLAN is always retained and used after the following occurrences:
Switch reboot
High-availability switchover
Software upgrade
Module reset
Module removal and insertion of the same type of module
For Fast EtherChannel and Gigabit EtherChannel interfaces, the ifIndex value is only retained and used
after a high-availability switchover.
Examples This example shows how to disable SNMP processing:
Console> (enable) set snmp disable
SNMP disabled
Console> (enable)
Related Commands show snmp
enable Enables SNMP processing.
disable Disables SNMP processing.