02-28-2023 05:35 AM
Hi all,
we are unable to interpret the NAS-Port value retrieved from FreeRadius server logs when a device is attached to our Cisco SG300-52P switch.
Consider the log that follows:
Feb 28 14:30:39 RADIUS radiusd[456243]: (1384) Login OK: [XXXXXXXXX] (from client SW-001 port 95 cli XX-XX-XX-XX-XX-XX)
How port (port 95 in the example) number is linked to the pyhsical port on the switch?
Thanks and BR,
Alberto
02-28-2023 08:02 AM
I can’t explain so high port number. To me, it should be in the range from 1 to 52 for this switch. In my experience, Port 1 is exactly the first port of the switch, Port 2 is exactly the second, and so on. You should be able to find the MAC address that follows the ‘cli’ string in the MAC address table of the switch which would identify the port.
02-28-2023 08:21 AM
Hi Kris,
many thanks for your prompt reply; unfortunately in this model it seems not so easy to associate the NAS-Port value to the pyhsical Port.
Ports are numbered starting from gi1 to gi52, while NAS-Port values are greater numbers.
What do you mean with "cli" string in the mac address table? Which cli command are you referring to? show mac address-table?
Thanks and BR,
Alberto
02-28-2023 08:53 AM - edited 02-28-2023 08:55 AM
Feb 28 14:30:39 RADIUS radiusd[456243]: (1384) Login OK: [XXXXXXXXX] (from client SW-001 port 95 cli XX-XX-XX-XX-XX-XX)
The string cli is followed by a MAC address. MAC Address table can be found in the Admin GUI of the switch.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide