DOT1x guest-vlan Timeout Value APIs
Action |
Method |
Payload Required |
API |
---|---|---|---|
To enable unauthorized users on the access interface to the guest VLAN |
POST |
Yes |
/api/config/switch/dot1x/guest-vlan |
To set the time delay between enabling Dot1X and adding a port to the guest VLAN |
PUT |
Yes |
/api/config/switch/dot1x/guest-vlan/timeout |
To restore the default configuration |
DELETE |
No |
/api/config/switch/dot1x/guest-vlan/timeout |
To get the VLAN timeout value |
GET |
No |
/api/config/switch/dot1x/guest-vlan/timeout |
Example for DOT1x guest-vlan Timeout Value APIs Payload
<timeout>30</timeout>
Property |
Type |
Description |
Mandatory/Default Value |
---|---|---|---|
timeout |
integer |
Specifies the time delay in seconds between enabling dot1X and adding the port to the guest VLAN. (Range: 30–180) |
Yes |
Example: POST DOT1x guest-vlan Timeout Value APIs
curl -k -u admin:admin -d "<timeout>30</timeout>" -X POST https://209.165.201.1/api/config/switch/dot1x/guest-vlan -H "Content-Type: application/vnd.yang.data+xml"
Example: PUT DOT1x guest-vlan Timeout Value APIs
curl -k -u admin:admin -d "<timeout>40</timeout>" -X PUT https://209.165.201.1/api/config/switch/dot1x/guest-vlan/timeout -H "Content-Type: application/vnd.yang.data+xml"
Example: DELETE DOT1x guest-vlan Timeout Value APIs
curl -k -u admin:admin -X DELETE https://209.165.201.1/api/config/switch/dot1x/guest-vlan/timeout
Example: GET DOT1x guest-vlan Timeout Value APIs
curl -k -u admin:admin -X GET https://209.165.201.1/api/config/switch/dot1x/guest-vlan/timeout