- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LAN cabling
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 10:24 PM
05-14-2009 10:24 PM
I have 3 ports available on my server. lan 0 is configured as Production.lan1 and lan2 are free, however one of these ports has been cabled. But how to know which port is cabled. Is there any command to check whether the port is cabled or not..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 10:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 10:32 PM
05-14-2009 10:32 PM
Re: LAN cabling
you could use also lanadmin :
#============================================
must be up :
Administration Status (value) = up(1)
Operation Status (value) = up(1)
#============================================
Enter command: display
LAN INTERFACE STATUS DISPLAY
Fri, May 15,2009 08:30:57
PPA Number = 0
Description = lan0 HP PCI 10/100Base-TX Core [NO LINK,,AUTO,TT=1500]
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 10000000
Station Address = 0x14c2441a4a
Administration Status (value) = up(1)
Operation Status (value) = down(2)
Last Change = 0
Inbound Octets = 0
Inbound Unicast Packets = 0
Inbound Non-Unicast Packets = 0
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 0
Outbound Octets = 0
Outbound Unicast Packets = 0
Outbound Non-Unicast Packets = 0
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367
Press
Ethernet-like Statistics Group
Index = 1
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 = 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: 1
LAN Interface test mode. LAN Interface PPA Number = 1
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
Fri, May 15,2009 08:31:12
PPA Number = 1
Description = lan1 HP PCI 1000Base-SX Release B.11.23.0505.04
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 1000000000
Station Address = 0x306ef5a899
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 100
Inbound Octets = 1385178559
Inbound Unicast Packets = 890808768
Inbound Non-Unicast Packets = 3628821
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 140
Outbound Octets = 993859941
Outbound Unicast Packets = 429107354
Outbound Non-Unicast Packets = 71925
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367
Press
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 = 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 10:57 PM
05-14-2009 10:57 PM
Re: LAN cabling
To check the physical connectivity you can use linkloop command.
Eg.
# linkloop -i 2 0x00108318AFED
Link connectivity to LAN station: 0x00108318AFED
--- OK ----
Note: Here, lan instance of one server is 2 and the MAC addr of the required server is 0x00108318AFED.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 11:40 PM
05-14-2009 11:40 PM
Re: LAN cabling
If you only need to know the cable connectivity for lan1, find out it's mac address then use linkloop like below.
#lanscan |grep lan1
0/3/0/0 0x00403E0470B5 1 UP lan1 snap1 6 ETHER Yes 119
#linkloop -i 1 0x00403E0470B5
Link connectivity to LAN station: 0x00403E0470B5
-- OK
Cable is connected you will get the above output. If there is no cable you will get the below output.
Link connectivity to LAN station: 0x00306E5EAA46
error: expected primitive 0x30, got DL_ERROR_ACK
dl_error_primitive = 0x2d
dl_errno = 0x04
dl_unix_errno = 57
error - did not receive data part of message
You can also check the physical cable connectivity between lan1 and lan2(or with any card on any server). For that you need to use the same linkloop command with destination mac address. For examaple to check the connectivity between lan1 and lan2,
#linkloop -i 1
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2009 12:18 AM
05-15-2009 12:18 AM
Re: LAN cabling
The card itself is normally stamped, unless its a very old network card.
lanscan will show you linked ports and can be run after cable connection so you are sure which has been cabled.
Many older versions of HP-UX will not tolerate two NIC cards/ports on the same system configured on the same network.
IP Address/Network Mask
192.168.0.10/255.255.255.0
192.158.0.11/255.255.255.0
Will not work
192.168.0.10/255.255.255.0
192.158.1.11/255.255.255.0
WILL work
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2009 12:42 AM
05-15-2009 12:42 AM
Re: LAN cabling
Thank you all, I got it..:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2009 12:42 AM
05-15-2009 12:42 AM