The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DNS details of HP-UX ksailesh HP-UX 2 01-10-2008 05:45 PM
DNS details of HP-UX ?? ksailesh Shell Programming and Scripting 1 01-10-2008 03:58 PM
How does one get HW details? garethh UNIX for Dummies Questions & Answers 3 02-22-2006 08:18 PM
awk command details nithin03051985 Shell Programming and Scripting 2 11-28-2005 08:02 AM
Ipc Details G.Vishnuvardhan UNIX for Dummies Questions & Answers 2 07-26-2005 02:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-05-2005
geralex geralex is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 16
Interface Details for HP-UX Box

Hi All,

I've recently been given an HP-UX Visualise J5600 to look after which runs our backup management software - it's connected to the network via 2 Gigabit Fibre channel cables.

Any ideas which command will give me the full connection details for those interfaces (and/or any others coming out the back of this box!) The card and slot details would be helpful as well as the ip addresses.

My concern is that although the ip address for the actual server is on one network, that at least one of the FC connections is assigned to a seperate VLAN (the backend network normally deals with the actual backup traffic) - would this be reflected in the answer to the above command or is there a seperate command to show all details of all interfaces?

(Moderators - I'm not sure if this is more a HP-UX question than a specific Dummies one so let me know if it needs to be posted elsewhere...)

Thanks for your help.
  #2 (permalink)  
Old 04-05-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Use the command 'lanscan' to get basic details of the devices that are present on your system.

Then use ifconfig <lan_if_name> to get details about each interface.

Hope this helps.

Cheers!
  #3 (permalink)  
Old 04-05-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
This is HP-UX specific and I will move it to the HP-UX forum at some point.

I prefer ioscan over lanscan. There is also "netstat -i". But the lanadmin command in interactive mode will show the most info. Below, I show them all in use. What I typed is in green. Some important info is in red. A few remarks that I added are in blue.

Code:
Script started on Tue Apr  5 10:17:03 2005
# netstat -i
Name      Mtu  Network         Address         Ipkts   Ierrs Opkts   Oerrs Coll
lan2      1500 192.168.49.0    zxcvbnm1        890529567 0     2366045846 0     0   
lo0       4136 loopback        localhost       126109  0     126109  0     0   
# lanscan
Hardware Station        Crd  Hdw   Net-Interface    NM   MAC       HP-DLPI DLPI
Path     Address        In#  State NamePPA          ID   Type      Support Mjr#
0/1/2/0  0x00306EF4542C 0    UP    lan0 snap0       1    ETHER       Yes   119
0/5/1/0/6/0 0x00306E4C5E40 2    UP    lan2 snap2       2    ETHER       Yes   119   So PPA of lan2 really is 2 (almost always the case)
0/5/2/0/6/0 0x00306E4C8E5B 3    UP    lan3 snap3       3    ETHER       Yes   119
0/2/1/0  0x00306EEAB301 1    UP    lan1 snap1       4    ETHER       Yes   119
0/6/1/0  0x00306EEAD39B 4    UP    lan4 snap4       5    ETHER       Yes   119
# ioscan -fC lan
Class     I  H/W Path     Driver   S/W State   H/W Type     Description
========================================================================
lan       0  0/1/2/0      igelan   CLAIMED     INTERFACE    HP A6825-60101 PCI 1000Base-T Adapter
lan       1  0/2/1/0      btlan    CLAIMED     INTERFACE    HP A5230A/B5509BA PCI 10/100Base-TX Addon
lan       2  0/5/1/0/6/0  igelan   CLAIMED     INTERFACE    HP A9782-60001 PCI/PCI-X 1000Base-SX FC/GigE Combo Adapter
lan       3  0/5/2/0/6/0  igelan   CLAIMED     INTERFACE    HP A9782-60001 PCI/PCI-X 1000Base-SX FC/GigE Combo Adapter
lan       4  0/6/1/0      btlan    CLAIMED     INTERFACE    HP A5230A/B5509BA PCI 10/100Base-TX Addon
# lanadmin


          LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0
                       Tue , Apr 5,2005  10:18:07

               Copyright 1994 Hewlett Packard Company.
                       All rights are reserved.

Test Selection mode.

        lan      = LAN Interface Administration
        menu     = Display this menu
        quit     = Terminate the Administration
        terse    = Do not display command menu
        verbose  = Display command menu

Enter command: lan

LAN Interface test mode. LAN Interface PPA Number = 0

        clear    = Clear statistics registers
        display  = Display LAN Interface status and statistics registers
        end      = End LAN Interface Administration, return to Test Selection
        menu     = Display this menu
        ppa      = PPA Number of the LAN Interface
        quit     = Terminate the Administration, return to shell
        reset    = Reset LAN Interface to execute its selftest
        specific = Go to Driver specific menu

Enter command: ppa
Enter PPA Number.  Currently 0: 2  From lan2 above

LAN Interface test mode. LAN Interface PPA Number = 2

        clear    = Clear statistics registers
        display  = Display LAN Interface status and statistics registers
        end      = End LAN Interface Administration, return to Test Selection
        menu     = Display this menu
        ppa      = PPA Number of the LAN Interface
        quit     = Terminate the Administration, return to shell
        reset    = Reset LAN Interface to execute its selftest
        specific = Go to Driver specific menu

Enter command: display

                      LAN INTERFACE STATUS DISPLAY
                       Tue , Apr 5,2005  10:18:25

PPA Number                      = 2
Description                     = lan2 HP PCI-X 1000Base-SX Release B.11.11.11
Type (value)                    = ethernet-csmacd(6)
MTU Size                        = 1500
Speed                           = 1000000000
Station Address                 = 0x306e4c5e40
Administration Status (value)   = up(1)
Operation Status (value)        = up(1)
Last Change                     = 369050172
Inbound Octets                  = 671979624
Inbound Unicast Packets         = 725393819
Inbound Non-Unicast Packets     = 15786530
Inbound Discards                = 40
Inbound Errors                  = 0
Inbound Unknown Protocols       = 313244
Outbound Octets                 = 190507938
Outbound Unicast Packets        = 2208637279
Outbound Non-Unicast Packets    = 203891
Outbound Discards               = 0
Outbound Errors                 = 0
Outbound Queue Length           = 1
Specific                        = 655367

Press <Return> to continue


Ethernet-like Statistics Group

Index                           = 2
Alignment Errors                = 0
FCS Errors                      = 0
Single Collision Frames         = 0
Multiple Collision Frames       = 0
Deferred Transmissions          = 0
Late Collisions                 = 0
Excessive Collisions            = 0
Internal MAC Transmit Errors    = 0
Carrier Sense Errors            = 0
Frames Too Long                 = 0
Internal MAC Receive Errors     = 0


LAN Interface test mode. LAN Interface PPA Number = 2

        clear    = Clear statistics registers
        display  = Display LAN Interface status and statistics registers
        end      = End LAN Interface Administration, return to Test Selection
        menu     = Display this menu
        ppa      = PPA Number of the LAN Interface
        quit     = Terminate the Administration, return to shell
        reset    = Reset LAN Interface to execute its selftest
        specific = Go to Driver specific menu

Enter command: quit
# 

script done on Tue Apr  5 10:18:37 2005
  #4 (permalink)  
Old 04-06-2005
geralex geralex is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 16
Perderabo, Blowtorch

Thanks for your help - this is exactly what's needed!

Much appreciated.

Ger
Closed Thread

Bookmarks

Tags
network

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0