Date: Mon, 12 Oct 1998 09:41:47 -0400 (EDT) From: "Joe \"Marcus\" Clarke" <marcus@jaguar.ir.miami.edu> To: Dean Hollister <dean@odyssey.apana.org.au> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Cisco Router Message-ID: <Pine.OSF.4.04.9810120937170.19911-100000@jaguar.ir.miami.edu> In-Reply-To: <Pine.BSF.4.02A.9810122123001.21929-100000@odyssey.apana.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Doing a clear route only clears those routes out of the table temporarily. The routes will immediately repopulate if they are static, connected, or being received via a routing protocol. To permanently delete routes, you must either remove the route from the config, or block the route at an RP level. IF the route is static, there should be a line that looks like: ip route <destination network> <destination mask> <next hop> in the config. Simply type no then the ip route command, and the route will disappear. IF it is a dynamic route, things become a little trickier. You must first determine which protocol (rip, eigrp, ospf, etc.) you are learning the route from, then create a distribute list, or some other means, to block that route from being learned. To find out how a route is learned, do a show ip route <network>. Joe Clarke On Mon, 12 Oct 1998, Dean Hollister wrote: > > Hiyall, > > I know this isn't directly related to FreeBSD, but does anyone know how to > delete routes in the Cisco 1003/1004? I do: > > clear ip route A.B.C.D [M.A.S.K] > > But it doesn't work. > > Regards, > > d. > > +-------------------------------------------------------+ > | Dean Hollister, | dean@mushka.ml.org | > | Perth, Western Australia. | dean@wa.apana.org.au | > +-------------------------------------------------------+ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.04.9810120937170.19911-100000>