Which command can administrator can run to find the correct VLAN ID from the CVM? | Nutanix Community
Skip to main content
Solved

Which command can administrator can run to find the correct VLAN ID from the CVM?

  • September 13, 2024
  • 7 replies
  • 513 views

Which command can administrator can run to find the correct VLAN ID from the CVM?

  • manage-ovs
  • ovs-vscl

Best answer by WillFulmer

@karanbhand - Here is some information for you:

 

To find the correct VLAN ID from the CVM (Controller Virtual Machine) in Nutanix, the administrator can use the following command:

acli host.list

This command will list the details of all the hosts in the cluster, including the network information, which will show the VLAN ID assigned to each host.
 

Alternatively, the administrator can use the following command to view the network configuration and VLAN ID associated with the CVM:

manage_ovs show_interfaces

This will display the interfaces along with their VLAN IDs and other relevant networking details.



Here is an older but relevant post:

https://next.nutanix.com/installation-configuration-23/differences-in-configuring-bond-via-manage-ovs-and-ovs-vsctl-explained-40533

Note:

  • Do not use ovs-vsctl commands to make the bridge level changes. Use the manage_ovs commands, instead.
  • The manage_ovs command allows you to update the cluster configuration. The changes are applied and retained across host restarts. The ovs-vsctl command allows you to update the live running host configuration but does not update the AOS cluster configuration and the changes are lost at host restart. This behavior of ovs-vsctl introduces connectivity issues during maintenance, such as upgrades or hardware replacements.
  • ovs-vsctl is typically used in cases where a host might be isolated on the network and requires a workaround to gain connectivity before the cluster configuration can actually be updated using manage_ovs.


 

 

 

 

 

 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

7 replies

JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1349 replies
  • September 13, 2024

From the console of AHV: virsh dumpxml cvm_name

 

You can find the vlan between the <vlan> tags. 

 

(https://portal.nutanix.com/page/documents/details?targetId=AHV-Admin-Guide-v6_8:ahv-cvm-assign-to-vlan-t.html)

 


  • Author
  • Adventurer
  • 3 replies
  • September 13, 2024

Thanks you @JeroenTielen, but what’s the correct between 

  • manage-ovs
  • ovs-vscl

JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1349 replies
  • September 13, 2024

Sorry but I don’t understand your question. 

 


WillFulmer
Forum|alt.badge.img+11
  • Trailblazer
  • 14 replies
  • Answer
  • September 13, 2024

@karanbhand - Here is some information for you:

 

To find the correct VLAN ID from the CVM (Controller Virtual Machine) in Nutanix, the administrator can use the following command:

acli host.list

This command will list the details of all the hosts in the cluster, including the network information, which will show the VLAN ID assigned to each host.
 

Alternatively, the administrator can use the following command to view the network configuration and VLAN ID associated with the CVM:

manage_ovs show_interfaces

This will display the interfaces along with their VLAN IDs and other relevant networking details.



Here is an older but relevant post:

https://next.nutanix.com/installation-configuration-23/differences-in-configuring-bond-via-manage-ovs-and-ovs-vsctl-explained-40533

Note:

  • Do not use ovs-vsctl commands to make the bridge level changes. Use the manage_ovs commands, instead.
  • The manage_ovs command allows you to update the cluster configuration. The changes are applied and retained across host restarts. The ovs-vsctl command allows you to update the live running host configuration but does not update the AOS cluster configuration and the changes are lost at host restart. This behavior of ovs-vsctl introduces connectivity issues during maintenance, such as upgrades or hardware replacements.
  • ovs-vsctl is typically used in cases where a host might be isolated on the network and requires a workaround to gain connectivity before the cluster configuration can actually be updated using manage_ovs.


 

 

 

 

 

 


  • Author
  • Adventurer
  • 3 replies
  • September 13, 2024

Thank you @WillFulmer.

 

Can you please assist me on this one also?

 

An administrator notice that a VM is slow and unresponsive. The administrator want to compare performance to other VM on cluster.

Which chart type is best suited to display multiple performance metric for diagnosis. 

  • Dashboard
  • Entity Chart
  • Analysis Chart
  • Metric Chart

JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1349 replies
  • September 13, 2024
karanbhand wrote:

Thank you @WillFulmer.

 

Can you please assist me on this one also?

 

An administrator notice that a VM is slow and unresponsive. The administrator want to compare performance to other VM on cluster.

Which chart type is best suited to display multiple performance metric for diagnosis. 

  • Dashboard
  • Entity Chart
  • Analysis Chart
  • Metric Chart

This is an exam question. We dont discus these kind of questions here. 


WillFulmer
Forum|alt.badge.img+11
  • Trailblazer
  • 14 replies
  • September 13, 2024

@JeroenTielen - Correct.

I recommend using the Nutanix University for training!

https://university.nutanix.com/