- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to set ifadminStatus=down on unused NIC (HP-UX...
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
Forums
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
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
05-19-2008 10:58 PM
05-19-2008 10:58 PM
how to set ifadminStatus=down on unused NIC (HP-UX 11i-v1)
- ifconfig down doesn't make it
- SAM disable NIC also not.
Any way to do it?
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 12:25 AM
05-20-2008 12:25 AM
Re: how to set ifadminStatus=down on unused NIC (HP-UX 11i-v1)
Is your server in run-level 3?
Could please post the complete commands you used?
Please also post the output of
# lanscan
# ioscan -fnClan
regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 12:37 AM
05-20-2008 12:37 AM
Re: how to set ifadminStatus=down on unused NIC (HP-UX 11i-v1)
# who -r
. run-level 3 Apr 10 18:38 3 0 S
results of ioscan/lanscan (lan3 and 4 not used):
# ioscan -fnClan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP A6825-60101 PCI 1000Base-T Adapter
lan 1 0/6/1/0/4/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan1 /dev/ether1 /dev/lan1
lan 2 0/6/1/0/5/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan2 /dev/ether2 /dev/lan2
lan 3 0/6/1/0/6/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan3 /dev/ether3 /dev/lan3
lan 4 0/6/1/0/7/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan4 /dev/ether4 /dev/lan4
isan:root # lanscan -v
-------------------------------------------------------------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x00306EF42EF6 0 UP lan0 snap0 1 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x00306EF42EF6 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
igelan
-------------------------------------------------------------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/6/1/0/4/0 0x001185C76D30 1 UP lan1 snap1 2 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x001185C76D30 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
btlan
-------------------------------------------------------------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/6/1/0/5/0 0x001185C76D31 2 UP lan2 snap2 3 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x001185C76D31 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
btlan
-------------------------------------------------------------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/6/1/0/6/0 0x001185C76D32 3 UP lan3 snap3 4 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x001185C76D32 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
btlan
-------------------------------------------------------------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/6/1/0/7/0 0x001185C76D33 4 UP lan4 snap4 5 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x001185C76D33 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
btlan
-------------------------------------------------------------------------------
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 12:56 AM
05-20-2008 12:56 AM
Re: how to set ifadminStatus=down on unused NIC (HP-UX 11i-v1)
Why do you care that adminstatus is up?
I wouldn't normally worry about this.
ifconfig is an IP level tool, not a physical interface level tool, so the most you can do there is tear down the IP stack on the interface with:
ifconfig lanX unplumb
obviously replacing lanX with a specific interface.
I suspect the disable interface function in SAM just does that as well.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 01:01 AM
05-20-2008 01:01 AM
Re: how to set ifadminStatus=down on unused NIC (HP-UX 11i-v1)
# ifconfig lan3 0.0.0.0
# ifconfig lan3 unplumb
# ifconfig lan4 0.0.0.0
# ifconfig lan4 unplumb
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 02:12 AM
05-20-2008 02:12 AM
Re: how to set ifadminStatus=down on unused NIC (HP-UX 11i-v1)
I'm looking at this status, because monitoring ifTable to generate some alarms, and I want to ignore administratively locked interfaces.
I get:
interfaces.ifTable.ifEntry.ifAdminStatus.1 = up(1)
interfaces.ifTable.ifEntry.ifAdminStatus.2 = up(1)
interfaces.ifTable.ifEntry.ifAdminStatus.3 = up(1)
interfaces.ifTable.ifEntry.ifAdminStatus.4 = up(1)
interfaces.ifTable.ifEntry.ifAdminStatus.5 = up(1)
interfaces.ifTable.ifEntry.ifAdminStatus.6 = up(1)
interfaces.ifTable.ifEntry.ifOperStatus.1 = up(1)
interfaces.ifTable.ifEntry.ifOperStatus.2 = up(1)
interfaces.ifTable.ifEntry.ifOperStatus.3 = up(1)
interfaces.ifTable.ifEntry.ifOperStatus.4 = down(2)
interfaces.ifTable.ifEntry.ifOperStatus.5 = down(2)
interfaces.ifTable.ifEntry.ifOperStatus.6 = up(1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 04:18 AM
05-20-2008 04:18 AM
Re: how to set ifadminStatus=down on unused NIC (HP-UX 11i-v1)
So you're using some sort of SNMP tool to collect the info?
If that's the case you should be able to just use a snmpset to set ifAdmin to DOWN (as long as you have a suitable set community name defined in snmpd.conf)
HTH
Duncan
I am an HPE Employee
