Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 362
  • Last Modified:

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
0
jskfan
Asked:
jskfan
  • 3
  • 2
  • 2
  • +1
5 Solutions
 
carlrjrCommented:
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
 
ajeabCommented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)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
Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

 
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)VMware and Virtualization ConsultantCommented:
Depends what has been configured on the TRUNK ports on the switch.
0
 
ajeabCommented:
by default, all ports on cisco are on vlan 1.
0
 
jskfanAuthor Commented:
Thank you Guys!
0

Featured Post

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now