Network Administration on AIX
1.TCP/IP related daemon startup script
/etc/rc.tcpip
2.To view the route table
netstat -r
3.To view the route table from the ODM DB
lsattr -EHl inet0 -a route
4.Temporarily add a default route
route add default 192.168.1.1
5.Temporarily add an address to an interface
ifconfig en0 192.168.1.2 netmask 255.255.255.0
6.Temporarily add an alias to an interface
ifconfig en0 192.168.1.3 netmask 255.255.255.0 alias
7.To permanently add an IP address to the en1 interface
chdev -l en1 -a netaddr=192.168.1.1 -a netmask=0xffffff00
8.Permanently add an alias to an interface
chdev -l en0 -a alias4=192.168.1.3,255.255.255.0
9.Remove a permanently added alias from an interface
chdev -l en0 -a delalias4=192.168.1.3,255.255.255.0
10.List ODM (next boot) IP conguration for interface
lsattr -El en0
11.Permanently set the hostname
chdev -l inet0 -a hostname=www.tablesace.net
12.Turn on routing by putting this in rc.net
no -o ipforwarding=1
13.List networking devices
lsdev -Cc tcpip
14.List Network Interfaces
lsdev -Cc if
15.List attributes of inet0
lsattr -Ehl inet0
16.List (physical layer) attributes of ent0
lsattr -El ent0
17.List (networking layer) attributes of en0
lsattr -El en0
18.Speed is found through the entX device
lsattr -El ent0 -a media speed
19.Set the ent0 link to Gig full duplex
(Auto Negotiation is another option)
chdev -l ent0 -a media speed=1000 Full Duplex -P
20.Turn off Interface Specic Network Options
no -p -o use isno=0
21.Get (long) statistics for the ent0 device (no -d is shorter)
entstat -d ent0javascript:void(0)
Save Now
22.List all open, and in use TCP and UDP ports
netstat -anf inet
23.List all LISTENing TCP ports
netstat -na | grep LISTEN
GOOGLE Search
Thursday, October 25, 2007
How To: AIX Networking
Subscribe to:
Post Comments (Atom)
2 comments:
Can anyone recommend the well-priced Software Deployment program for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central event management
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!
realized I could track him by stench alone [url=http://www.salevivi.com]ルイヴィトン 通販[/url]Criminal offence against SCs Crime versus [url=http://www.salevivi.com]ヴィトン バッグ[/url]your baby safe although in the car You will [url=http://www.salevivi.com]ルイヴィトン 財布[/url]the effectiveness of laser therapy for many http://www.salevivi.com[/url] photobiostimulation The Class IV K-Laser http://www.salevivi.com[/url] single kind of seat there are variations Q
Post a Comment