cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
683
Views
0
Helpful
1
Replies

UCS Director - Configure Bridge Priority

Kryptkeeper
Level 1
Level 1

While developing workflows in UCSD, one item that I am having issues finding is how to set the priority of a Vlan. Deploying a new Vlan, and allowing it on a trunk are easy enough. However, I need to be able to set the priority to ensure the proper L2 topology. 

 

I found a pre-built task for executing CLI commands. Is there a way to pass the Vlan number to the CLI command as a variable?

 

Does anyone know of another way to pull this off?

 

Thanks in advance.

 

-Kryptkeeper

1 Reply 1

Kryptkeeper
Level 1
Level 1

Solved my own problem. To set the bridge priority for a Vlan use the task "ExecuteNetworkDeviceCLI_1484." When you get to the CLI commands use the following:

 

conf t
spanning-tree vlan ${Vlan Number} priority 4096
end

 

The key is using the variable for the Vlan. Please note that this variable is in play because in this workflow it gets defined as a user input. Also, I bet you could take the priority as input and but I haven't tried that yet.

 

Hope this helps someone.

 

-Kryptkeeper

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card