Difference between revisions of "Port Trunking for Virtualisation"

From Peter Pap's Technowiki
Jump to: navigation, search
(Created page with " == Trunking ports for VMware == To trunk the first 4 ports on a switch, apply the following commands to Cisco Switch command line: '''conf t interface range GigabitEth...")
 
 
Line 1: Line 1:
 
 
== Trunking ports for VMware ==
 
== Trunking ports for VMware ==
  
 
To trunk the first 4 ports on a switch, apply the following commands to Cisco Switch command line:
 
To trunk the first 4 ports on a switch, apply the following commands to Cisco Switch command line:
  
     '''conf t
+
     '''conf t'''
     interface range GigabitEthernet1/1 - 4
+
     '''interface range GigabitEthernet1/1 - 4'''
     description Some Description'''
+
     '''description Some Description'''
 
     '''switchport trunk encapsulation dot1q''' – ESX only supports dot1q and not ISL
 
     '''switchport trunk encapsulation dot1q''' – ESX only supports dot1q and not ISL
 
     '''switchport trunk allowed vlan 100,200''' – Allowed VLANs
 
     '''switchport trunk allowed vlan 100,200''' – Allowed VLANs

Latest revision as of 05:45, 13 July 2015

Trunking ports for VMware

To trunk the first 4 ports on a switch, apply the following commands to Cisco Switch command line:

   conf t
   interface range GigabitEthernet1/1 - 4
   description Some 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/ESXi 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 mode. 
   end