Connecting ESXi server to Cisco switch

When Connecting ESXi server to Cisco Switch, do we need to manually configure a Trunk link or it gets configured automatically.
I believe in VMware VSphere, you can specify which Vlans allowed from the network to talk  to ESX server, in this case do we need to do the same on the other end (Cisco switch port).?

Thank you
jskfanAsked:
Who is Participating?
 
ajeabConnect With a Mentor Commented:
config cisco port as trunk on the interface

config t
int g0/2 (your uplink port)

switchport  mode trunk
switchport trunk encap dot1q  (if need)

you can combine multiple port to etherchannel too

then on ESXi, just define the vlan for each network.
0
 
carlrjrConnect With a Mentor Commented:
Yes, you can configure ESXi virtual switch and VLAN but the trunk will not automatically configure in the Cisco switch.

Without knowing exact Cisco switch and/or configuration, I'll suggest starting here for trunk configure:
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/4_2/nx-os/interfaces/configuration/guide/if_nxos/if_access_trunk.html#wp1433331
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
You will need to do, some configuration on both ESXi and Cisco switch, it does not get created automatically.

Make sure that both network interfaces applied to the trunk on ESXi are both Active/Active.

vLANs are defined on the individual port groups on the vSwitch.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
jskfanAuthor Commented:
If we do nothing (No Configuration) on Switch port and nothing on ESXi , I believe all computers in the Network can access the VMs. Correct ?
0
 
ajeabCommented:
to default vlan only.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
Depends what has been configured on the TRUNK ports on the switch.
0
 
ajeabConnect With a Mentor Commented:
by default, all ports on cisco are on vlan 1.
0
 
jskfanAuthor Commented:
Thank you Guys!
0
All Courses

From novice to tech pro — start learning today.