04-25-2022 03:24 AM
Hi,
we are trying to set up spanning tree for a specific vlan with a specific priority on a Nexus 9k with python using the nxapi.
We were able to create a vlan and name it this way. Spanning-tree is missing.
We want to deliver this cli-command: spanning-tree vlan 1234 priority 16384
https://pubhub.devnetcloud.com/media/dme-docs-10-2-2/docs/Discovery%20Protocols/stp:Vlan/
We are trying this url and jsonData:
jsonData = { "stpVlan": { "attributes": { "priority": "4" } } }
Solved! Go to Solution.
04-27-2022 06:32 AM
It is solved.
The main problem has been the use of VPC!
The config had to be imported into both devices because of vpc.
And the json-part should look like this.
"priority": "16384"
04-27-2022 06:32 AM
It is solved.
The main problem has been the use of VPC!
The config had to be imported into both devices because of vpc.
And the json-part should look like this.
"priority": "16384"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide