Configuring a vCenter Service
To create a vCenter service, use the vcenter-connection-create command:
CLI (network-admin@switch) > vcenter-connection-create
name name-string |
Specify a name for the vCenter connection. |
host host-string |
Specify the host name of the vCenter to connect with. |
user user-string |
Specify the authorized vCenter user name. |
password password-string |
Choose one of the options to enable or disable. |
enable|disable |
Specify to enable to disable the vCenter connection. |
vlans vlan-list |
Specify the vCenter plugin VLANs for provisioning. Note: For vCCS, NetVisor OS supports the following VLAN provisioning limits: |
network-provisioning none|l2-underlay|l3-underlay |
Specify if the network provisioning should be none, L2 underlay or L3 underlay. |
For example, to configure a vCenter service named vcenter2, on VLANs 190-198, use the below command and enter the password when prompted:
CLI (network-admin@switch) > vcenter-connection-create name vcenter2 host vcenter-server user administrator@lab.pluribus vlans 190-198 network-provisioning l2-underlay
vCenter user password: <=== password is not visible while typing
vCenter connection service vcenter2 started.
To modify a vCenter service, use the command:
CLI (network-admin@switch) > vcenter-connection-modify
host host-string |
The host name of the vCenter you want to modify. |
user user-string |
Modify the authorized vCenter user name. |
password password-string |
Specify a valid password for the user on the VMware vCenter server. |
enable|disable |
Modify to enable or disable the vCenter connection. |
vlans vlan-list |
Modify the vCenter plugin VLANs for provisioning. |
network-provisioning none|l2-underlay|l3-underlay |
Modify the network provisioning parameters. |
Note: Provisioning of VLANs is supported only when network-provisioning is l2-underlay or l3-underlay. For None, no VLANs can be provisioned and hence no ports are added to the provisioned VLAN.
To delete a vCenter service, use the following syntax:
CLI (network-admin@switch) > vcenter-connection-delete name name-string
To display information about a vCenter service, use the command:
CLI (network-admin@switch) > vcenter-connection-show
CLI (network-admin@dorado-leaf3) > vcenter-connection-show layout vertical
switch: switch
name: vcenter-server
host: vcenter-server.pluribusnetworks.com
user: administrator@lab.pluribus
enable: yes
state: ok
connected-time: connected at 2022-04-29 01:28:22
vlans: 2100-2111
network-provisioning: l3-underlay
To display information about VLANs before network-provisioning, use the command:
CLI (network-admin@switch-1) > vlan-show
switch id type vxlan vxlan-type scope description active stats ports untagged-ports active-edge-ports
-------- ---- ------ ------- ---------- ------ ---------------- ------ ----- ---------------------- ---------------- -----------------
switch-1 1 public local default-1 yes yes 0-11,14-29,32-72 0-11,14-29,32-72 0,49
switch-2 1 public local default-1 yes yes 0-11,14-29,31-72 0-11,14-29,31-72 0,44
switch-1 4091 public local vlan-4091 yes yes 0,13 13 0,13
switch-2 4091 public local vlan-4091 yes yes 0,12 12 0,12
switch-1 4092 public local vlan-4092 yes yes 0,12 12 0,12
switch-2 4092 public local vlan-4092 yes yes 0,13 13 0,13
switch-1 4093 public local vlan-4093 yes yes 30,253 30,253 none
switch-2 4093 public local vlan-4093 yes yes 30,253 30,253 none
To identify VTEP, use the command:
CLI (network-admin@switch-1) > vtep-show
scope name location vrouter-name ip virtual-ip
------ ------ -------------- ------------ --------- ----------
fabric vtep-1 switch-1 vr1 102.1.1.1 ::
fabric vtep-2 switch-2 vr2 103.1.1.1 ::
To display information about VLANs after network-provisioning, use the command:
CLI (network-admin@switch-1) > vlan-show
switch id type vxlan vxlan-type scope description active stats ports untagged-ports active-edge-ports
-------- ---- ------ ------- ---------- ------ ---------------- ------ ----- ---------------------- ---------------- -----------------
switch-1 1 public local default-1 yes yes 0-11,14-29,32-72 0-11,14-29,32-72 0,49
switch-2 1 public local default-1 yes yes 0-11,14-29,31-72 0-11,14-29,31-72 0,44
switch-1 140 public 1400000 local vCenter vlan 140 yes yes 0,49 none 49
switch-2 140 public 1400000 local vCenter vlan 140 yes yes 0,44 none none
switch-1 141 public 1410000 local vCenter vlan 140 yes yes 0,49 none 49
switch-2 141 public 1410000 local vCenter vlan 140 yes yes 0,44 none none
switch-1 142 public 1420000 local vCenter vlan 140 yes yes 0,49 none 49
switch-2 142 public 1420000 local vCenter vlan 140 yes yes 0,44 none none
switch-1 150 public 1500000 local vCenter vlan 140 yes yes 0,49 none 49
switch-2 150 public 1500000 local vCenter vlan 140 yes yes 0,44 none none
switch-1 4091 public local vlan-4091 yes yes 0,13 13 0,13
switch-2 4091 public local vlan-4091 yes yes 0,12 12 0,12
switch-1 4092 public local vlan-4092 yes yes 0,12 12 0,12
switch-2 4092 public local vlan-4092 yes yes 0,13 13 0,13
switch-1 4093 public local vlan-4093 yes yes 30,253 30,253 none
switch-2 4093 public local vlan-4093 yes yes 30,253 30,253 none
CLI (network-admin@switch-1) > vtep-vxlan-show
name vxlan
------ -------
vtep-1 1400000
vtep-1 1410000
vtep-1 1420000
vtep-1 1500000
vtep-2 1400000
vtep-2 1410000
vtep-2 1420000
vtep-2 1500000