Hi,

Interface ids are used by the router to uniquely identify its interfaces. 
Human-readable names (e.g., port7) can be associated to these ids. 

You can get id-to-name associations from the CLI of your router of via SNMP for 
example.

Via SNMP you can walk the IF-MIB as follow:

[simone@develv5 ntopng]$ snmpwalk -v2c -c XXXXX 192.168.2.1 ifName
IF-MIB::ifName.1 = STRING: lo
IF-MIB::ifName.2 = STRING: eth0
IF-MIB::ifName.3 = STRING: eth1
IF-MIB::ifName.4 = STRING: eth2
IF-MIB::ifName.5 = STRING: imq0


Response is

IF-MIB::ifName.<ID> = STRING: <NAME>


Simone


> On 8 Oct 2018, at 10:43, Mark Hemsley <[email protected]> wrote:
> 
> I have enabled network interface disaggregation using ‘interface’ and I can 
> now see 8 new interfaces e.g. (tcp://*:5556c <tcp://*:5556c> [If Idx: 9]), 
> (tcp://*:5556c <tcp://*:5556c> [If Idx: 10]) etc
>  
> I’d like to change the custom name to something more readable, e.g, 
> rtr01-port7, is there a way to understand what e.g. ldx:9 relates to in 
> relation to the real router interfaces so I can rename appropriately?
>  
> Cheers
>  
> Mark
> Mark Hemsley​  ‑      Senior Network Engineer
> [email protected] <mailto:[email protected]>
> +441252936021 <tel:+441252936021>      /      +44 7780 000 196 
> <tel:+44%207780%20000%20196>
> www.ukcloud.com <http://www.ukcloud.com/>
> <image203050.png> <http://www.ukcloud.com/>
> A8, Cody Technology Park, Ively Road  ,       Farnborough     ,       GU14 0LX
> <image327959.png> <https://twitter.com/ukcloudltd>    
> <image912801.png> <https://www.linkedin.com/company/ukcloud-ltd>      
> <image892097.png> <https://www.youtube.com/channel/UCnlFUyOWcS4iE_HK-ZEcNGw>  
> <image522932.png> <https://plus.google.com/+UKCloudltd>
> <image033881.jpg> <https://ukcloud.com/>
> Notice: This message contains information that may be privileged or 
> confidential and is the property of UKCloud Ltd. It is intended only for the 
> person to whom it is addressed. If you are not the intended recipient, you 
> are not authorised to read, print, retain, copy, disseminate, distribute, or 
> use this message or any part thereof. If you receive this message in error, 
> please notify the sender immediately and delete all copies of this message. 
> UKCloud reserves the right to monitor all e-mail communications through its 
> networks. UKCloud Ltd is registered in England and Wales: Company No: 
> 07619797. Registered office: Hartham Park, Hartham, Corsham, Wiltshire SN13 
> 0RP.
> _______________________________________________
> Ntop mailing list
> [email protected] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop 
> <http://listgateway.unipi.it/mailman/listinfo/ntop>
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to