Display ifAlias not ifDescr in webUI

Is it possible to change the WebUI to display Ports using their ifAlias ot ifName instead of ifDescr?

The reason is that Avaya ERS switches ifDescr is really long, and I would prefer to be able to set the name in the switch, (this changes ifAlias), and have this display.

Here is an example:

I want to just display the highlighted info as the port name.

At the moment this is what I get on the Overview page of every ERS switch:

Which is not great.

I’ve searched the Docs and this forum and I cannot find anything about this.

Thanks

If this is something that should be globally set then add this to the yaml file:

ifname: 1

Otherwise for your install only then in config.php: $config['os']['avaya-ers']['ifname'] = true;

1 Like

I think it would be better in every case, but will try on my install first.

Thanks,

Yep, this is better:

You get the same info as ifDescr, but it’s much easier to read.

I’ll submit a PR.

Hi,

Just related to this, I would like to set the ifDesc instead of the actual interface. Similar to to:

$config[‘force_ip_to_sysname’] = true;

but rather than the interface I would like the description to be displayed, how can I go about this?

Thanks