ifName
Module: ACC-FAKE
OID (symbolic): ACC-FAKE::ifName
OID (numeric): 1.3.6.1.4.1.5.2.26
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-only
Description:
The textual name of the interface. The value of this object should be the name of the interface as assigned by the local device and should be suitable for use in commands entered at the device's `console'. This might be a text name, such as `le0' or a simple port number, such as `1', depending on the interface naming syntax of the device. If several entries in the ifTable together represent a single interface as named by the device, then each will have the same value of ifName. If there is no local name, or this object is otherwise not applicable, then this object contains a 0-length string.
What is ifName?
This OID stores a human-readable text name for a network interface on the device, such as 'eth0' or 'GigabitEthernet0/1'. Administrators use this to identify which physical or logical interface is being monitored or configured in reports and alerts. For example, a value of 'ge-0/0/0.0' tells you the interface is a Gigabit Ethernet port on a specific card and sub-interface.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.2.26 snmpwalk -v2c -c public <target> ACC-FAKE::ifName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5.2.26.1 snmpget -v2c -c public <target> ACC-FAKE::ifName.1