Of course we all know that the world isnt always Cisco — sometimes we run into other vendor switches like Nortel (OLD!), Dell, or HP.

In this blog post, we’ll go over a the term “Tagged” and “Untagged” from the HP world.  ALot of the commands run very similar to the Cisco IOS so if your familiar with that, the trusty ? will definitely help you out here.  When you do a #sh run — if your familiar with IOS you’ll be able to connect the dots no problem.

So let’s look at a vlan and see whjat this output means…

vlan 11
   name “NYC_NETWORKERS”
   untagged C3-C4,C9-C12,C14-C24,E1-E2,E10,E13-E14,E16-E18,E20,E2
   tagged A21,B1-B20,B22-B23,Trk1-Trk3
   exit

Remember in IOS we use “switchport mode access and switchport access vlan 1” if we want a port to be in a certain VLAN. No so in the HP world. To do the same — lets say port A21 we want to move from VLAN11 to — say VLAN10, we’ll do the following command from (config)# mode…

(config)#vlan 10 untagged A21

But shouldnt it be tagged? I WANT it to have the vlan10 tag, so why am I untagged it?

I did this a few times and when I couldnt get it working, I did the reverse and *poof* it works! Tagged in the HP World appears to be when you want a tag to be be sent with multiple VLANs. So in the example above, port B1 is a member of VLAN 11 and other VLANs.

So is there a #sh vlan brief command in the HP world?

Kinda, but its not as clean as t he Cisco’s. This will go down ALLL of the ports in the switch and list which VLANs they are a part of. It’s a bit clunky, so I’d prefer to just do a #sh run int A12 — for example, so see the VLANs assigned to this port.

#sh vlan ports all det

 Status and Counters – VLAN Information – for ports A1

  VLAN ID Name                 | Status     Voice Jumbo Mode    
  ——- ——————– + ———- —– —– ——–
  1       DEFAULT_VLAN         | Port-based No    No    Untagged
 
 Status and Counters – VLAN Information – for ports A2

  VLAN ID Name                 | Status     Voice Jumbo Mode    
  ——- ——————– + ———- —– —– ——–
  1       DEFAULT_VLAN         | Port-based No    No    Untagged

 

# sh run int a1

Running configuration:

interface A1
   untagged vlan 1
     exit

Hope that helps out guys!

William Zambrano

William Zambrano

NYC networkers is run by William Zambrano, a passionate network engineer who has been in the IT industry for eight years who posts up blog articles, YouTube videos, and holds meetup.com events in the NYC area. He lives in Queens, New York and has consulted in various different companies in the NY area. Previously William worked as a Cisco Certified Systems Instructor (CCSI) but now currently works for Arista Networks serving as a Systems Engineer. William can be reached by email at willzambrano@gmail.com

More Posts - Website

Follow Me:
Twitter