Solved

see if a vlan is active

Posted on 2013-05-23
9
413 Views
Last Modified: 2013-06-07
I have hp procurve switches on my network, I am trying to cleanup my vlan. Is there a tool to see if a vlan is active or not? I can see if ports are active but how about vlan?


thanks
0
Comment
Question by:officertango
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 20

Assisted Solution

by:woolnoir
woolnoir earned 167 total points
ID: 39193082
When you say active... do you mean in use on ports, or do you mean with active traffic ?
The former is easy, configuration VLAN Configuration and you can see which ports are tagged and untagged with that VLAN.

If you mean traffic on the VLAN i'm not aware of any. Specifically what model of procurves do you have ?
0
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 166 total points
ID: 39193086
"show vlan x" (where "x" is the vlan number in question)

If you have multiple switches, you will need to check all of them. If you don't see any untagged ports (and you aren't tagging to servers or routers), then it's probably unused.
0
 

Author Comment

by:officertango
ID: 39193089
I would like to know which vlan is passing traffic, i know i can show port. I have HP procurve 5406.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 20

Expert Comment

by:woolnoir
ID: 39193097
HP-Switch(Config)#show vlan (Shows vlan ID, Name, Status, Voice and Jumbo support)

HP-Switch(Config)#show vlan ports a1 (Shows the vlans belonging to a1)

HP-Switch(Config)#show vlan 1 (Shows ports that are assigned to vlan 1)
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 39193099
Give those a try, i'm more of a cisco guy - but i assume they will provide the information you require.
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 39193111
You could look at the port counters to see if any traffic is being passed on interfaces that are members of the VLAN.

Or you could create an ACL and apply it to the VLAN and check for any matches.

Other than that, I don't know of a command that will tell you if a VLAN is in use.
0
 
LVL 21

Expert Comment

by:Rick_O_Shay
ID: 39194171
It might help you to narrow things down by checking  for active entries for that VLAN/Subnet in  the ARP table on your router/L3 switch and MAC address tables in the L2 switches.

This will tell you if there are any stations currently using that VLAN.
Just remember it is no guarantee that there are not inactive stations that might use the VLAN that are just down right now.
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 39194194
A valid approach, but it would only show devices communicating with hosts on different VLANs.
0
 
LVL 21

Accepted Solution

by:
Rick_O_Shay earned 167 total points
ID: 39194463
Generally almost every host communicates with the Internet, even if not with other networks locally, so it is pretty likely there would be an ARP entry for any active devices.
And every currently active device has a mac entry in the switch's forwarding database which hopefully flags what VLAN it was learned in.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question