- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to disable a NIC on 11i v3?
Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 08:18 AM
08-14-2009 08:18 AM
is there a way to disable an unused NIC (so it doesn't generate warnings in SMH for example)?
I would like to disable unused/unplugged lan1 on an nPar in an rx7640 for examle:
# ioscan -fnkC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 1/0/1/1/0/6/0 iether CLAIMED INTERFACE HP AB290-60001 PCI/PCI-X 1000Base-T 2-port U320 SCSI/2-port 1000B-T Combo Adapter
lan 1 1/0/1/1/0/6/1 iether CLAIMED INTERFACE HP AB290-60001 PCI/PCI-X 1000Base-T 2-port U320 SCSI/2-port 1000B-T Combo Adapter
lan 2 1/0/2/1/0 iether CLAIMED INTERFACE HP AD331-60001 PCI/PCI-X 1000Base-T Adapter
lan 3 1/0/6/1/0 iether CLAIMED INTERFACE HP AD331-60001 PCI/PCI-X 1000Base-T Adapter
lan 4 1/0/14/1/0 iether CLAIMED INTERFACE HP AD331-60001 PCI/PCI-X 1000Base-T Adapter
# nwmgr -c lan1
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan1 DOWN 0x0019BBEB9CF5 iether 1000Base-T
Thanks & best Regards,
Arnold
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 12:50 PM
08-14-2009 12:50 PM
Re: How to disable a NIC on 11i v3?
You may remove the device file using 'rmsf' ( not recommended)
This will be effective till your next reboot or next 'insf'.
enjoy..
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2009 02:43 AM
08-15-2009 02:43 AM
Re: How to disable a NIC on 11i v3?
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=762277
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2009 02:47 AM
08-15-2009 02:47 AM
Re: How to disable a NIC on 11i v3?
You must try SMH.
http://www.docs.hp.com/en/5992-4607/ch01s03.html?btnPrev=%AB%A0prev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 01:45 AM
08-17-2009 01:45 AM
Re: How to disable a NIC on 11i v3?
Maybe somebody remembers what SAM used to do to disable NIC's?
On the other hand, nwmgr --disable / --delete doesn't work:
# nwmgr --disable -c lan1
ERROR: Unsupported operation: --disable
For detailed help, type 'nwmgr -h [-v] -c lan
see the man page: nwmgr_igelan (1M).
Thanks & best Regards,
Arnold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 02:24 AM
08-17-2009 02:24 AM
Solution1.) ifconfig lan1 0.0.0.0
2.) ifconfig lan1 unplumb
3.) remove all configuration lines associated with lan1 from /etc/rc.config.d/netconf.
After this, the only way to disable it any further would be to remove the driver from the kernel. As the driver obviously is used by your other NICs too, removing the driver is not possible.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 03:41 AM
08-17-2009 03:41 AM
Re: How to disable a NIC on 11i v3?
the interface is unused and never has been enabled, so no unconfiguration possible there (apart from rmsf the NIC device that would solve the problem until the next reboot).
It seems that for monitoring purposes maybe an Ethernet loopback connector would help to neutralize the warnings in SMH/SIM.
Best Regards,
Arnold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 05:20 AM
08-17-2009 05:20 AM
Re: How to disable a NIC on 11i v3?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!