Solved

Script to verify Vlan on HPUX

Posted on 2009-04-01
4
770 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
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Utilizing an array to gracefully append to a list of EmailAddresses
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…

820 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