Pages

Thursday, July 19, 2012

hp-ux : Verify the status of the link aggregate



Determine which lans to configure
Link Speeds and Duplex settings should be the same.
ioscan -fnkC lan       ## to determine available lans
each lan used in the aggregate must be disabled before starting APA.
# ifconfig lan(n) down
# ifconfig lan(n) unplumb


To stop/start the new configuration  (APA doesn’t require a reboot to take effect)
/sbin/init.d/hpapa stop
/sbin/init.d/hpapa start
Assign an ipaddress to lan900.
# ifconfig lan900 ipaddress netmask netmaskaddress
# ifconfig lan900                 # # to check
# modify /etc/rc.config.d/netconf      ##to make the ipaddress permanent
Verify the status of the link aggregate
* lanadmin -x -v 900           ## will show the number of ports, state, mode
* lanscan -v                              ## verify which link aggregates have been configured.
* lanadmin –x –p 2 900      ## verify the status of a particular port

No comments:

Post a Comment