Specifications

25-6
Catalyst 2970 Switch Software Configuration Guide
78-15462-03
Chapter 25 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 the Gigabit Ethernet interface 0/5 an ifIndex value of 10003, this value is the same after the
switch reboots.
The switch uses one of the values in Table 25-3 to assign an ifIndex value to an interface:
Note The switch might not use sequential values within a range.
Configuring SNMP
This section describes how to configure SNMP on your switch. It contains this configuration
information:
Default SNMP Configuration, page 25-7
SNMP Configuration Guidelines, page 25-7
Disabling the SNMP Agent, page 25-8
Configuring Community Strings, page 25-8
Configuring SNMP Groups and Users, page 25-9
Configuring SNMP Notifications, page 25-11
Setting the Agent Contact and Location Information, page 25-14
Limiting TFTP Servers Used Through SNMP, page 25-15
SNMP Examples, page 25-15
Table 25-3 ifIndex Values
Interface Type ifIndex Range
SVI
1
1. SVI = switch virtual interface
1–4999
EtherChannel 5000–5012
Loopback 5013–5077
Tunnel 5078–5142
Physical (such as Gigabit Ethernet or SFP
2
-module interfaces)
2. SFP = small form-factor pluggable
10000–14500
Null 14501