Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

Interface Name for Network Interface - ifindex

Hi,

I am setting up Netflow Monitor to monitor traffic levels on our bunch of XGS Firewalls and unfortunately Netflow reports the discovered interfaces as ifindex(x).

What i am trying to find out is the easiest way i can identify what port is being referenced for say, ifindex10.

Any help much appreciated.

Cheers.



Added TAGs
[edited by: Erick Jan at 2:42 AM (GMT -7) on 24 Jun 2024]
  • Hi,

    Thank you for reaching out to Sophos Community.

    To check the ifindex, use the command "ip link show" from the advanced shell. If you need to, apply a filter using grep. In the example below, I am filtering the output by interface UP.

    #ip link show | grep - E 'UP'
    10: Port2@mv-pcimux0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue group 0x02 nfmark 0x8001 nfmark6 0 nettype 0x02 state LOWERLAYERDOWN mode DEFAULT group default qlen 1000

    Filter by ifindex10

    #ip link show | grep -E '10'

    10: Port2@mv-pcimux0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue group 0x02 nfmark 0x8001 nfmark6 0 nettype 0x02 state LOWERLAYERDOWN mode DEFAULT group default qlen 1000

    1: ifindex | Port #


     

    Erick Jan
    Community Support Engineer | Sophos Technical Support
    Sophos Support Videos Product Documentation  |  @SophosSupport  | Sign up for SMS Alerts
    If a post solves your question use the 'Verify Answer' link.