hp ux: Network tools
The HP UX is bundled with several network adminitration tool:
- lanscan : to see MAC Adress, interface status, and hardware path
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306EC32104 0 UP lan0 snap0 1 ETHER Yes 119
- ifconfig : looks like the same command in linux, to see of configure the IP Addresses, turning on/off the NIC, etc.
# ifconfig lan0
lan0: flags=843<UP,BROADCAST,RUNNING,MULTICAST>
inet 150.150.8.1 netmask ffff0000 broadcast 150.150.255.255
- lanadmin : to see detailed LAN interfaces of the machine
LAN INTERFACE STATUS DISPLAY
Tue , Jun 17,2008 09:12:05PPA Number = 0
Description = lan0 HP PCI 10/100Base-TX Core [10BASE-T,HD,AUTO,TT=1500]
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 10000000
Station Address = 0x306ec32104
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 1186783
Inbound Octets = 42032376
Inbound Unicast Packets = 15518
Inbound Non-Unicast Packets = 501152
Inbound Discards = 1
Inbound Errors = 0
Inbound Unknown Protocols = 14605
Outbound Octets = 1719024
Outbound Unicast Packets = 17140
Outbound Non-Unicast Packets = 722
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367
Ethernet-like Statistics GroupIndex = 1
Alignment Errors = 0
FCS Errors = 0
Single Collision Frames = 1053
Multiple Collision Frames = 99
Deferred Transmissions = 136
Late Collisions = 0
Excessive Collisions = 0
Internal MAC Transmit Errors = 0
Carrier Sense Errors = 0
Frames Too Long = 0
Internal MAC Receive Errors = 0
- linkloop : a tool to tests layer 2 connectivity
# linkloop 0x00108303aabf
Link connectivity to LAN station: 0x00108303aabf
– OK