Configuring inter-vrf route leaking, Displaying inter-vrf route leaking – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 613

A static route conflict may happen when the same prefix is reachable by two different nexthops in the
target VRF. The forwarding behavior would be different based on which command occurred later. This
following example presents a static route conflict for 10.1.2.0/24.
switch(config)# vrf red
switch(config)# ip route 10.1.2.0/24 next-hop-vrf green 10.1.1.1
switch(config)# vrf green
switch(config)# ip route 10.1.2.0/24 18.1.1.1
A dynamic route conflict can occur when dynamic routing protocols advertise different routes to the
same prefix in the target VRF.
A connected route conflict is illustrated by the following example:
switch(config)# vrf red
switch(config)# ip route 10.1.2.0/24 next-hop-vrf green 10.1.1.1
switch(config)# interface Te 1/2/1
switch(config)# vrf forwarding green
switch(config)# ip address 10.1.2.1/24
NOTE
You will need to be aware of such possible conflicts before deploying the route leak feature, as currently
there is no error checking for these problems. A good rule is to make sure that definitions are globally
unique and route collisions do not exist.
Displaying Inter-VRF route leaking
The show command for the IP routing table (show ip route) displays a ‘+’ sign next to the route type for
the leaked routes in a VRF.
The following example shows the static route using the next-hop VRF option for route leaking:
switch# show ip route
Total number of IP routes: 3
Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP Codes - i:iBGP e:eBGP
ISIS Codes - L1:Level-1 L2:Level-2
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link
Destination Gateway Port Cost Type Uptime
1 0.0.0.0/0 10.24.64.1 mgmt 1 1/1 S 8m24s
2 1.1.1.0/24 10.1.1.10 Ve 10 1/1 S+ 3m11s
3 10.24.64.0/20 DIRECT mgmt 1 0/0 D 8m28s
Notice the '+' sign next to the Type entry for route entry 2.
You can also determine the leaked route for a specific pair of VRFs by specifying the pair as part of the
(show ip route) command, as illustrated in the following example:
switch# show ip route vrf vrf1
Total number of IP routes: 2
Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP Codes - i:iBGP e:eBGP
ISIS Codes - L1:Level-1 L2:Level-2
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link
Destination Gateway Port Cost Type Uptime
1 0.0.0.0/0 192.168.64.1 mgmt 1 1/1 S 8m24s
2 10.11.11.0/24 192.168.21.2 Ve 12 1/1 S+ 3m11s
Notice the '+' sign next to the Type entry for route entry 2.
Configuring Inter-VRF route leaking
Inter-VRF route leaking is a feature which should only be deployed by an advanced user.
Use the following procedure to set up Inter-VRF route leaking. Refer to the
on page 614 for an illustration.
Configuring Inter-VRF route leaking
Network OS Administrator’s Guide
613
53-1003225-04