Sponsored Content
Operating Systems HP-UX Interface Details for HP-UX Box Post 68548 by Perderabo on Tuesday 5th of April 2005 10:37:40 AM
Old 04-05-2005
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

 

9 More Discussions You Might Find Interesting

1. Solaris

Determine Solaris box network interface?

Given a new Solaris box, with a fresh, unconfigured install on it, how does one figure out what kind of network interface it has (bge,le, hme, etc)? (8 Replies)
Discussion started by: akbar
8 Replies

2. Solaris

ip details for interface requests.

Hi All, I have an interface port configured to a FBOL server. This port receives requests from various hosts. I want to know at any moment of time ip addresses of all those hosts from which the requests are coming in. Please help me with command/script. (2 Replies)
Discussion started by: digitalrg
2 Replies

3. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

4. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

5. Solaris

Getting Network Interface details in solaris

Hi, /sbin/ifconfig -a when i login as guest user , output like below, lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 eri0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet... (5 Replies)
Discussion started by: forumguest
5 Replies

6. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

7. UNIX for Dummies Questions & Answers

at -l doesnt give details of the scheduled job. How to get the details?

I have scheduled couple of shell scripts to run using 'at' command. The o/p of at -l is: $ at -l 1320904800.a Thu Nov 10 01:00:00 2011 1320894000.a Wed Nov 9 22:00:00 2011 1320876000.a Wed Nov 9 17:00:00 2011 $ uname -a SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies

8. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

9. Shell Programming and Scripting

Notify when the script run(hourly)on my jump-box only when there is a failure on my remote-box

Team, Presently I have a script, which i have set up cron on one of my Jump-boxes,and gives me the output on every hourly basis,fetching the data from the remote machine.Basically it gives me the list of all active users logged and its count once we execute the script.Here the count is... (6 Replies)
Discussion started by: whizkidash
6 Replies
All times are GMT -4. The time now is 02:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy