cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
746
Views
0
Helpful
2
Replies

UCS Power Tool unbind and bind to new vNIC Template

Vaikis
Level 1
Level 1

Hi, how to make this with power tool? As I know its possible to assign vNIC template when adding new interface, but how to modify existing ?

 Get-UcsServiceProfile -Filter 'Name -ilike XXX*' | Add-UcsVnic -NwTemplName 'NewTemplate' -Name 'eth1'

 

1 Accepted Solution

Accepted Solutions

Vaikis
Level 1
Level 1

figured out, I need to replace with different Vnic Template

Get-UcsServiceProfile -Name "profile_name"  -LimitScope | Add-UcsVnic -ModifyPresent  -Name "eth0" -NwTemplName ""
Get-UcsServiceProfile -Name "profile_name"  -LimitScope | Add-UcsVnic -ModifyPresent  -Name "eth0" -NwTemplName "template_name"

Just forgot that 

-ModifyPresent 

 can be used.

View solution in original post

2 Replies 2

Kirk J
Cisco Employee
Cisco Employee

Are you trying to modify the vnic template properties itself, or are you wanting to replace an existing template with another one?

Remove-UcsVnicTemplate

Kirk...

Vaikis
Level 1
Level 1

figured out, I need to replace with different Vnic Template

Get-UcsServiceProfile -Name "profile_name"  -LimitScope | Add-UcsVnic -ModifyPresent  -Name "eth0" -NwTemplName ""
Get-UcsServiceProfile -Name "profile_name"  -LimitScope | Add-UcsVnic -ModifyPresent  -Name "eth0" -NwTemplName "template_name"

Just forgot that 

-ModifyPresent 

 can be used.

Review Cisco Networking for a $25 gift card

Review Cisco Networking for a $25 gift card