Solved

see if a vlan is active

Posted on 2013-05-23
9
406 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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…

786 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