Configuring Vmware ESX Networking via CLI (Part II)


This is a continuation of Configuring Vmware ESX Networking via CLI (Part I). This 2nd Part dealt with Port Group. The material of this blog is taken from

  1. Configuring networking from the ESX service console command line (kb.vmware.com)
  2. New User’s Guide to Configuring VMware ESX Networking via CLI (blog.scottlowe.org)

Portgroup Configurations

1. What is vmware Port Group? For more inforamtion,  you may want to see the Vmware Virtual Networking Concepts (pdf)

2. Creating a Port Group

# esxcfg-vswitch -A <Port Group Name> <vSwitch Name>

3. To set the VLAN ID for a Port Group

# esxcfg-vswitch -v <VLAN ID> -p <Port Group Name> <vSwitch Name>

For example,

# esxcfg-vswitch -v 0 -p “Service Console” vSwitch0

where 0 is the VLAN ID

4. Deleting a Port Group

# esxcfg-vswitch -D <Port Group Name> <vSwitch Name>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s