Solved

Cisco switch settings to support VMware ESX VLAN

Posted on 2012-03-26
9
802 Views
Last Modified: 2012-04-10
Refer to the attachments:

attachment 1 MSWord doc is the number of ESX hosts I'm getting a
VMware consultant to set up with the vSwitch configuration specs.

attachment 2 is a schematic diagram of each ESX host's VLANs

attachment 3 is a list of all subnets/VLANs provided by the vSphere
administrator.

My request:
what's the exact commands I need to enter into a pair of 'stacked'
C3750X-48 (48 port) switches to support the above ESX VLANs ?
Pls give exact, detailed commands/configs
VMVsphereClustervSwitch.doc
ESXhostdgmVM.png
PdnVM-VLANs.png
0
Comment
Question by:sunhux
  • 4
  • 3
9 Comments
 

Author Comment

by:sunhux
ID: 37766223
Also, is inter-VLAN routing between the various VLANs (as in attachment 3)
needed & pls provide the exact commands to configure it if it's needed
0
 
LVL 117
ID: 37766226
Does the "VMware Consultant" not know how to configure your Cisco switches?
0
 

Author Comment

by:sunhux
ID: 37769647
No, he doesn't know. He's more of Windows & VMware person only
0
 
LVL 32

Assisted Solution

by:nappy_d
nappy_d earned 120 total points
ID: 37788526
For inter vLANOn your Cisco Switch:
Login
Go to enable mode using the command en
enter the command vlan database
now enter your vLAN numbers
Next I always like to name my vLANS
Next you need to add your switch ports to the vLAN
Are you going to use port based vLANs?
Do you have a device such as a router to perform inter vLAN routing?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 380 total points
ID: 37788770
you do not specify which VLANs per port, so here is an example.

interface GigabitEthernet2/1
 description ESX001
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 48,49,70,129,130
 switchport mode trunk
 switchport nonegotiate
 speed 1000
 duplex full
 channel-group 1 mode on
 spanning-tree portfast trunk

if you are going to channel group four ports in trunk, all your VLANs need to be specified, if you have VLANs on 48 - 512
0
 

Author Comment

by:sunhux
ID: 37820675
Thanks, hanccocka's reply quite matches what I was looking for.

Just to clarify, for vSwitch0, vMotion & Management ports on
the C3750X switch which the ESX host connects to, how do
their switch port configuration looks like?
0
 

Author Comment

by:sunhux
ID: 37820683
Also, I was told by the network engr who manages the
core switch which the C3750X distribution switch (which
ESX hosts connect to) that I can't enable inter-VLAN routing
because I'm trunking the fibre ports on the C3750X over
to the 6500 core switch.  Is this true?  Does this mean
the inter-VLAN (ie VLANs of the distribution switch) will
be routed by the core switch?
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 380 total points
ID: 37820990
the switch port configurations .look like this for all ports.

interface GigabitEthernet2/1
 description ESX001
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 48,49,70,129,130
 switchport mode trunk
 switchport nonegotiate
 speed 1000
 duplex full
 channel-group 1 mode on
 spanning-tree portfast trunk

you need to check if you want to trunk/etherchannel ports for vMotion or Management, and VLAN as well.

I suppose it depends on how your Network Engineer has configured the 6500 core switch.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now