cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
579
Views
0
Helpful
3
Replies

SG300 & Freeradius - how to interpret NAS-Port from logs

albertole
Level 1
Level 1

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  

3 Replies 3

KJK99
Level 3
Level 3

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.

Kris K

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

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.

Kris K