AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

how to delete route permanently

  • 1.  how to delete route permanently

    Posted Mon January 12, 2009 02:04 AM

    Originally posted by: apple08


    how to delete route permanently
    #AIX-Forum


  • 2.  Re: how to delete route permanently

    Posted Mon January 12, 2009 03:26 AM

    Originally posted by: hdkutz


    Hello,
    to delete all routes:
    #/etc/route -n -f
    #odmdelete -o CuAt -q "name=inet0 and attribute=route"
    #savebase

    To delete a specific route:
    #lsattr -El inet0
    Pick out the route entry which you want to delete
    1. chdev -l inet0 -a delroute="the complete entry you want to delete"
    e.g.:
    #chdev -l inet0 -a delroute=net,-netmask,255.255.255.0,172.26.129.23,172.28.64.19

    Cheers,
    ku
    #AIX-Forum