beautypg.com

Step 2: enabling cdp/lldp, Step 3: adding and activating vcenter, Enabling cdp/lldp on vswitches – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 196: Enabling cdp/lldp on dvswitches, Adding vcenter

background image

164

Network OS NETCONF Operations Guide

53-1003231-02

Configuring vCenter

13

Step 2: Enabling CDP/LLDP

In order for an Ethernet Fabric to detect the ESX/ESXi hosts, you must first enable Cisco Discovery
Protocol (CDP) and Link Layer Discovery Protocol (LLDP) on all the virtual switches (vSwitches) and
distributed vSwitches (dvSwitches) in the vCenter Inventory.

For more information, refer to the VMware KB article 1003885.

Enabling CDP/LLDP on vSwitches

Complete the following steps to enable CDP/LLDP on virtual switches (vSwitches).

1. Log in as root to the ESX/ESXi Host.

2. Use the following command to verify the current CDP/LLDP settings.

[root@server root]# esxcfg-vswitch -b vSwitch1

3. Use the following command to enable CDP/LLDP for a given virtual switch. Possible values

here are advertise or both.

[root@server root]# esxcfg-vswitch -B both vSwitch1

Enabling CDP/LLDP on dvSwitches

Complete the following steps to enable CDP on distributed virtual switches (dvSwitches).

1. Connect to the vCenter server by using the vSphere Client.

2. In the vCenter Server home page, click Networking.

3. Right-click the distributed virtual switches (dvSwitches) and click Edit Settings.

4. Select Advanced under Properties.

5. Use the check box and the drop-down list to change the CDP/LLDP settings.

Step 3: Adding and activating vCenter

After enabling CDP on all the vSwitches and dvSwitches in the vCenter, the Network OS-side
configuration is a two step process: adding the vCenter and activating the vCenter.

Adding vCenter

You must add the vCenter before initiating any discovery transactions. To authenticate with a
specific vCenter, you must first configure the URL, login, and password properties on the
VDX switch.

Under the node, include the node element from the
urn:brocade.com:mgmt:brocade-vswitch namespace to enable vCenter. The node
element contains elements that allow you to configure the global vCenter parameters. However, the
“presence=true” statement that qualifies the container definition in the
brocade-vswitch.yang file allows the node element to also function as a leaf element.
you must also configure the , , and nodes. The following
example enables vCenter globally.