RE: "discard-route" command

From: Richard Dumoulin (richard.dumoulin@vanco.es)
Date: Wed May 26 2004 - 13:29:23 GMT-3


David,

This is the config without discard-route but with a summary address

router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 summary-address 150.1.0.0 255.255.0.0
 redistribute connected subnets route-map connected_to_ospf
 redistribute eigrp 100 subnets
 network 150.1.3.0 0.0.0.255 area 0
 network 183.1.0.0 0.0.0.255 area 0
!

Rack1R3#sh ip route | i Null0
O 150.1.0.0/16 is a summary, 00:00:23, Null0

You see the route to Null0 ?

Now I add "no discard-route external",

router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 no discard-route external
 summary-address 150.1.0.0 255.255.0.0
 redistribute connected subnets route-map connected_to_ospf
 redistribute eigrp 100 subnets
 network 150.1.3.0 0.0.0.255 area 0
 network 183.1.0.0 0.0.0.255 area 0

And the route to Null0 disappears:

Mar 11 16:27:35.612: %SYS-5-CONFIG_I: Configured from console by console
Rack1R3#sh ip route | i Null
Rack1R3#

--Richard

-----Original Message-----
From: David Hurtado [mailto:dei2viccie@hotmail.com]
Sent: miircoles, 26 de mayo de 2004 18:04
To: ccielab@groupstudy.com
Subject: "discard-route" command

Hello everybody,

I'm trying to understand the function of the command: "discard-route". I
have read the command explantion on DocCD several times and i have looked
for an example in cisco.com, but i have not found any didactic explanation.

Would you mind to tell me where i can get a good example or explanation of
the use of this command?

Thanks a lot



This archive was generated by hypermail 2.1.4 : Wed Jun 02 2004 - 11:12:17 GMT-3