Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Wednesday, 23 November 2016

How to create EtherChannel in aix?


How to create EtherChannel or Link Aggregation in aix?


Two Ethernet adapters to be aggregated together to form a single Ethernet device.
For example, ent0 and ent1 can be aggregated into an EtherChannel adapter called ent3. And interface en3 would then be configured with an IP address.

1. Ground work:

lsdev -Cc adapter             --> To check the adapter details 
lsdev -Cc adapter|grep -i etherchannel            --> To check already the server has any existing etherchannel


2. Implementation

(In the below example,  the physical interfaces ent1 & ent2 are configured for etherchannel)

 #smitty etherchannel
  EtherChannel / Link Aggregation Adapters         ent1                   +
  Enable Alternate Address                                           no                     +
  Alternate Address                                                       []                      +
  Enable Gigabit Ethernet Jumbo Frames                  no                     +
  Mode                                                                            standard               +
  Hash Mode                                                                  default                +
  Backup Adapter                                                          ent2                   +
  Internet Address to Ping                                                                            []
  Number of Retries                                                       []                      +#
  Retry Timeout (sec)                                                     []                      +#

Now the etherchannel ent3 has been created.  then put IP address to the etherchannel ent3
#smit  -->  Communications Applications and Services > TCP/IP > Minimum Configuration & Startup   
Now select the ent3 as a network interface and also provide mandatory info like hostname, netmask and then start now. 
                     
3. Validation

lsdev –Cc adapter|grep –i etherchannel   --> To confirm ent3 is a etherchannel
entstat -d enX |grep Active   --> To check the primary adapter is active
lsdev -Cc adapter             --> To check the adapter details 


4. Roll back

lsdev –Cc adapter|grep –i etherchannel   --> To check the etherchannel
#smitty etherchannel -> Remove An EtherChannel / Link Aggregation’
Reconfigure IP on the adapters


5. Downtime

NO downtime required for this task



Note:
If one adapter fails, network traffic is automatically sent on the next available adapter without disruption to existing user connections. The adapter is automatically failed back to service on the EtherChannel or Link Aggregation when it recovers.

No comments:

Post a Comment