Default Information Originate Cont

Avoid using the neighbor default-originate command because the route will always be advertised router!config-router)# neighbor {ip-address | peer-group-name}default-originate router!config-router)# neighbor {ip-address | peer-group-name}default-originate

R4(config)# router bgp 400

R4(config-router)# neighbor 172.16.45.5 default-originate

© 2002, Cisco Systems, inc. All lights reserved.

Cisco CCiE Prep v1.0—Module 8-9-

Another way of advertising a default route is via the neighbor default-originate command. This method is not recommended, as the advertising router will always advertise the default route, even if the route to the default network is down, or the router does not have a default route.

neighbor {ip-address / peer-group-name} default-originate

For example, R4 does not have a default route in its IP routing table, yet it will always advertise itself as being the default network for R5 when the following command is issued on R4:

R4(config)# router bgp 400

R4(config-router)# neighbor 172.16.45.5 default-originate

You can verify by performing a show ip bgp on R5: R5# show ip bgp

BGP table version is 17, local router ID is 5.5.5.5

Status codes: s suppressed, d damped, h history, * valid, > best, i Origin codes: i - IGP, e - EGP, ? - incomplete

- internal

Network *> 0.0.0.0 *> 4.4.4.0/24 *> 5.5.5.0/24

Metric LocPrf Weight Path

Was this article helpful?

0 0

Post a comment