BPDU Guard

Configure, modifies, and retrieves spanning tree protocol information to determine the best path for data flow.

Supported HTTP Operations

PATCH method

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
  

PUT method

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

DELETE method

To disable the BPDU guard, enter the value as "bpdu-guard": 'false'