Cisco VLAN Routing to an HP Switch

We have an existing C3750X-24 stack and have installed a 10GB module to connect to a new HP switch supplied by a vendor.
The hp switch is on a 192.168.40.xx vlan, and they will be responsible for it's configuration.

We are responsible for configuring the cisco switch (currently just the management default vlan1) 192.168.41.xx

IP routing is enabled, and I can create a vlan for the hp's subnet.... just not sure if I only need to add the 10GB module to the HP VLAN, or all the ports?

If I only add the 10GB interface, will all the other ports see it as a gateway and route through the 10GB module automatically?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Generally speaking, vlans only need to be configured where they need to be accessed directly. On the 3750, you will likely need to enable ip routing as you mentioned you have already done, configure the new vlan (both l2 and l3), then configure the 10G port to have that vlan. Although you could configure it as an access port, I would recommend that all switch-to-switch connections be configured as a trunk even if you are only allowing a single vlan to communicate. The HP switch, and any other devices that use the new vlan should be addressed in the new subnet and use the IP on the 3750 (in the new vlan) as a default gateway.
PeppeLaPewAuthor Commented:
OK... So I have created the new VLAN. Assigned it an IP address, added the 10GB module port to the VLAN, Enabled trunking, and dot1q.

I haven't connected the 2 switches yet... is there anything else to do?

I'll attach the cisco config
PeppeLaPewAuthor Commented:
Introducing the "443 Security Simplified" Podcast

This new podcast puts you inside the minds of leading white-hat hackers and security researchers. Hosts Marc Laliberte and Corey Nachreiner turn complex security concepts into easily understood and actionable insights on the latest cyber security headlines and trends.

For starters... a hostname of Twinky - awesome.

I don't see the "vlan 2" command in there (but that doesn't mean you didn't enter the command). Make sure that vlan 2 is actually defined from a layer 2 aspect. I've been caught numerous times where I made the "interface vlan x" to create the L3 vlan, but not the required "vlan x" to make the l2 vlan.

The only potential thing left to do is configure the HP switch. You will have to set the 10G port to tag vlan 2, and untag vlan 1 (if you want vlan 1 to be available on the HP). From there, you will probably need to configure vlan 2 on the rest of the ports - usually this would be untagged for the average end device.

One thing to bear in mind... HP doesn't run spanning-tree by default (or at least not in my experience). They also don't necessarily play nice with pvst which is a Cisco technology. If you want to match everything up, you would have to use either STP or MST. That being said, if you have a single connection to the HP switch and will never have a redundant connection, spanning tree doesn't really matter.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PeppeLaPewAuthor Commented:
Dang... connected the 2 switches, and lost access to the Cisco switch... wouldn't respond to anything at the ip address.

Disconnected, and it came back to life.

The HP switch appeared unaffected, but they were not passing traffic.
Please be more specific... you lost access to the Cisco switch as in the whole network went down, or when connected to the HP switch you couldn't access the Cisco switch? Are you able to post the HP configuration?

Also, looking back at the config, you can add the following to the 10G interface:
switchport mode trunk
switchport nonegotiate
PeppeLaPewAuthor Commented:
I was remote to the switch, so all I could tell was the switch stopped responding on it's IP interface. Regardless got it working... not the way I originally wanted, but working. Had to untag packets from the HP switch, and put the port into access mode. (may have changed it to trunk mode after I uploaded the config... I don't really remember)
So it's working, but I think there will be issues if I ever need another VLAN.

Thanks for your help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.