Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Lyyiheang
New Contributor

Cisco Switch not accept CoA from FortiNAC

Dear team,

 

I noticed that Cisco Switch are not accept Radius CoA/Disconnect Message from FortiNAC-F 7.4. I'm not sure if we need to have any customer RADIUS Attribute to pass to the Cisco Switch. I would like to share debug of pcap and Switch here.

2024-08-30_21-03-23.png
Anyone who has experience this issue, Please kindly share

 

Note: RFC5176 Mode: system defined and Switch is configured CoA Port 3799

 

Thank You

4 REPLIES 4
Jean-Philippe_P
Moderator
Moderator

Hello Lyyiheang, 

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible. 

 

Thanks, 

Jean-Philippe - Fortinet Community Team
Lyyiheang

It is now working when i add command aaa nas port extended.

 

Thank Everyone for help

burtoyo2
New Contributor

Mac auth is not going to continue being viable much longer, if it could be said to be even viable at all now. All mobile devices sold within the last few years have the ability to use virtual mac addresses at the flip of a switch and I expect desktop operating systems will begin offering this as a standard feature as well. It's possible to do on basically any OS currently but not built in https://mobdro.bio/ .

Hatibi
Staff
Staff

Hello  Lyyiheang,

 

checking the CoA NAK response it complains about the session identifier.

For this you can use either "User Name" or the "Calling-station-ID".

 

Additionally i see you are adding in the CoA message itself the Access list attributes. This is not correct. In the CoA message you need to add an action such as bouncing the port or re-authentication. Then you add the Access lists in the Radius response (Accept-Accept) once the host re-authenticates.

 

This article provides you with the example when FortiSwitch is acting as NAS:

https://community.fortinet.com/t5/FortiNAC-F/Technical-Tip-CoA-Support-in-FortiNAC-7-4-and-applying-...

 

For FortiSwitch we use the Fortinet proprietary arrtibute 

Fortinet-Host-Port-AVPair

action=reauth-port

 

In your case of Cisco you can try any the following:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_usr_aaa/configuration/15-s/sec-usr-aaa-15-s-bo...

Table 3 CoA Request Commands Supported on the Device

Command

Cisco VSA

Bounce host port

Cisco:Avpair=“subscriber:command=bounce-host-port”

Disable host port

Cisco:Avpair=“subscriber:command=disable-host-port”

Reauthenticate host

Cisco:Avpair=“subscriber:command=reauthenticate”

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors