From owner-freebsd-questions Mon Oct 12 06:42:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA23386 for freebsd-questions-outgoing; Mon, 12 Oct 1998 06:42:14 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA23311 for ; Mon, 12 Oct 1998 06:42:01 -0700 (PDT) (envelope-from marcus@jaguar.ir.miami.edu) Received: from jaguar.ir.miami.edu ("port 3404"@jaguar.ir.miami.edu [129.171.32.10]) by jaguar.ir.miami.edu (PMDF V5.2-29 #30976) with ESMTP id <0F0P00E3UVDNG3@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Mon, 12 Oct 1998 09:41:47 -0400 (EDT) Date: Mon, 12 Oct 1998 09:41:47 -0400 (EDT) From: "Joe \"Marcus\" Clarke" Subject: Re: Cisco Router In-reply-to: To: Dean Hollister Cc: FreeBSD Questions Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 . 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