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

UCSM VLAN name updates using Powershell script

ramcharana
Level 1
Level 1

Hi,


I am looking for some powershell script which can help in updating VLAN name in UCS Manager without delete and recreate new VLAN.

Any suggestion or thought. Please share.

Thank you,

Ramcharan Arya

1 Reply 1

srehling
Cisco Employee
Cisco Employee

I see two problems here.

  1. The VLAN name is referenced on vNICs or vNIC Templates and possibly in groups. If you change the name, you will need to change everywhere you referenced the name.
  2. Changing the name requires changing the DN. I believe the only way to do that is to create a new object.

You can kind of see this when you look at a vNIC Template like this:

get-ucsVnicTemplate | Get-UcsVnicInterface | select -first 1

There is no reference to the VLAN ID number. Just a reference to the name.

It isn't that you cannot do what you want to do, It is just the method you are requiring that will make it challenging.

Review Cisco Networking products for a $25 gift card