This allows for building complex solutions and togheter with the patchpanel information we monitor user activity on each floor and floor "site".
Original Message:
Sent: 08-25-2022 09:50
From: Andreas
Subject: RADIUS - Change NAS-Port format to logical interface name and not index.
Hi Scott,
Thanks for the information, i guess it's makes a lot more sense then in given that you can at least investigate the port in question afterwards.
------------------------------
Andreas
Original Message:
Sent: 08-25-2022 02:45
From: SCOTT AITKEN
Subject: RADIUS - Change NAS-Port format to logical interface name and not index.
Hi Andreas,
according to section 5.5 of RFC 2865 attribute 5 is a number only (no bigger than 32 bits). So it's impossible to use that attribute to convey the text name of the interface.
Scott
------------------------------
SCOTT AITKEN
Original Message:
Sent: 08-24-2022 07:52
From: Andreas
Subject: RADIUS - Change NAS-Port format to logical interface name and not index.
Hello experts!
I've been tasked with gathering information about on how many users are in each site/building and i've been using our WS NPS logs for this task.
Now i want to take it one step further and also collect information about which physical interface they are on and VC member.
When a user is authenticated with dot1x a log message appears with following information about the switch, current port information marked in red.
![](https://higherlogicdownload.s3.amazonaws.com/JUNIPER/MessageImages/e58c716285014651ace2b14789cd6f77.png)
This is the logical index of the interface and not it's logical interface name, on the switch:
![](https://higherlogicdownload.s3.amazonaws.com/JUNIPER/MessageImages/79d90ee17d2048f1b557eae78cf5b6ac.png)
I'm aware that the switch does send the logical interface name in RADIUS option 87, but windows NPS doesn't log this information in the event viewer:
![](https://higherlogicdownload.s3.amazonaws.com/JUNIPER/MessageImages/d57d8302bac84f16b4c3f5af7d81f17b.png)
Is there anyway to configure so that the logical interface name gets included in Radius Option 5 (NAS-port) on the juniper? I've looked trough the documentation but all i can see is ways to edit radius option 87 (NAS-Port-Id).
I'm aware of the syslog option 'deamon info' that sends information about dot1x but i would prepare if i could continue to use the logs from the NPS servers as they also contains logs from Wi-Fi.
DOT1x logs from 'deamon info':
![](https://higherlogicdownload.s3.amazonaws.com/JUNIPER/MessageImages/527b66dd96db45258e0f95df1aa79e6d.png)
Best regards
Andreas
------------------------------
Andreas
------------------------------