Você está na página 1de 7

6/20/2016

HPUXBasicNetworkmanagement

LazySystemAdmin
AllArticles
Contact

Home HPUX HP UX Basic Network management

HP UX Basic Network management


Posted by Madeswaran N

Share on Facebook Add This To Del.icio.us StumbleUpon This Add to Technorati Digg This

NetworkmanagementHPUX
Todisplaythenetworkinterfacecardsandstatus

#lanscanHardwareStationCrdHdwNetInterfaceNMMACHPDLPIDLPIPathAddressIn#StateNamePPAIDTypeSupportMjr#0/0/0/00x00306E1

ToconfiguretheNICcardssuchasspeed,MTU,etc..
#lanadmin(itisainteractivetool)
Tofindoutthespeedofduplexsettingoflan0
#lanadminx0Speed=1000FullDuplex.Autonegotiation=On.
TolistalltheconfiguredinterfacesandIPaddresses
#netstatin
ToforceHPUXtousespecificinterfacecard

http://www.lazysystemadmin.com/2011/01/hpuxbasicnetworkmanagement.html

1/7

6/20/2016

HPUXBasicNetworkmanagement

#tracerouteilan210.20.30.40
HPUXstoresnetworkinterfaceconfigurationinformationon/etc/rc.config.d/netconffile

#cat/etc/rc.config.d/netconfHOSTNAME="ithp49"OPERATING_SYSTEM=HPUXLOOPBACK_ADDRESS=127.0.0.1INTERFACE_NAME[0]="lan0"IP_ADDRESS[0]="216.131.195.

Toaddaaliasaddresstolan0,addthenetworkinformationto/etc/rc.config.d/netconffile
INTERFACE_NAME[0]=lan0:1IP_ADDRESS[0]=216.131.195.138SUBNET_MASK[0]=255.255.255.0BROADCAST_ADDRESS[0]=""INTERFACE_STATE[0]=""DHCP_ENABLE[0]=0

Restartthenetworkservice
/sbin/init.d/netstart
NetworkTracingandLogging
Thenettlcommandisatoolusedtocapturenetworkeventsorpackets.
Initializethetracing/loggingfacility:
#nettlstart
Displaythestatusofthetracing/loggingfacility.
#nettlstatusall

nwmgr(NetworkInterfaceManagement)
ThenwmgrprogramistheunifiedcommandtoadministerallHPUXLANandRDMAinterfaces.Thiscommand
canbeusedto:

Displayinformationofaninterface
Modifysettingsofaninterface
Resettheinterfaceoritsstatistics
Diagnoselinkconnectivity
Createandsetconfigurationinformationforacomponentsimultaneously
Deleteorerasecomponents

#nwmgrName/InterfaceStationSubInterfaceRelatedClassInstanceStateAddresssystemTypeInterface==============================

#nwmgrhelpSall#listsallthesubsystems#nwmgrhelpSsubsystem#displaysubsystemspecificusage

ToViewInterfaceattributes

http://www.lazysystemadmin.com/2011/01/hpuxbasicnetworkmanagement.html

2/7

6/20/2016

HPUXBasicNetworkmanagement

#nwmgrAallclan0lan0currentvalues:LinkState=UpSpeed=1GbpsFullDuplex(Autonegotiation:On)MTU=1500MACAddress=0x001a4b097f9aReceiveFlowContro

Togetinterfacestatisticsforinterfacelan0
#nwmgrstallclan0
ToViewinterfacedetails
#nwmgrqinfoclan0
Togetinterfacevitalproductdata
#nwmgrqvpdclan0
Tosetinterfaceattributes
#nwmgrsAattr1value,attr2=value...clan0
Resetstatisticsforaninterface
#nwmgrrstclan<instance>
SomenwmgrSyntaxandtheirEquivalentlanadminandlinkloopSyntaxaregivenbellow
nwmgrSvlan lanadminVscannwmgrclan5000

lanadminVinfo5000nwmgraSvlanAvlanid=10,ppa=1lanadminVcreatevlanid10

Labels: HPUX
For Further Reading,
Adding mirroring to the root vg HP Unix
Add a Lun to a VG in a SG cluster 11.11/23
Common NFS errors & solutions
Backup / Recover using tape in HP Unix
Recommendation before patching

About the Author

I'm Madesh, An UNIX System Admin by Profession. I'm having Expertise in HPUX
and Linux Administration. I have done lot of work on the infrastructure Mgmt side
in UNIX system administration, Hardware, Storage EMC/ HP EVA. I'm blogging
since 2010.
Follow Me On Twitter or On Facebook

Do you like my blog?

Subscribe LazySystemAdmin:

If you enjoy reading the LazySystemAdmin blog, please help spread


the word by sharing this site with your friends.
Like

Tweet

Follow us on Twitter
Follow in Facebook
Get Updates via Email

{ 4 comments... read them below or add one }

http://www.lazysystemadmin.com/2011/01/hpuxbasicnetworkmanagement.html

3/7

6/20/2016

HPUXBasicNetworkmanagement

5 comments

Add a comment

Top comments

Darin Zhao 5 months ago - Shared publicly


hi ! how can i get network interfacethroughput? thanks !
+1
2

1 Reply

Unknown 5 months ago


hi,how to get network interface throughput ??

net 5 years ago

Neteffects
can design, specify, supply and install network equipment and commission
solutions based on your business requirements. We will scope a requirement with you
and select an appropriate piece of equipment from our available range. For design work
or network upgrades, an experienced IT consultant will visit the you to get a better
understanding of the current network infrastructure and to discuss the deliverable for the
proposed changes.

Madeswaran N 5 years ago


Raju..please check my post about "Recover OS using Ignite Backup".I hope this will
Hi
help you. "http://lazysystemadmin.blogspot.com/2011/02/recover-os-using-ignitebackup.html

raju 5 years ago


hi , how to ignite backup to restore image to new npar what steps ? praphul r pandit

Post a Comment
What do you think about this Article? Add your Opinion..!

Enteryourcomment...

Commentas:

Publish

Selectprofile...

Preview

Newer PostHome

Older Post

http://www.lazysystemadmin.com/2011/01/hpuxbasicnetworkmanagement.html

4/7

6/20/2016

HPUXBasicNetworkmanagement

ABOUTLAZYSYSTEMADMIN

LAZYSYSTEMADMINON
FACEBOOK

LAZYSYSTEMADMINS
Sajeesh Kumar

LazySystem...

Madeswaran N

1.6Klikes

Raja Sekhar T
Parthiban Ponnusamy
shankar

LikePage

LazySystemAdmin is a site with 300+

Damodharan.M

Articles, howto guides and video


tutorialsonallthingsrelatedtoSystem
Administration and Technology. This

Bethefirstofyourfriendstolike
this

Blog is to share our knowledge and


expertise on System Administration
and

Operating

Systems.

Stay

connectedwithLazySystemAdmin.

2010 All Rights Reserved LazySystemAdmin.

SHARE
Like Bethefirstofyourfriendstolikethis.
+2 Recommend this on Google
Tweet

AdditionalInfo

http://www.lazysystemadmin.com/2011/01/hpuxbasicnetworkmanagement.html

5/7

6/20/2016

HPUXBasicNetworkmanagement

Do you Like
LazySystemAdmin?
Enter your email...

Subscribe

Follow Us on:
Popular Posts
Scan and Configure New LUNS on Redhat Linux RHEL
Tivoli Storage Manager Commands TSM
hpacucli Check RAID Information from Linux Shell
Changing Hostname in Suse Linux
Linux SAN Multipathing using device mapper
Understanding VMSTAT Output Explained
Find WWN Address in AIX
Add Virtual Interfaces in Linux Quick HOWTO
SAP Logon INI File Installation on windows
Interview Questions and Answers Linux Administrator

LazySystemAdmin on Google+
LazySystemAdmin
Follow

+1

+ 90

AdditionalInfo
Categories
/proc Active Directory

AIX

Apache Automation Backup BIOS

Booting Citrix Clusters Cron Database DFS DHCP DNS EPO


Server HACMP Hardware HowTo HP EVA

HPUX

hpacucli

hpasmcli IAS Interview Questions iptables kickstart LDAP

Linux

Log files LVM Multipathing mysql NFS NIS Notes

NTP Outlook Patching Performance Tuning Printers

HOWTO

Quick

RAID RRAS samba SAN sap scripts SELinux

Shell SLES Solaris Solutions Squid SSH SSL Storage Sudo Suse

Tips
Videos VIO

Linux Swap TCP Wrappers Terminal Services TFTP

Tivoli

Tomcat Tools Troubleshooting TSM UNIX

Server

VMware VNC Windows windows 2008 server requirement

Browse All Articles


2014 2
2013 3
2012 14
2011 98
December 1
November 2
September 6
July 17
June 3
May 14
April 12
March 15
February 21
January 7
LVM on Service Guard HPUX
HP UX Basic Network management
Configuring proxy settings in linux

http://www.lazysystemadmin.com/2011/01/hpuxbasicnetworkmanagement.html

6/7

6/20/2016

HPUXBasicNetworkmanagement
RedHat Cluster Suite Video Tutorial
Setup Kickstart Server in Linux
How to add SWAP in hp Unix
Unix tips

2010 165
2009 45
2008 1

NetworkSecurity

NetworkManagement

adsbyYahoo!

privacypolicy

RELATEDSEARCHES
HealthCareManagement

ContactManagementSoftware

http://www.lazysystemadmin.com/2011/01/hpuxbasicnetworkmanagement.html

7/7

Você também pode gostar