The term refers to network interface backup mode. Adapters are plugged into different Ethernet switches, each of which is capable of getting to any other machine on the subnet/network. In the network interface backup mode, the channel only activates one adapter at a time.When a problem is detected, either with the direct connection, or through the inability to ping a machine, the channel deactivates the current adapter, and activates a backup adapter.
netif_backup was a feature of the IBM 10/100 PCI Ethernet adapter, which is the adapter used in this example. There are a couple of filesets you need to check before using netif_backup with your IBM 10/100 PCI adapters (23100020). First, make sure your device driver is at the very latest level. Run the following command to check the device driver level:
# lslpp -l devices.pci.23100020.* Fileset Level State Description ------------------------------------------------------------------------ Path: /usr/lib/objrepos devices.pci.23100020.diag 4.3.3.50 APPLIED IBM PCI 10/100 Mb Ethernet Adapter (23100020) Diagnostics devices.pci.23100020.rte 4.3.3.51 APPLIED IBM PCI 10/100 Ethernet Adapter Software
Note: The APAR for rte is IY18028
For more information related to this document see:
AIX 5L Differences Guide Version 5.1 Edition
The product documentation library is also available:
http://www.rs6000.ibm.com/resource/aix_resource/Pubs/index.html
The netif_backup feature is part of etherchannel configuration, although not a true etherchannel. It appears in the same smitty panels as etherchannel because only etherchannel or netif_backup may be on a set of adapters. This example assumes that we have two adapters we want to use in our netif_backup channel (ent0 and ent1). Follow these steps:
# smitty etherchannel Etherchannel Move cursor to desired item and press Enter. List All Etherchannels Add An Etherchannel Change / Show Characteristics of an Etherchannel Remove An Etherchannel
+---------------------------------------------- + ¦ Available Network Interfaces ¦ ¦ Move cursor to desired item and press F7. ¦ ONE OR MORE items can be selected. ¦ Press Enter AFTER making all selections. ¦ ¦ > ent0 ¦ > ent1
Add An Etherchannel Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] Etherchannel Adapters ent0 ent1 + Enable ALTERNATE ETHERCHANNEL address no + ALTERNATE ETHERCHANNEL address [] + Mode netif_backup + Enable GIGABIT ETHERNET JUMBO frames no + Internet Address to Ping [10.10.10.1] Number of Retries [10] # Retry Timeout (sec) [30] #
This example specifies that the adapter will
ping the indicated IP address 10 times
every
30 seconds. At 300 seconds the card would
fail over to the second adapter.
COMMAND STATUS Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
ent3 Available
This example indicates that a new virtual
device, ent3, has been created. This device
will have an en3 interface associated with
it. This interface is configured by means
of the IP and subnet mask.
#smitty chinet
Change / Show a Standard Ethernet Interface Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] Network Interface Name en3 INTERNET ADDRESS (dotted decimal) [10.10.10.100] Network MASK (hexadecimal or dotted decimal) [255.255.255.0] Current STATE down + Use Address Resolution Protocol (ARP)? yes + BROADCAST ADDRESS (dotted decimal) []
#chdev -l en3 -a state=up
The interface comes to the up state and the adapters
are now set up in a netif_backup channel.
Should one adapter card disconnect, fail, have cabling issues or other problems
the other adapter in the channel will take its place.
[ Doc Ref: 99737720410112 Publish Date: Nov. 15, 2001]