- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lan card status check
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
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
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
01-04-2014 02:46 PM
01-04-2014 02:46 PM
lan card status check
i need command for below mentioned query
1.how many lan card connected in this server
2.what is the lan card status of this server
- Tags:
- netstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2014 04:57 PM - edited 01-04-2014 05:00 PM
01-04-2014 04:57 PM - edited 01-04-2014 05:00 PM
Re: lan card status check
>> 1.how many lan card connected in this server
netstat -in
for example:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lan1 1500 10.11.10.0 10.11.10.215 8419648 0 14439472 0 0 lan0 1500 10.11.10.0 10.11.10.210 5802811 0 5163360 0 0 lo0 32808 127.0.0.0 127.0.0.1 372083 0 372082 0 0 lan0:1 1500 10.11.10.0 10.11.10.213 100 0 100 0 0
>> 2.what is the lan card status of this server
lanscan
For example:
# 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 0x0017A4AB5467 0 UP lan0 snap0 1 ETHER Yes 119 0/2/1/0/6/0 0x0015605E7150 3 UP lan3 snap3 2 ETHER Yes 119 0/3/1/0/6/0 0x00306E4CCEAD 2 UP lan2 snap2 3 ETHER Yes 119 0/1/2/1 0x0017A4AB5466 1 UP lan1 snap1 4 ETHER Yes 119 LinkAgg0 0x000000000000 900 DOWN lan900 snap900 6 ETHER Yes 119 LinkAgg1 0x000000000000 901 DOWN lan901 snap901 7 ETHER Yes 119 LinkAgg2 0x000000000000 902 DOWN lan902 snap902 8 ETHER Yes 119 LinkAgg3 0x000000000000 903 DOWN lan903 snap903 9 ETHER Yes 119 LinkAgg4 0x000000000000 904 DOWN lan904 snap904 10 ETHER Yes 119
and also: lanadmin -g #
where # is lan#
For example:
# lanadmin -g 0
LAN INTERFACE STATUS DISPLAY Sat, Jan 4,2014 19:52:16 PPA Number = 0 Description = lan0 HP PCI-X 1000Base-T Release B.11.31.1112 Type (value) = ethernet-csmacd(6) MTU Size = 1500 Speed = 1000000000 Station Address = 0x17a4ab5467 Administration Status (value) = up(1) Operation Status (value) = up(1) Last Change = 453 Inbound Octets = 167433734 Inbound Unicast Packets = 82332 Inbound Non-Unicast Packets = 811459 Inbound Discards = 0 Inbound Errors = 0 Inbound Unknown Protocols = 2100 Outbound Octets = 14571358 Outbound Unicast Packets = 364 Outbound Non-Unicast Packets = 73271 Outbound Discards = 0 Outbound Errors = 0 Outbound Queue Length = 0 Specific = 655367 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
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2014 10:29 PM
01-07-2014 10:29 PM
Re: lan card status check
if it is HP-UX 11-31 run command nwmgr . It will show which lan cards can communicate outside network