i have configured snmp on my cisco switch.
i get the message :
iso.220.127.116.11.18.104.22.168.22.214.171.124.4091.100.49.80.27.64. 126 = INTEGER: 49
4091 is a vlan
126.96.36.199.64.126 is mac address in decimical format
INTEGER: 49 is physical port number.
i want to log this information following format:
vlan = 4091 mac-address = 64:31:50:1b:40:7e port number = 9
i found net::mac for converting mac address dec to hex in perl and it worked.
but i can not do others .
anybody can help me ?
Tags for this Thread