How is the interface name fetched by OpManager?

During Interface Discovery, OpManager queries the ifName (.1.3.6.1.2.1.31.1.1.1.1), ifDescr (.1.3.6.1.2.1.2.2.1.2) and ifAlias (.1.3.6.1.2.1.31.1.1.1.18) OIDs and constructs the Interface DisplayName as mentioned in the table below.

IfDescriptionIfAliasIfNameInterface Display Name
Not nullNot null- (Any value)IFDescription-IfAlias
Not nullNullNot nullIFDescription-IfName
Not nullNullNullIFDescription
NullNot nullNot nullifName-ifAlias
NullNullNot nullIfName
NullNullNull-

p.s: The priority is from Top to Bottom.

Example 1:

ifDescription - Software Loopback Interface 1
ifAlias - Loopback Pseudo-Interface 1
ifName - loopback_1

Interface Display name: Software Loopback Interface 1-Loopback Pseudo-Interface 1

Example 2:

ifDescription - Software Loopback Interface 1
ifAlias - NULL (or) EMPTY
ifName - loopback_1

Interface Display name: Software Loopback Interface 1-loopback_1

Example 3:

ifDescription - NULL (or) EMPTY
ifAlias - Loopback Pseudo-Interface 1
ifName - loopback_1

Interface Display name: loopback_1-Loopback Pseudo-Interface 1

Interface name fetched by OpManager: Display name in device snapshot page