cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
671
Views
5
Helpful
12
Replies

add a vlan to multiple service-profile remplates vNIC via CLI

robad
Beginner
Beginner

Hi,

From time to time, we have a need to :

1. Create a new VLAN on FIs

2. Add this VLAN to all of our Service-Profile Templates [around 8]

And we want to make it automated.

I tried few CLI commands to get info about our Templates, and then try to use "set" command for it, but with no success

 

Can you please give me a clue ? and if it's possible at all via CLI, or we must use API ?....

Thanks in advance

1 Accepted Solution

Accepted Solutions

Wes Austin
Cisco Employee
Cisco Employee

UCS# scope org

UCS /org # scope vnic-templ test-vnic-a

UCS /org/vnic-templ # create eth-if VLAN10

UCS /org/vnic-templ/eth-if* # commit-buffer
UCS /org/vnic-templ/eth-if #

 

https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-manager/CLI-User-Guides/Network-Mgmt/4-2/b_cli_ucsm_network_management_guide_4_2/b_CLI_UCSM_Network_Management_Guide_chapter_01011.html 

View solution in original post

12 Replies 12

balaji.bandi
VIP Community Legend VIP Community Legend
VIP Community Legend

why not use UCS manager?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help