CM Pointer hexmac2decoid | docsis.org

You are here

CM Pointer hexmac2decoid

2 posts / 0 new
Last post
LooseFitting
CM Pointer hexmac2decoid

Does any one have an excel spread sheet or tool to take the modem mac to oid for the CM pointer?

kwesibrunee
in php it is easily done with

in php it is easily done with the following line

$oid = ".1.3.6.1.2.1." . join(".", array_map("hexdec", str_split($mac_address, 2)));

Where 1.3.6.1.2.1. is the first part of the oid you want and $macaddress is the mac address such as 001122aabbcc

Log in or register to post comments