cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9964
Views
0
Helpful
2
Replies

ESX/VMWare Switch Port Configuration

jdavid6568
Level 1
Level 1

Does anyone know how to configure a 3560 switch port that is connecting to an ESX host with multiple VM's??

1 Accepted Solution

Accepted Solutions

You'll also want to enable a couple more things

1. Prune un-necessary VLANS - switchport trunk allowed vlan x,y,z

2. Disable STP as neither the vSwitch or N1K use it - spanning-tree portfast trunk

3. Enable bpdufilter -  spanning-tree bpdufilter enable

These are all best practices and will keep your links efficient & protected.

Regards,

Robert

View solution in original post

2 Replies 2

Chad Peterson
Cisco Employee
Cisco Employee

Hi Jason,

Most of the time people will configure the port as a trunk to the ESX host.  So on the 3560 you can just do:

switchport trunk encap dot1q

switchport mode trunk

This will allow your VMs to be in different vlans if you would like.

Chad Peterson

CCIE 23213

Network Consulting Engineer

.:|:.:|:.

  CISCO

PDI Data Center

http://www.cisco.com/go/pdihelpdesk

You'll also want to enable a couple more things

1. Prune un-necessary VLANS - switchport trunk allowed vlan x,y,z

2. Disable STP as neither the vSwitch or N1K use it - spanning-tree portfast trunk

3. Enable bpdufilter -  spanning-tree bpdufilter enable

These are all best practices and will keep your links efficient & protected.

Regards,

Robert

Review Cisco Networking for a $25 gift card