Redistributing connected routes
To congure BGP4 to redistribute directly connected routes, enter the following command.
device(config-bgp-router)# redistribute connected
Syntax: [no] redistribute connected [metric num] [route-map map-name]
The connected parameter indicates that you are redistributing routes to directly attached devices into BGP4.
The metric num parameter changes the metric. You can specify a value from 0 through 4294967295. The default is not assigned.
The route-map map-name parameter
species a route map to be consulted before adding the RIP route to the BGP4 route table.
NOTE
The route map you specify must already be congured on the
device.
Redistributing RIP routes
To congure BGP4 to redistribute RIP routes and add a metric of 10 to the redistributed routes, enter the following command.
device(config-bgp-router)# redistribute rip metric 10
Syntax: [no] redistribute rip [metric num] [route-map map-name]
The rip parameter indicates that you are redistributing RIP routes into BGP4.
The metric num parameter changes the metric. You can specify a value from 0 - 4294967295. The default is not assigned.
The route-map map-name parameter species a route map to be consulted before adding the RIP route to the BGP4 route table.
NOTE
The route map you specify must already be congured on the
device.
Redistributing OSPF external routes
To
congure the device to redistribute OSPF external type 1 routes, enter the following command.
device(config-bgp-router)# redistribute ospf match external1
Syntax: [no] redistribute ospf [match internal | external1 | external2] [metric num] [route-map map-name]
The ospf parameter indicates that you are redistributing OSPF routes into BGP4.
The match internal, external1, and external2 parameters apply only to OSPF. These parameters specify the types of OSPF routes to be
redistributed into BGP4. The default is internal.
NOTE
If you do not enter a value for the match parameter, (for example, you enter redistribute ospf only) then only internal OSPF
routes will be redistributed.
The metric num parameter changes the metric. You can specify a value from 0 through 4294967295. The default is not assigned.
The route-map map-name parameter species a route map to be consulted before adding the OSPF route to the BGP4 route table.
Modifying redistribution parameters
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 401