If it supports Packetcable, it should appear as an individual interface on the device interfaces table. Unfortunately, as packetcable does not have a specific iftype value, it generally appears as "other", what doesn´t help much.
You can look for the ifdescription, get the ifindex and use it to retrieve the mac address.
It would generally depend on what brand of cm/mta it is as they all have different sets of mibs/oids. Are we talking like arris? hitron? motorola?
Hi, thanks for your return.
We're using AVM Fritz and Cisco.
Regards
Philippe
If it supports Packetcable, it should appear as an individual interface on the device interfaces table. Unfortunately, as packetcable does not have a specific iftype value, it generally appears as "other", what doesn´t help much.
You can look for the ifdescription, get the ifindex and use it to retrieve the mac address.
IF-MIB::ifNumber.0 = INTEGER: 6
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.16 = INTEGER: 16
IF-MIB::ifDescr.1 = STRING: Ethernet CPE Interface
IF-MIB::ifDescr.2 = STRING: RF MAC Interface
IF-MIB::ifDescr.3 = STRING: RF Downstream Interface
IF-MIB::ifDescr.4 = STRING: RF Upstream Interface
IF-MIB::ifDescr.5 = STRING: USB CPE Interface
IF-MIB::ifDescr.16 = STRING: PacketCable Embedded Interface
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: docsCableMaclayer(127)
IF-MIB::ifType.3 = INTEGER: docsCableDownstream(128)
IF-MIB::ifType.4 = INTEGER: docsCableUpstream(129)
IF-MIB::ifType.5 = INTEGER: usb(160)
IF-MIB::ifType.16 = INTEGER: other(1)
IF-MIB::ifPhysAddress.1 = STRING: 0:1d:ce:42:8a:31
IF-MIB::ifPhysAddress.2 = STRING: 0:1d:ce:42:8a:32
IF-MIB::ifPhysAddress.3 = STRING:
IF-MIB::ifPhysAddress.4 = STRING:
IF-MIB::ifPhysAddress.5 = STRING: 0:1d:ce:42:8a:34
IF-MIB::ifPhysAddress.16 = STRING: 0:1d:ce:42:8a:33
hope it helps.
Regards,
MS