Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Removing a Cisco Nexus 1000V (or other 3rd party switch) from vCenter Server (1020542)

Last Updated: 3/20/2024Categories: TroubleshootingTotal Views: 47231Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Cannot upgrade vCenter Server due to orphaned Cisco Nexus 1000V or other 3rd party switch.

Cannot remove Nexus 1000V or other 3rd party switch from vCenter Server.

You see this error similar to:

Cannot remove the object, since it has active related objects.

Or

Failed to delete dvs from VC. 'VC' is Disconnected. Removing config locally.

Cause

VMware discontinued support of third party switches, including the Nexus 1000v. To assist in vSwitch migration, VMware’s Professional Services Organization can provide services to customer to migrate from third party vSwitch to VDS.

VMware End of Availability Announcement “VMware is announcing the End of Availability (EOA) for the Cisco Nexus 1000V SKU and its associated support SKUs from VMware effective February 2, 2015. Customers who want to buy additional licenses and support for the Cisco Nexus 1000V after February 2, 2015 can buy those licenses and support directly from Cisco. https://community.cisco.com/t5/unified-computing-system/vmware-cisco-nexus-1000v-end-of-availability/td-p/2684299"

Impact / Risks

If the Nexus 1000V or other third party vSwitch was not removed properly while it was still supported by the third party vendor, the third party switch can get orphaned on the vCenter Server. The vCenter Server cannot control the third party switch because the third party switch is controlled through API calls from the third party vendor's software to the vCenter Server. As a result, vCenter cannot be updated due to this third party switch being installed.

Resolution

The following resolution is to be completed on the Cisco side to remove a Nexus 1000V from VMware's vCenter. None of the following can be done on the vCenter side. For more information, see Cisco's Nexus 1000V Switch for VMware vSphere documentation.

Run the command no vmware dvs from an svs connection to remove a Cisco Nexus 1000V VSM from the vCenter Server. You cannot remove the VSM from within vCenter Server. For more information, see Removing the Cisco Nexus 1000V from the vCenter Server in the Cisco Nexus 1000V Troubleshooting Guide.

If you have removed the VSM without running the no vmware dvs command, the old VSM remains in vCenter Server. You have to manually delete the VSM entries.

To delete the remaining VSM:

Reconnect the VSM to vCenter Server, or create a new VSM with the same extension key (either from ISO or OVF).

Ensure the hostname of the VSM matches with the name of the N1KV vDS as seen in vCenter Server. To modify hostname, log in to VSM and run these commands:

n1000v # conf t
n1000v(config)# hostname Oldhostname
n1000v(config)# exit
n1000v # copy run start

Find the extension key tied to the old VSM.

To find the extension key tied to a VSM:

Log in to vCenter Server using the vSphere Client.

Go to Home > Networking.

Click N1KV DVS.

Click the Summary tab. The extension key string is listed in the Notes field.

For more information, see the Finding the Extension Key on the Cisco Nexus 1000V section in the Cisco Nexus 1000V Troubleshooting Guide.

Configure the extension key on the new VSM with the command:

n1000v(config)# vmware vc extension-key key

Unregister the related extension key on vCenter Server. For more information, see the Unregistering the Extension Key in the vCenter Server section in the Cisco Nexus 1000V Troubleshooting Guide.

Open a browser, browse to the VSM, and download the extension.xml file. Refresh the browser page to get the current extension key.

Register the new extension.xml file in vCenter Server:

In vCenter Client, click the Plug-ins menu.

Click Manage Plug-ins.

Right-click the white space within the dialog and click New Plug-In.

Click Browse and choose the cisco_nexus1000v_extension.xml file that you downloaded from the VSM home page.

Click Register Plug-In.

For more information, see Creating a Cisco Nexus 1000V Plug-In on the vCenter Server in the Cisco Nexus 1000V Software Installation Guide.

Note: Ensure that the switch name of the VSM is the same as one you are trying to delete.

Reconnect the VSM to vCenter Server using these commands:

n1000v# conf t
n1000v(config)# svs conn VC
n1000v(config-svs-conn)# protocol vmware-vim
n1000v(config-svs-conn)# remote ip address [IP_address of VC]
n1000v(config-svs-conn)# vmware dvs datacenter-name [DC_name]
n1000v(config-svs-conn)# connect

Note: You must be connected to vCenter Server before you remove the DVS.

When it connects to vCenter Server, delete the VSM using the no vmware dvs command under an svs connection.

THE CONTENT OF THIS ARTICLE IS PROVIDED "AS-IS," AND TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, VMWARE DISCLAIMS ALL OTHER REPRESENTATIONS AND WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS CONTENT, INCLUDING THEIR FITNESS FOR A PARTICULAR PURPOSE, THEIR MERCHANTABILITY, OR THEIR NONINFRINGEMENT. VMWARE SHALL NOT BE LIABLE FOR ANY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF THIS CONTENT, INCLUDING DIRECT, INDIRECT, CONSEQUENTIAL DAMAGES, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF VMWARE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Note: The links in this article were correct as of February 17, 2021. If you find a broken link, please provide feedback and a VMware employee will update the link.

Workaround

If the Cisco documentation above does not work in removing the Nexus 1000V, the user would need to install a new vCenter. See the About vCenter Server Installation and Setup guide.

Related Information

For details on more commands, see Managing Server Connections in the Cisco Nexus 1000V System Management Configuration Guide.

Also, see:

FAQ: Discontinuation of third party vSwitch program

vCenter Server から Cisco Nexus 1000V を削除する

从 vCenter Server 中移除 Cisco Nexus 1000V

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware vCenter Server

VMware ESX Server

Related Versions:

Take Our Survey

Support Assistant