ifAlias
Module: ITF-MIB
OID (symbolic): ITF-MIB::ifAlias
OID (numeric): 1.3.6.1.2.1.31.1.1.1.18
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: This object is an 'alias' name for the interface as specified by a network manager, and provides a non- volatile 'handle' for the interface.
On the first instantiation of an interface, the value of ifAlias associated with that interface is the zero-length string. As and when a value is written into an instance of ifAlias through a network management set operation, then the agent must retain the supplied value in the ifAlias instance associated with the same interface for as long as that interface remains instantiated, including across all re- initializations/reboots of the network management system, including those which result in a change of the interface's ifIndex value.
An example of the value which a network manager might store in this object for a WAN interface is the (Telco's) circuit number/identifier of the interface.
Some agents may support write-access only for interfaces having particular values of ifType. An agent which supports write access to this object is required to keep the value in non-volatile storage, but it may limit the length of new values depending on how much storage is already occupied by the current values for other interfaces.
What is ifAlias?
Holds a network-manager-assigned alias name for the interface, providing a persistent, human-chosen handle that survives reboots and even changes to the interface's ifIndex. On first instantiation of an interface, the value starts as a zero-length string until an admin writes one via SNMP SET. An admin might set this to a WAN circuit's Telco circuit ID, so the interface remains identifiable by that reference even after a device reload changes its ifIndex.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.31.1.1.1.18 snmpwalk -v2c -c public <target> ITF-MIB::ifAlias
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.31.1.1.1.18.1 snmpget -v2c -c public <target> ITF-MIB::ifAlias.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.31.1.1.1.18.1 s <value>
Start monitoring Nokia/Alcatel-Lucent ISAM broadband access node (e.g. 7302/7330 ISAM), Interfaces MIB with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ITF-MIB::ifAlias OID value, configure state conditions and alerts, and monitor any Nokia/Alcatel-Lucent ISAM broadband access node (e.g. 7302/7330 ISAM), Interfaces MIB from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.31 | ifMIB | IF-MIB |
| 1.3.6.1.2.1.31.1 | ifMIBObjects | IF-MIB |
| 1.3.6.1.2.1.31.1.1 | ifXTable | IF-MIB |
| 1.3.6.1.2.1.31.1.1.1 | ifXEntry | IF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.31.1.1.1.18 | ifAlias | ITF-MIB |