Attribute showing in Hex or Some other format
Dear Friends, I am having a problem in radius accounting message which showing some other format for particular attribute. Framed-Interface-Id = 0x520c0000520c00 How to convert this into following format. Framed-Interface-Id = ff0c:6192:9e9a:30fe My NAS is Juniper MX480 Please find the sample packet as bellow; Wed Nov 28 18:02:18 2018 NAS-Port-Type = Ethernet ERX-Pppoe-Description = "pppoe 90:61:0c:4b:4b:1c" Acct-Session-Id = "1328282907" ERX-Dhcp-Mac-Addr = "9061.0c4b.4b1c" Service-Type = Framed-User Acct-Authentic = RADIUS Acct-Status-Type = Start NAS-IP-Address = 203.0.113.22 Framed-IP-Netmask = 255.255.255.255 NAS-Port-Id = "HK-AGJ_C300M_01 atm 1/1/8/7:8.35" Filter-Id = "IPV4-ingress:pbr-pp0.3221286001-in" ERX-Virtual-Router-Name = "default:sltbb.lk" Framed-Protocol = PPP User-Name = "HK2501112@SLTBB" ERX-Attr-177 = 0x506f72742073706565643a2031303030303030306b NAS-Identifier = "HK_MX480" Event-Timestamp = "Nov 28 2018 18:00:37 IST" ERX-Ingress-Policy-Name = "PBR" ADSL-Agent-Circuit-Id = "HK-AGJ_C300M_01 atm 1/1/8/7:8.35" Class = "ADSLWebFamilyPlus" Framed-IP-Address = 100.72.248.51 NAS-Port = 1342178323 Framed-Interface-Id = 0x6bd536006bd536 Acct-Delay-Time = 0 Acct-Unique-Session-Id = "d06986707183a0ac" Stripped-User-Name = "HK2501112" Realm = "sltbb" Timestamp = 1543408338 Thank you in advanced!!
On Feb 28, 2019, at 12:36 AM, Nimesha Balasuriya <nimesha1987@gmail.com> wrote:
I am having a problem in radius accounting message which showing some other format for particular attribute.
Framed-Interface-Id = 0x520c0000520c00
It's being printed as hex it's an interface ID. i.e. a raw blob of data.
How to convert this into following format.
Framed-Interface-Id = ff0c:6192:9e9a:30fe
What is that supposed to be? And IPv6 address? The Framed-Interface-Id attribute is not an IPv6 address. Alan DeKok.
participants (2)
-
Alan DeKok -
Nimesha Balasuriya