BPDU Guard
Configure, modifies, and retrieves spanning tree protocol information to determine the best path for data flow.
Supported HTTP Operations
URL: https://<host>/restconf/data/stp/interfaces
Request body: {
"interfaces": {
"interface": [
{
"name": "ethernet 1/1/1",
"config": {
"name": "ethernet 1/1/1",
"bpdu-guard": 'true'
}
}
]
}
}
Response body: None
URL: https://<host>/restconf/data/stp/interfaces
Request body:
{
"interfaces": {
"interface": [
{
"name": "ethernet 1/1/1",
"config": {
"name": "ethernet 1/1/1",
"bpdu-guard": 'true'
}
}
]
}
}
Response body: None
To disable the BPDU guard, enter the value as "bpdu-guard": 'false'