Redistributing ospf, External routes, Redistributing ospf external routes – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual
Page 256: Redistributing static routes

242
Brocade Virtual ADX Switch and Router Guide
53-1003246-01
Modifying redistribution parameters
8
Virtual ADX(config-bgp)# 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 – 4294967295.
The default is not assigned.
The route-map map-name parameter specifies a route map to be consulted before adding to the
BGP4 route table.
NOTE
The route map you specify must already be configured on the device. Refer to
on page 252 for information about defining route maps.
Redistributing OSPF external routes
To configure the device to redistribute OSPF external type 1 routes, enter the following command.
Virtual ADX(config-bgp)# 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 | 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 – 4294967295.
The default is not assigned.
The route-map map-name parameter specifies a route map to be consulted before adding the
OSPF route to the BGP4 route table.
NOTE
The route map you specify must already be configured on the device. Refer to
on page 252 for information about defining route maps.
NOTE
If you use both the redistribute ospf route-map map-name command and the redistribute ospf
match internal | external1 | external2 command, the software uses only the route map for filtering.
Redistributing static routes
To configure the device to redistribute static routes, enter the following command.
Virtual ADX(config-bgp)# redistribute static
Syntax: [no] redistribute static [metric num] [route-map map-name]