beautypg.com

Modifying redistribution parameters – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 434

background image

The show ip route output for device 1 and device 2 shows "drop" under the Port column for the
network prefixes you configured with null0 routing

device#show ip route

Total number of IP routes: 133

Type Codes - B:BGP D:Connected S:Static R:RIP O:OSPF; Cost - Dist/Metric

Destination Gateway Port Cost Type

1 10.0.1.24/32 DIRECT loopback 1 0/0 D

2 10.0.1.0/24 DIRECT eth 2/7 0/0 D

3 10.0.1.1/24 DIRECT eth 2/1 0/0 D

.

13 10.0.0.6/31 10.0.1.3 eth 2/2 20/1 B

14 10.0.0.16/30 10.0.1.3 eth 2/2 20/1 B

15 10.0.0.40/29 DIRECT drop

200/0 B

. .. . . . .

42 10.0.0.192/27 DIRECT drop

200/0 B

43 10.0.1.128/26 10.0.1.3 eth 2/7 20/1 B

. .. . . . .

69 10.0.7.0/24 10.0.1.3 eth 2/10 20/1 B

70 10.0.14.0/23 DIRECT drop 200/0 B

. .. . . . .

. .. . . . .

131 10.144.0.0/12 10.0.1.3 eth 3/4 20/1 B

132 10.199.1.1/32 DIRECT drop

1/1

Modifying redistribution parameters

By default, the route information between BGP4 and the IP IGPs (RIP and OSPF) is not redistributed.
You can configure the device to redistribute OSPF routes, RIP routes, directly connected routes, or
static routes into BGP4.

To enable redistribution of all OSPF routes and directly attached routes into BGP4, enter the following
commands.

device(config)# router bgp

device(config-bgp-router)# redistribute ospf

device(config-bgp-router)# redistribute connected

device(config-bgp-router)# write memory

Syntax: [no] redistribute connected | ospf | rip | static

The connected parameter indicates that you are redistributing routes to directly attached devices into
BGP4.

The ospf parameter indicates that you are redistributing OSPF routes into BGP4.

NOTE
Entering redistribute ospf simply redistributes internal OSPF routes. To redistribute external OSPF
routes also, use the redistribute ospf match external command.

The rip parameter indicates that you are redistributing RIP routes into BGP4.

The isis parameter indicates that you are redistributing IS-IS routes into BGP4.

The static parameter indicates that you are redistributing static routes into BGP4.

Modifying redistribution parameters

434

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04