cancel
Showing results for 
Search instead for 
Did you mean: 

Flexible Authentication via RESTCONF

KlondikeU
New Contributor

I'm working on setting up flexible authentication on an ICX 7150 switch and need some help configuring the fail-action using the RESTCONF API. Typically, in CLI, I would use this command:

authentication fail-action restricted-vlan 2

I've gone through the RESTCONF API guide but it seems like this specific configuration might not be possible in the same way. I'm reaching out to see if anyone else has encountered this issue or if I'm missing something in the documentation.

Thanks in advance!

4 REPLIES 4

Chandini
RUCKUS Team Member

Hi KlondikeU

Thank you for reaching us

  • Could you please let me know what is the version running on the switch ? 

Thanks 

Hi Chandini,

Thanks for the reply. The version on the switch is 09.0.10eT211

Chandini
RUCKUS Team Member

Hi KlondikeU

Thank you for reverting back to us

I'll need some time to check with regard to the query you have. Let me check and get back to you. 

Thanks 

Chandini
RUCKUS Team Member

Hi KlondikeU

Sorry for the delay. It took me sometime to look for details about the command you were looking for. After checking internally I could find the below option which matched the command you mentioned.

curl -X PATCH  -H "Content-Type: application/json" -d @fail_action.json https://<host>/restconf/data/authentication/config -u test:test1234 --insecure
fail_action.json

{
    "config": {
        "fail-action": {
            "fail-action": "restricted-vlan"
        }
    }
}

Link which I referred is below:

I hope this helps

Thanks