beautypg.com

Example of inter-vrf leaking – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 614

background image

1. Set the switch to config mode.
2. Configure the VRF instances you want to be the leaker (source VRF) and where the route is being

leaked to (destination VRF).

3. Specify the interface for the source VRF and map it to the source VRF.
4. Enter the IP address/mask to be used for this VRF instance.
5. Specify the interface you want to be the destination VRF and map it to the destination VRF.
6. Specify the IP address/mask to receive the leak.
7. Change the config mode to source VRF address family context.
8. Configure the route to be leaked, specifying the route prefix, the next-hop-VRF name as destination

VRF and the next hop to the destination VRF.

9. Optional: For bidirectional IVRF leaking, repeat these steps, reversing the source and destination

addresses.

Example of Inter-VRF leaking

In this example, one of the static routes in the "Red" VRF (10.50.2.0/24) is being allowed to
communicate with one in the "Green" VRF (10.55.2.0/24).

The center icon represents a Brocade VDX router. The red, green and orange ovals represent virtual
partitions (VRFs) in that same router. The Destination VRF is where the route is being leaked to
("Green"), and the Source VRF is where the route is being leaked from ("Red").

FIGURE 70 Inter-VRF leaking

1. Configure VRF "Green".

switch(config)# rbridge-id 1

switch(conf-rbridge-id-1)# vrf Green

switch(conf-vrf-Green)# rd 1:2

switch(conf-vrf-Green)# address-family ipv4

2. Configure VRF "Red".

switch(config)# rbridge-id 1

switch(conf-rbridge-id-1)# vrf Red

switch(conf-vrf-Red)# rd 2:1

switch(conf-vrf-Red)# address-family ipv4

3. Configure interface in the destination VRF "Green" (using the IP address and subnet mask).

switch(config)# interface ten 1/1/2

switch(conf-te-1/1/2)# vrf forwarding Green

switch(conf-te-1/1/2)# ip address 10.55.1.2/24

4. Configure interface in the source VRF "Red" (using the IP address and subnet mask).

switch(config)# interface ten 1/1/3

switch(conf-te-1/1/3)# vrf forwarding Red

switch(conf-te-1/1/3)# ip address 10.50.1.2/24

Example of Inter-VRF leaking

614

Network OS Administrator’s Guide

53-1003225-04