Forum Discussion
snmp mac address and if index query
The ipNetToPhysicalPhysAddress indices match the ifIndex scheme used in the ipv6IfTable. To get the textual representation of the interface names, use ipv6IfDescr. For example:
snmpwalk -c public -v 2c localhost ipNetToPhysicalPhysAddress IP-MIB::ipNetToPhysicalPhysAddress.2.ipv4."192.168.10.17" = STRING: 24:77:3:87:b8:68 IP-MIB::ipNetToPhysicalPhysAddress.8.ipv4."127.1.1.2" = STRING: 0:1:23:45:67:0 IP-MIB::ipNetToPhysicalPhysAddress.8.ipv4."127.1.1.3" = STRING: 0:1:23:45:67:1 IP-MIB::ipNetToPhysicalPhysAddress.16.ipv4."10.11.113.22" = STRING: 0:c:29:c3:86:f1
snmpwalk -c public -v 2c localhost ipv6IfDescr IPV6-MIB::ipv6IfDescr.1 = STRING: lo IPV6-MIB::ipv6IfDescr.2 = STRING: eth0 IPV6-MIB::ipv6IfDescr.3 = STRING: eth1 IPV6-MIB::ipv6IfDescr.4 = STRING: eth2 IPV6-MIB::ipv6IfDescr.5 = STRING: eth3 IPV6-MIB::ipv6IfDescr.8 = STRING: tmm0 IPV6-MIB::ipv6IfDescr.16 = STRING: external
eth0 is the mgmt interface. tmm0 is an internal interface used by TMOS. external is the name of a VLAN (and the only defined VLAN) on this system.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com