I've been wrangling with connecting a Catalyst 4006 (running CatOS) to a Cisco GbESM switch module (running IOS) in an IBM BladeCenter.
One area in which I'm still not sure how everything "fits together" is in terms of VLANs (native and not), trunking and 802.1q. The problems stem from the way the GbESM modules in the BladeCenters are setup, but I'm temporarily unable to change how they work. Specifically, the GbESM ships with it's management ports in VLAN 1 and all other ports in VLAN 2. Unfortunately for me, all the ports on my Catalyst 4006 are in VLAN 1.
If I don't set dot1q to "off", I get this when (in CatOS) when I try and connect the GbESM to the Catalyst:
CAT4000-1> (enable) sh port 4/20
- = Configured MAC Address
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ -----
------------ 4/20 connected trunk normal a-full a-1Gb
10/100/1000Note that the VLAN status is "trunk". In this example, if the VLAN status is "trunk", I am unable to pass any data to the BladeCenter -- I presume that it's expecting traffic on VLAN 2, and it's only receiving traffic on VLAN 1 (which is what the 4006 has all of its ports in) so it's not receiving any data. However, if I turn off dot1q (using this command: set trunk 4/20 off dot1q 1-1005,1025-4094), on the port connecting the two switches, I get this:
CAT4000-1> (enable) sh port 4/20
- = Configured MAC Address
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ -----
------------ 4/20 connected 1 normal a-full a-1Gb
10/100/1000And now everything works fine. My question is, what exactly is the "set trunk 4/20 off dot1q 1-1005,1025-4094" command accomplishing?
%CDP-4-NVLANMISMATCH:Native vlan mismatch detected on port 4/20". Am I to presume that the dot1q command effectively tells the 4006 to ignore the VLANs that it's seeing, and just pretend everything is in VLAN 1? I suppose my ultimate question is, why does it work this way but no others?
I have a reasonable idea of how VLANs work, but when it comes to trunking and 802.1q I fear that I am getting a little lost. Any replies helping to clarify this would be, by me, appreciated!
TIA and HAND,
Chris