Network Management

Change interface description length in NPM database

By default, Cisco MIBs for IfAlias store only 64 characters. You can run a command to allow you to store up to 256 characters.

First published date

10/22/2018 8:11 PM

Last published date

12/21/2022 5:21 PM

Overview

This article explains how to change the number of characters allowed in Cisco MIBs from 64 to 256 characters.

Product section

Network Performance Monitor

Resolution

In the database, the default description field value is defined in InterfaceAlias field, type nvarchar(100). 

However, Cisco MIBs for IfAlias by default store only 64 characters. However, it allows you to put 256-character long descriptions on the interfaces. By default, they will not report it via SNMP.

Use the following command:
“snmp ifmib ifalias long”,
The device now stores up to 256 characters in the MIB.