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

assistance with adding vlans to vnic updating templates

I've tried finding any snippet of info on how to do this, and so far come up with nothing, nada.   I was able to use one of the example powertool scripts to create 300 VLANs but nothing to help or even nudge in the direction of getting them bound to uplink port-channels (I manually did that part using the html5 ui and lan uplinks manager per cisco tac suggestion, I think vlan groups might've worked better).

anyway, so now I have 300 named vlans, all bound to the 2 port-channels I need them tied to.

next step, the thing that I've spent a week on now and what I really need help with is configuring those vlans on vnic updating templates so esxi hosts can get to them.

the only snippet I found wasn't helpful, or rather, I don't have the slightest idea what to do with this...

    

Please check if this works for you …

  1. Get the Vnic Template
  2. Get the Vlans attached to vnic template.

Get-UcsVnicTemplate | Get-UcsVnicInterface

Good way to learn Managed Object Hierarchy is to use following cmdlet.

PS C:\> Get-UcsCmdletMeta -ClassId VnicLanConnTempl -Tree

OrgOrg (UcsOrg) (Get, Add, Set, Remove)

  |-VnicLanConnTempl (UcsVnicTemplate) (Get, Add, Set, Remove)

    |-FaultInst (UcsFault) (Get)

    |-VnicDynamicConPolicyRef (UcsVnicDynamicConPolicyRef) (Get, Add, Remove)

    |  |-FaultInst (UcsFault) (Get)

    |-VnicEtherIf (UcsVnicInterface) (Get, Add, Set, Remove)

    |  |-FabricNetflowIPv4Addr (UcsFabricNetflowIPv4Addr) (None)

0 Replies 0

Review Cisco Networking for a $25 gift card