Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script to verify Vlan on HPUX

Posted on 2009-04-01
4
Medium Priority
?
773 Views
Last Modified: 2013-12-21
I need a script to verify the vlan thru linkloop of the interfaces of each servers in the vlan.
We are recabling 100 servers and this will be our check to verify that all the cables and vlans are correct after the recabling.

I need that script is smart enough to verify the central server so that there will be a central server identified to linkloop the mac address of all the servers in that same vlan.
0
Comment
Question by:oo07
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 3

Accepted Solution

by:
Craig Sharp earned 1000 total points
ID: 24058813
Good morning,

I do not have a script but you could use something very simple with a couple of commands.

Use lanscan to get the hardware address of the distant station (link address) ie:
0/5/1/0/4/0 0x001A4BF56734 2 UP lan2 snap2 1 ETHER Yes 119

then from your local station:
linkloop -i 0x001A4BF56734

This will test the actual physical connectivity between stations and then ping your subnet gateway and then outside the gateway.


0
 

Author Comment

by:oo07
ID: 24060340
1. How will I know and verify that the server1 is not connected anymore from the original Vlan
2. I know the commands already but I need a script also to make my tasks faster in checking 100 servers vlans instead of typing one by one.
3. Two servers can linkloop each other but we cannot see their MACs into the switches. How will I know if they are in different vlans, or if htey are using hubs in between or they are just connected with crossover cables?


0
 

Author Comment

by:oo07
ID: 24063548
Any updates on this please?
0
 

Author Comment

by:oo07
ID: 24067735
Hi ,
tfewster had a very good and related suggestion from a ticket I opened before. tfewster, maybe you can help us please since we need this script as soon as possible. Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Background Still having to process all these year-end "csv" files received from all these sources (including Government entities), sometimes we have the need to examine the contents due to data error, etc... As a "Unix" shop, our only readily …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

722 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