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

allowed vlans on port channel

kunal.bhadra1
Level 1
Level 1

Hi,

 

I would like to find out the list of VLAN's which are allowed on a particular Port channel using powertool.

 

Please help me with the powertool command to find the above mentioned details.

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

May be never heard Powertools before ? what is this one ? how it works ?

 

Do you mean below one :

 

https://dev.bukkit.org/projects/powertool

BB

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

How to Ask The Cisco Community for Help

I mean Powershell module of Cisco UCS.

Hi,

 

Thanks for your reply.

 

I am already using UCS Powertool. I just need to know the specific cmdlet to get the list of allowed VLAN's on a port channel.

Jaderson Pessoa
VIP Alumni
VIP Alumni

Hello @kunal.bhadra1 ,

 

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)

    |  |-FaultInst (UcsFault) (Get)

    |  |-VnicIPv4If (UcsVnicIPv4If) (Get, Add)

    |    |-FabricNetflowIPv4Addr (UcsFabricNetflowIPv4Addr) (None)

    |    |-StorageIpV4PooledAddr (UcsStorageIpV4PooledAddr) (None)

    |    |  |-FaultInst (UcsFault) (Get)

    |    |  |-VnicIpV4History (UcsVnicIpV4History) (None)

    |    |-StorageIpV4StaticAddr (UcsStorageIpV4StaticAddr) (None)

    |    |-VnicIPv4Dhcp (UcsVnicIPv4Dhcp) (Get, Add, Remove)

    |    |-VnicIPv4Dns (UcsVnicIPv4Dns) (Get)

    |    |-VnicIPv4IscsiAddr (UcsVnicIPv4IscsiAddr) (Get, Add, Set, Remove)

    |    |  |-VnicIPv4Dns (UcsVnicIPv4Dns) (Get)

    |    |-VnicIPv4PooledIscsiAddr (UcsVnicIPv4PooledIscsiAddr) (Get, Set)

    |    |  |-FaultInst (UcsFault) (Get)

    |    |  |-VnicIPv4Dns (UcsVnicIPv4Dns) (Get)

    |    |  |-VnicIpV4History (UcsVnicIpV4History) (None)

    |    |-VnicIPv4StaticRoute (UcsVnicIPv4StaticRoute) (Get)

    |    |-VnicIpV4MgmtPooledAddr (UcsVnicIpV4MgmtPooledAddr) (Get, Set, Remove)

    |    |  |-FaultInst (UcsFault) (Get)

    |    |  |-VnicIpV4History (UcsVnicIpV4History) (None)

    |    |-VnicIpV4PooledAddr (UcsVnicIpV4PooledAddr) (Get)

    |    |  |-FaultInst (UcsFault) (Get)

    |    |  |-VnicIpV4History (UcsVnicIpV4History) (None)

    |    |-VnicIpV4ProfDerivedAddr (UcsVnicIpV4ProfDerivedAddr) (Get)

    |    |-VnicIpV4StaticAddr (UcsVnicIpV4StaticAddr) (Get, Add, Set, Remove)

    |-VnicFcOEIf (UcsVnicFcOEIf) (Get)

    |-VnicUsnicConPolicyRef (UcsVnicUsnicConPolicyRef) (Get, Add, Remove)

    |  |-FaultInst (UcsFault) (Get)

    |-VnicVmqConPolicyRef (UcsVnicVmqConPolicyRef) (Get, Add, Remove)

        |-FaultInst (UcsFault) (Get)

PS C:\>

 

Original post: https://community.cisco.com/t5/unified-computing-system/powertool-list-vlans-attached-to-vnic-template/td-p/3589927

Jaderson Pessoa
*** Rate All Helpful Responses ***

Thanks Jaderson,

 

The above command is get the VLANs' attached to a vnic template. But my requirement is different here.

 

My requirement is to get the list of VLAN's that are allowed on a Port Channel. I generally get this info by selecting the Fabric A or B on VLAN Manager tab of LAN Uplinks Manager in GUI. I would like to get this information using powertool.

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