I have a netgear GSM7324 and a managed Cisco switch. I need to connect the Cisco switch to the netgear. The Cisco switch will only need to have vlan 3 on it. Do I still need to set up a trunk port to connect the Cisco and Netgear or would it just set it for switch port mode access and switch access vlan 3 ?

link|improve this question

feedback

3 Answers

up vote 5 down vote accepted

I'd create the vlan on both sides and use a tagged trunk port for this. It might sound overkill, but imagine the warm fuzzy feeling you'll get inside the day you need to add another VLAN to the switches.

Edit: It's easy on Cisco switches to limit which VLANS who can travel across the trunk port:

interface GigabitEthernet1/0/1
 description Trunkport to Netgear switch
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 1
 switchport trunk allowed vlan 3
 switchport mode trunk
 speed 1000
 duplex full
end
link|improve this answer
1  
+1 for probably needing more VLANS in the future – jftuga Nov 1 '11 at 14:41
the vlan is already created on both sides. On both interfaces do I enter the following command: switch port trunk ? – evolvd Nov 1 '11 at 14:43
1  
On Cisco IOS the command is switchport **mode** trunk. What works on netGear is anybody's guess. – adaptr Nov 1 '11 at 14:46
You could also use "switchport trunk allowed-vlan" to make sure that only certain VLAN's are accepted on the trunk link. – pauska Nov 1 '11 at 14:52
Good stuff! Thanks. – evolvd Nov 1 '11 at 15:29
feedback

On Cisco equipment, VLAN 1 is always a member of any trunk - you cannot exclude it.

Either make sure you know the implications, or don't use VLAN 1.

Before someone thinks I misread his question - this means that ANY trunk with one defined VLAN will in actual fact contain two - the defined VLAN and VLAN 1.

link|improve this answer
yeah Im fine with the native vlan getting to it, I just need to make sure vlan 3 gets from one switch to the other. – evolvd Nov 1 '11 at 14:48
feedback

If you just need one vlan the easiest and cleanest way is to set the port to access.

EDIT: Ok, so some questions:

  • Do netgear support perVLAN spanning tree on its trunk ports?
  • Do netgear support CDP or VTP?
  • what kind of loop detection netgear uses?

If one just connect these two switches in their basement all is fine.

I saw huge problems connecting Huawei and Cisco switches in an enterprise network. However Huawei is not the cheapest SOHO gear.

link|improve this answer
Easiest, yes.. but further down the road if you ever want to add more vlans it's not easy at all. – pauska Nov 1 '11 at 14:12
If you mix cisco switches with dumb switches like netgear do not let their trunk ports together or chaos will emerge. (Believe me that kind of setup asks for trouble.) – cstamas Nov 1 '11 at 14:44
the netgear is a layer 3 switch – evolvd Nov 1 '11 at 14:47
1  
@cstamas: Also incorrect. Any managed layer2 switch can operate fine with Cisco equipment. VLAN is VLAN. – pauska Nov 1 '11 at 14:50
@pauska it all depends on if you want to create a network or a mess. Read my update. – cstamas Nov 1 '11 at 15:05
show 2 more comments
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.