vport-create

This command is used to create a virtual port on a switch. Virtual ports track information across nodes on the fabric.

Syntax   vport-create

mac mac-address

Specify the MAC address of the vPort.

Specify up to two of the following options:

vlan vlan-id

Specify a VLAN from 0 to 4095.

vxlan vxlan-id

Specify a VXLAN from 0 to 16777215.

vnet vnet-name

Specify a VNET assigned to the vPort.

Specify at least one of the following options:

ip ip-address

Specify an IP address.

owner node-name

Specify the switch ID.

intf intf-number

Specify the interface number.

Specify any of the following options:

bd bridge-domain-name

Specify the Bridge Domain assigned to vPort.

inner-vlan 0..4095

Specify the Q-in-Q inner VLAN assigned to vPort.

public-vlan vlan-id

Specify the ID of the public VLAN.

num-ips num-ips-number

Specify the number of IP addresses for the vPort.

config-intf config-intf-number

Specify the configuration interface number.

svc-name svc-name-string

Specify the vCenter connection service name.

hostname hostname-string

Specify the host name of the switch.

entity entity-string

Specify the VM or VM Kernel device name.

power none|powered-off|powered-on|standby|suspended|unknown

Specify the vPort entry power status.

cpus cpus-number

Specify the number of CPUs assigned to the VM.

os os-string

Specify an operating system, such as CentOS or Ubuntu, on the VM.

portgroup portgroup-string

Specify the Port Group name associated with VM MAC address.

pg-vlans vlan-list

Specify the valid VLANs for the port group.

vswitch vswitch-string

Specify the vitual switch name associated with the NIC.

vs-type none|host-vs|distributed-vs|unknown

Specify the virtual switch type.

vnic-type untagged|tagged|trunked|vm-mgmt|vm-kernel|vMotion|vSAN|FTL|rep|p-NFC|r-NFC|mgmt|unknown

Specify the type of vNIC attached to the VM or VM Kernel.

rem-switch node-name

Specify the remote switch for the vPort.

hw-index hw-index-number

Specify the hardware index number.

rt-if rt-if-string

Specify the router interface.

hw-flags invalid-vlan|invalid-port

Specify the vPort hardware flags.

Defaults   None

Access   CLI

History   

Version 2.2

Command introduced.

Version 2.3

The parameters, num-ips and vm-status, added.

Version 2.3.1

The parameter, switch-id, changed to owner.

Version 2.4

The parameters, hw-index and rt-if, added.

Version 2.4.1

The parameters, vnet, hw-flags, and public-vlan, added. The parameter, blocked-ports, deprecated.

Version 2.6.2

The parameter, svc-name, power, entity, portgroup, pg-vlans, vswitch, vs-type, and vnic-type, added.

The parameters, hypervisor, vm-id, vm-name, vm-flavor, vm-status, memory, deprecated.

Usage   Use this command to create a vPort on the switch. vPorts are mirrored across the fabric so that every switch knows about all the L2 entries on the fabric. This is useful for troubleshooting connections across the fabric.

Examples  To configure a vPort with the MAC address of 06:60:00:02:10:38, IP address of 192.168.11.11, on VLAN 107, use the following syntax:

CLI network-admin@switch > vport-create mac 06:60:00:02:10:38 vlan 107 ip 192.168.11.11


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south