<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: command for finding out network cards in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554566#M225560</link>
    <description>Here's one that you can modify:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/lancards&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# script to check speed and settings of lan cards&lt;BR /&gt;PATH=/usr/sbin:/usr/bin&lt;BR /&gt;ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`&lt;BR /&gt;for i in $ppas&lt;BR /&gt;do&lt;BR /&gt;printf "Card at PPA %s - " $i&lt;BR /&gt;ipa=`ifconfig lan${i} 2&amp;gt;/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assigned")}else{printf("%s ",ip)}}'`&lt;BR /&gt;printf "IP Address: %15s- " "$ipa"&lt;BR /&gt;lanadmin -x $i 2&amp;gt;/dev/null | awk '{$1="";printf("%s",$0)}'&lt;BR /&gt;echo ""&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Mon, 30 May 2005 12:55:56 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2005-05-30T12:55:56Z</dc:date>
    <item>
      <title>command for finding out network cards</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554564#M225558</link>
      <description>Floks,&lt;BR /&gt;&lt;BR /&gt;What is command to find out network interface cards along with virtual IPs on hpux 11i ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Mon, 30 May 2005 12:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554564#M225558</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-05-30T12:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: command for finding out network cards</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554565#M225559</link>
      <description>hi Shivkumar&lt;BR /&gt;most networking details  can be found with &lt;BR /&gt;&lt;BR /&gt;netstat -in &lt;BR /&gt;lanadmin&lt;BR /&gt;lanscan &lt;BR /&gt;ifconfig.&lt;BR /&gt;&lt;BR /&gt;see the man pages for details.&lt;BR /&gt;regards.</description>
      <pubDate>Mon, 30 May 2005 12:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554565#M225559</guid>
      <dc:creator>Henk Geurts</dc:creator>
      <dc:date>2005-05-30T12:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: command for finding out network cards</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554566#M225560</link>
      <description>Here's one that you can modify:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/lancards&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# script to check speed and settings of lan cards&lt;BR /&gt;PATH=/usr/sbin:/usr/bin&lt;BR /&gt;ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`&lt;BR /&gt;for i in $ppas&lt;BR /&gt;do&lt;BR /&gt;printf "Card at PPA %s - " $i&lt;BR /&gt;ipa=`ifconfig lan${i} 2&amp;gt;/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assigned")}else{printf("%s ",ip)}}'`&lt;BR /&gt;printf "IP Address: %15s- " "$ipa"&lt;BR /&gt;lanadmin -x $i 2&amp;gt;/dev/null | awk '{$1="";printf("%s",$0)}'&lt;BR /&gt;echo ""&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 30 May 2005 12:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554566#M225560</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-05-30T12:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: command for finding out network cards</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554567#M225561</link>
      <description>Hi shiva,&lt;BR /&gt;&lt;BR /&gt;Example.. in my sytem how do i map..see at the end..&lt;BR /&gt;&lt;BR /&gt;[rx260-04]/senthil &amp;gt;netstat -in&lt;BR /&gt;Name      Mtu  Network         Address         Ipkts   Ierrs Opkts   Oerrs Coll&lt;BR /&gt;lan2      1500 15.54.200.0     15.54.202.134   45131   0     9035    0     0&lt;BR /&gt;lan1      1500 192.168.0.0     192.168.202.134 43546   0     1       0     0&lt;BR /&gt;lo0       4136 127.0.0.0       127.0.0.1       45      0     45      0     0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[rx260-04]/senthil &amp;gt;lanscan&lt;BR /&gt;Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI&lt;BR /&gt;Path     Address        In# State NamePPA        ID  Type      Support Mjr#&lt;BR /&gt;0/0/3/0  0x00306E39C705 0   UP    lan0 snap0     1   ETHER     Yes     119&lt;BR /&gt;0/1/2/0  0x00306E394737 1   UP    lan1 snap1     2   ETHER     Yes     119&lt;BR /&gt;0/4/1/0  0x00306E4A794C 2   UP    lan2 snap2     3   ETHER     Yes     119&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[rx260-04]/senthil &amp;gt;ioscan -funC lan&lt;BR /&gt;Class     I  H/W Path  Driver  S/W State   H/W Type     Description&lt;BR /&gt;====================================================================&lt;BR /&gt;lan       0  0/0/3/0   intl100 CLAIMED     INTERFACE    Intel PCI Pro 10/100Tx Server Adapter&lt;BR /&gt;lan       1  0/1/2/0   igelan  CLAIMED     INTERFACE    HP PCI 1000Base-T Core&lt;BR /&gt;lan       2  0/4/1/0   btlan   CLAIMED     INTERFACE    HP A5230A/B5509BA PCI 10/100Base-TX Addon&lt;BR /&gt;&lt;BR /&gt;netstat -in    --&amp;gt;    lanscan   --&amp;gt;   ioscan -funC lan&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;lan1             --&amp;gt; 0/1/2/0  --&amp;gt; igelan  CLAIMED     INTERFACE    HP PCI 1000Base-T Core&lt;BR /&gt;&lt;BR /&gt;lan2             --&amp;gt;  0/4/1/0 --&amp;gt; HP A5230A/B5509BA PCI 10/100Base-TX Addon&lt;BR /&gt;&lt;BR /&gt;get the point..&lt;BR /&gt;&lt;BR /&gt;Regards :)&lt;BR /&gt;</description>
      <pubDate>Mon, 30 May 2005 13:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-for-finding-out-network-cards/m-p/3554567#M225561</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2005-05-30T13:00:18Z</dc:date>
    </item>
  </channel>
</rss>

