|
Written by geekyB
|
|
Thursday, 18 December 2008 17:21 |
|
This document has some AIX networking tips and commands. - List all network interface cards on the AIX server : The "lsdev" command displays devices in the system and their characteristics. Use the below command to just list the NIC.
bash-3.00# lsdev | grep -i ether | grep -i Available en0 Available 03-08 Standard Ethernet Network Interface bash-3.00#
- Check network interface speed and duplex settings : "entstat" command shows the details of the interface.
bash-3.00# entstat -d ent0 | grep 'Media Speed Running:' Media Speed Running: 100 Mbps Full Duplex bash-3.00#
bash-3.00# chdev -P -l ent0 -a media_speed=100_Full_Duplex ent0 changed bash-3.00#
The "mktcpip" command and options are as below (they are self-explanatory)
/usr/sbin/mktcpip -i NIC -h HOSTNAME -a HOST.IP -m HOST.IP.NETMASK -d DNS.DOMAIN.NAME -g DEF.GATEWAY.IP -A ACTIVATE.NOW Example : bash-3.00# /usr/sbin/mktcpip -h 'geekyAIX' -i 'en0' -a '192.170.1.2' -d 'geekyfacts.com' -g '192.170.1.1' -A 'yes' bash-3.00#
And as usual "ifconfig -a" to see the IP address details of a interface.
|
|
Last Updated on Monday, 22 December 2008 08:36 |