Switch Port Configuration ‐ TRUNK Mode with VLAN Pruning

Switch Port Configuration ‐ TRUNK Mode with VLAN Pruning
Note: VMware recommends utilizing VLAN technology to establish dedicated subnets for ESX
management, VMotion, and iSCSI network traffic.Only allowing through VLAN traffic on physical switch ports connecting to ESX reduces TCP/IP overhead.  Native VLANs do not tag the out going VLAN packets toward ESX NICs and if the same VLAN ID is used to configure the vSwitch port group, the vSwitch drops any packet that is not tagged for it, causing the connection to fail. Unnecessary VLAN traffic on a TRUNK port that connects to ESX can cause major performance issues.
Note: Do not use the Native VLAN ID of a physical switch as a VLAN on ESX portgroups.
This is a Cisco Switch port TRUNK sample configuration.
Apply the following commands to Cisco Switch command line:
• interface GigabitEthernet1/1
• description VMware ESX - Trunk A - NIC 0 – Port Description
• switchport trunk encapsulation dot1q – ESX only supports dot1q and not ISL
• switchport trunk allowed vlan 100,200 – Allowed VLANs
• switchport mode trunk – Enables Trunk
• switchport nonegotiate – ESX does not support DTP dynamic trunking protocol. When
configuring trunk port, set it to nonegotiate.
• spanning-tree portfast trunk – Enables PortFast on the interface when it is in trunk
Sample of ESX vSwitch configuration for VST mode:
• esxcfg-vswitch [options] [vswitch[:ports]]
• esxcfg-vswitch -v [VLANID] -p [port group name] [vswitch[:ports]]


Date Created
2012-06-15 15:44:46
Date Updated
2012-06-15 15:44:46

Powered by MaQma HelpDesk