- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- Switch behavior with untagged interswitch links
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
08-13-2013 04:43 AM
08-13-2013 04:43 AM
Hello,
I was wondering during a discussion about tagged and untagged packets what happens to packets when they pass through a layer 2 interswitch link.
The example setup was basic and as follows:
2 HP Procurve switches directly connected
Vlan 1 and VLAN 2 present on both switches
Interswitch link configured with VLAN 1 untagged and VLAN 2 tagged
2 PC connected in VLAN 1, 1 on each switch
When the 2 PCs need communicate to communicate the packet reaches the switch untagged. The switch know that untagged packets belong to VLAN 1, basic switching begins and after all the arps and lookups the switch learns that the packets need to be forwarded out over the interswitch link.
The interswitch link is, however, untagged for VLAN 1.
How does the switch handle this? I came up with a few possibilities, but I don't know which one is the correct one.
1. The packets get tagged with a VLAN 1 tag upon entering the switch and the tag gets stripped when leaving the switch out of the interswitch link interface.
2. The packets get tagged with a VLAN 1 tag upon entering the switch and the tag remains when leaving the interswitch link interface. The fact that VLAN 1 is untagged on the interswitchlink does not matter, this also allows tagged VLAN 1 packets.
3. The packet enters the switch, but does not get tagged, it remains untagged (very unlikely IMHO)
Has anyone ever done any research into HP switch behavior as far as tagging and untagging is concerned on interswitch inks? If so, is there any technical documentation on this behavior?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 05:57 PM
08-13-2013 05:57 PM
SolutionIt seems to me that there's another question behind this question, but I'll answer as best I can.
What happens is most closely identified with solution 1 that you've listed. Packets internally are handled with tags. When a packet comes in without a tag, it is assigned to the VLAN that is untagged on that port, and this stays with it. So if an untagged packet comes in on a port configured with VLAN 2 untagged, it will be tagged if it goes out the inter-switch link. If a packet is sent out a port where its VLAN is untagged, its tag is removed automatically by the switch on egress.
So the bottom line is as long as you have your ports set up in the VLANs you want, and your inter-switch links matching tagged and untagged ports (GVRP is by far the easiest way to do this), then you don't have to care about how it works - the switch will handle the tagging and untagging automatically.
I hope that answers your questions.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 11:34 PM
08-13-2013 11:34 PM
Re: Switch behavior with untagged interswitch links
Hi Paul,
Thanks for the answer!
Regards,
Johan