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
Interface Type
SVI
EtherChannel
Physical (such as Gigabit Ethernet or SFP
on type and port numbers
Null
Loopback and Tunnel
1. SVI = switch virtual interface
2. SFP = small form-factor pluggable
The switch might not use sequential values within a range.
Note
Configuring SNMP
•
•
•
•
•
•
•
•
•
•
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
30-6
ifIndex Values
1
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
to assign an ifIndex value to an interface:
2
-module interfaces) based
Chapter 30
Configuring SNMP
ifIndex Range
1–4999
5001–5048
10000–14500
10501 (nonstackable switches)
14501 (stackable switches)
24567 +
OL-26520-01