30-6
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
OL-26520-01
Chapter 30 Configuring SNMP
Configuring SNMP
SNMP ifIndex MIB Object Values
In an NMS, the IF-MIB generates and assigns an interface index (ifIndex) object value that is a unique
number greater than zero to identify a physical or a logical interface. When the switch reboots or the
switch software is upgraded, the switch uses this same value for the interface. For example, if the switch
assigns a port 2 an ifIndex value of 10003, this value is the same after the switch reboots.
The switch uses one of the values in Table 30-3 to assign an ifIndex value to an interface:
Note The switch might not use sequential values within a range.
Configuring SNMP
• Default SNMP Configuration, page 30-7
• SNMP Configuration Guidelines, page 30-7
• Disabling the SNMP Agent, page 30-8
• Configuring Community Strings, page 30-8
• Configuring SNMP Groups and Users, page 30-10
• Configuring SNMP Notifications, page 30-13
• Setting the CPU Threshold Notification Types and Values, page 30-16
• Setting the Agent Contact and Location Information, page 30-17
• Limiting TFTP Servers Used Through SNMP, page 30-17
• SNMP Examples, page 30-18
Table 30-3 ifIndex Values
Interface Type ifIndex Range
SVI
1
1. SVI = switch virtual interface
1–4999
EtherChannel 5001–5048
Physical (such as Gigabit Ethernet or SFP
2
-module interfaces) based
on type and port numbers
2. SFP = small form-factor pluggable
10000–14500
Null 10501 (nonstackable switches)
14501 (stackable switches)
Loopback and Tunnel 24567 +