Basic network commands _ HP-UX Tips & Tricks Site
Basic network commands _ HP-UX Tips & Tricks Site
Home
FILES
SCRIPTS
HPUX Commands
(a) Display lan interface info:
# lanscan
(b) All in one lan configuration utility (lan0 is first Ethernet interface) to configure and view the system IP address:
# ifconfig lan0 Display IP info such as IP address netmask etc.
# ifconfig lan0 up Up network interface (allow traffic)
# ifconfig lan0 down Down network interactive (deny traffc)
# ifconfig lan0 192.168.1.1 netmask 255.255.255.0 up Setup/change IP adddress
(i) Setup various lan properties, dns client, NIS client configuration etc using GUI tool:
# sam
# set_parms
On 11.31 there is a new command to manage you network interfaces,as jmrey points out:
Regarding lanscan, in 11.31 is deprecated. Use nwmgr instead. It is much more powerfull than lanscan and as you can see in
http://www.hpuxtips.es/?q=node/129 1/4
6/30/2015 Basic network commands | HPUX Tips & Tricks Site
the example below, you can obtain a lot of more info about the network interfaces.
host# nwmgr
Unix Systems:
hpux
stumbleupon evernote delicious
Comments
Regarding lanscan, in 11.31 is deprecated. Use nwmgr instead. It is much more powerfull than lanscan and as you can see in
the example below, you can obtain a lot of more info about the network interfaces.
host# nwmgr
http://www.hpuxtips.es/?q=node/129 2/4
6/30/2015 Basic network commands | HPUX Tips & Tricks Site
============== ========= ============== ======== ============== ========
lan2 UP 0x001E0B45E09A igelan 1000Base‐SX
lan0 UP 0x001E0B45E09C igelan 1000Base‐SX
lan1 UP 0x001E0B45E09D igelan 1000Base‐SX
lan3 UP 0x001E0B45E09B igelan 1000Base‐SX
JMR
reply
Subject
Comment *
http://www.hpuxtips.es/?q=node/129 3/4
6/30/2015 Basic network commands | HPUX Tips & Tricks Site
Web page addresses and email addresses turn into links automatically.
Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
Preview
http://www.hpuxtips.es/?q=node/129 4/4