Solved

Script to verify Vlan on HPUX

Posted on 2009-04-01
4
771 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 500 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

Independent Software Vendors: 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…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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