?
Solved

see if a vlan is active

Posted on 2013-05-23
9
Medium Priority
?
479 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 501 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 498 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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
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 501 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

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

589 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