HPE GreenLake Administration
- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Cisco router and HP procurve vlan configuration pr...
Switches, Hubs, and Modems
1827644
Members
3442
Online
109966
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 03:52 AM
05-22-2003 03:52 AM
Cisco router and HP procurve vlan configuration problem
Hi!
I'm having problems with configuring vlan's between Procurve switches and cisco router. Scenario goes as follows:
Two different networks, both will be in their on vlan, let's say vlan1 and vlan2. Both of these vlan's should be able to reach router and outside networks. I have got two 2524 switches and a fiberlink between those. Both switches have vlan1 and vlan2 ports -> I have to make a trunk. how should i do this (i mean those untagged/tagged positions?). Then there is a problem with switch to router link, which is the best/working encapsulation and in which routers you can configure encapsulation in subinterfaces?
I'm having problems with configuring vlan's between Procurve switches and cisco router. Scenario goes as follows:
Two different networks, both will be in their on vlan, let's say vlan1 and vlan2. Both of these vlan's should be able to reach router and outside networks. I have got two 2524 switches and a fiberlink between those. Both switches have vlan1 and vlan2 ports -> I have to make a trunk. how should i do this (i mean those untagged/tagged positions?). Then there is a problem with switch to router link, which is the best/working encapsulation and in which routers you can configure encapsulation in subinterfaces?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 05:25 AM
05-22-2003 05:25 AM
Re: Cisco router and HP procurve vlan configuration problem
SAy you have SW1 and SW2, with on both VLAN1 and VLAN2, assuming for example ports1-10 are on VLAN1, ports 11-20 on VLAN2.
Subnet1 is on VLAN1, Subnet2 on VLAN2.
All these ports must be UNTAGGED for the VLAN they belong to.
Then you have the port going to the router. It should be TAGGED to both VLANS in order of VLANs to access it.
As for encapsulation, it depends on your topology. If you get to the Internet, then RIP is due. If you are in an inside network, IGRP is more efficient.
HP has a good configuration example page for setting up. look at :
http://www.hp.com/rnd/support/config_examples/5300xl.htm
hth
J
Subnet1 is on VLAN1, Subnet2 on VLAN2.
All these ports must be UNTAGGED for the VLAN they belong to.
Then you have the port going to the router. It should be TAGGED to both VLANS in order of VLANs to access it.
As for encapsulation, it depends on your topology. If you get to the Internet, then RIP is due. If you are in an inside network, IGRP is more efficient.
HP has a good configuration example page for setting up. look at :
http://www.hp.com/rnd/support/config_examples/5300xl.htm
hth
J
You can lean only on what resists you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 11:36 AM
05-22-2003 11:36 AM
Re: Cisco router and HP procurve vlan configuration problem
You would be wise to avoid using VLAN1 on the trunk to the Cisco. VLAN1 is the 802.1q native VLAN so has no tagging. Some versions of the Cisco IOS do not understand this (prior to 12.1(3)T and look for tagging and get upset because there is no tagging. However, it can be done and the following link tells you most of what you need to know to connect up to the Cisco:
http://www.cisco.com/en/US/tech/tk389/tk390/technologies_configuration_example09186a00800949fd.shtml
I think it depends on your IOS rather than the router whether you can configure encapsulation on the subinterfaces. The example shows it on the subinterfaces.
I'd stick with 802.1q since it is non proprietary. That way if you decide to get a new switch or router from another manufacturer you won't have to redo both ends.
Ron
http://www.cisco.com/en/US/tech/tk389/tk390/technologies_configuration_example09186a00800949fd.shtml
I think it depends on your IOS rather than the router whether you can configure encapsulation on the subinterfaces. The example shows it on the subinterfaces.
I'd stick with 802.1q since it is non proprietary. That way if you decide to get a new switch or router from another manufacturer you won't have to redo both ends.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2003 08:27 AM
05-26-2003 08:27 AM
Re: Cisco router and HP procurve vlan configuration problem
Jani,
about the encapsulation on subinterfaces. It is not supported in every Cisco router hardware. At least Cisco 2500 series and 1720 are not trunking capable (no subinterfaces or dot1q (802.1Q) encapsulation). With those (or other similar) routers you'll have to use one physical interface (in the router) for connecting each VLAN.
Otherwise you can use 802.1Q trunking between the switch and the router:
Router (IOS 12.1(3)T or newer):
int f0/0 (or other interface)
no shutdown
int f0/0.1
encapsulation dot1q 1 native
ip address
int f0/0.2
encapsulation dot1q 2
ip address
Router (other IOS):
int f0/0
ip address
no shutdown
int f0/0.2
encapsulation dot1q 2
ip address
Switch (interface a24 used for trunking to the router):
vlan 1
untagged a24
vlan 2
tagged a24
Use the latter (style) commands also to configure trunking between the two 2524s.
Whether to use tagged or untagged, that's up to you, basically. In Cisco devices all interfaces have always one VLAN as native (untagged), other VLANs are tagged. In Procurves you can use one VLAN as untagged ("native" in cisco language) in a trunk, if you want. Additional VLANs must be tagged in any case.
In the previous example, if you wanted to tag both VLANs 1 and 2, you can always configure the Cisco interface with a native vlan of 999, for example, and use tagging ("encapsulation dot1q") for VLANs 1 and 2.
about the encapsulation on subinterfaces. It is not supported in every Cisco router hardware. At least Cisco 2500 series and 1720 are not trunking capable (no subinterfaces or dot1q (802.1Q) encapsulation). With those (or other similar) routers you'll have to use one physical interface (in the router) for connecting each VLAN.
Otherwise you can use 802.1Q trunking between the switch and the router:
Router (IOS 12.1(3)T or newer):
int f0/0 (or other interface)
no shutdown
int f0/0.1
encapsulation dot1q 1 native
ip address
int f0/0.2
encapsulation dot1q 2
ip address
Router (other IOS):
int f0/0
ip address
no shutdown
int f0/0.2
encapsulation dot1q 2
ip address
Switch (interface a24 used for trunking to the router):
vlan 1
untagged a24
vlan 2
tagged a24
Use the latter (style) commands also to configure trunking between the two 2524s.
Whether to use tagged or untagged, that's up to you, basically. In Cisco devices all interfaces have always one VLAN as native (untagged), other VLANs are tagged. In Procurves you can use one VLAN as untagged ("native" in cisco language) in a trunk, if you want. Additional VLANs must be tagged in any case.
In the previous example, if you wanted to tag both VLANs 1 and 2, you can always configure the Cisco interface with a native vlan of 999, for example, and use tagging ("encapsulation dot1q
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP