Ethernet Channel setup in AIX

Most of the guides and websites recommend to use smitty to create the initial setup. The two basic steps smitty etherchannel and smitty chinet or smitty mktcpip.
As for command line, I found two methods:
and here: 

Step 1a is the same in both (gateway could be used as a ping-to-host):# mkdev -c adapter -s pseudo -t ibm_ech -a adapter_names=entX \
-a backup_adapter=entY -a netaddr=PING2HOST \
-a num_retries=3 -a retry_time=30

Step 1b (for link aggregation and with jumbo frames enabled):

mkdev -c adapter -s pseudo -t ibm_ech -a ‘adapter_names=entX,entY’ \
– a ‘use_jumbo_frame=yes’ -a ‘mode=8023ad’

Then they differ a bit
One option adds the following step, not sure why:
/usr/lib/methods/defif >/dev/null 2>/dev/null

If it is not the initial network setup like for creating an additional network:
mkdev -c if -s EN -t en -a netaddr=IPaddress \
-a netmask=NETMASK -w IF(en newly created) -a state=up -a arp=on

mkdev -l inet0 (makes it available)

and for the initial network set up

mktcpip -h HOSTNAME -a IPaddress -m NETMASK -i IF(newly created) \

Find the etherchannel adapters:
lsdev -Cc adapter -t ibm_ech
show the configuration:
lsattr -El entX

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s