Reading interface list of routers with SNMP

From IPFlow Netflow Collector

You can display interface list of a router using the if_list module.

The "-c" parameter is used to specify the SNMP community (public by default).

$ ipflow if_list -c netflow 192.168.155.1
  01: FastEthernet1 (administratively up, link down, type 6)
  02: FastEthernet2 (administratively up, link down, type 6)
  03: FastEthernet3 (administratively up, link down, type 6)
  04: FastEthernet4 (administratively up, link up, type 6)
  05: Ethernet0 (administratively up, link up, type 6)
  06: ATM0 (administratively up, link up, type 94)
  07: Ethernet2 (administratively down, link down, type 6)
  08: Null0 (administratively up, link up, type 1)
  09: ATM0-atm layer (administratively up, link up, type 37)
  10: ATM0.0-atm subif (administratively up, link up, type 134)
  11: ATM0 (administratively up, link up, type 49)
  12: ATM0.0 (administratively up, link up, type 49)
  13: ATM0-interleave (administratively up, link up, type 124)
  14: ATM0-fast (administratively up, link up, type 125)
  15: ATM0-adsl (administratively up, link up, type 94)
  16: Dialer0 (administratively up, link down, type 23)
  17: Virtual-Access1 (administratively up, link up, type 23)
  18: Virtual-Access2 (administratively up, link up, type 23)