
While importing these routes into VRF-blue, you can further specify match conditions at the import end to define the filtering criteria
based on which the routes are imported into VRF-blue. You can define a route-map import_ospf_protocol and then specify the
match criteria as OSPF using the match source-protocol ospf command.
You can then use the ip route-import route-map command to import routes matching the filtering criteria defined in the
import_ospf_protocol route-map. For a reply communication, VRF-blue is configured with a route-export tag. This value is then
configured as route-import tag on the VRF-Red.
To configure route leaking using filtering criteria, perform the following steps:
1.
Configure VRF-red:
ip vrf vrf-red
interface-type
slot/port
[
/subport
]
ip vrf forwarding VRF-red
ip address
ip—address
mask
A non-default VRF named VRF-red is created and the interface is assigned to this VRF.
2.
Define a route-map export_ospfbgp_protocol.
Dell(config)route-map export_ospfbgp_protocol permit 10
3.
Define the matching criteria for the exported routes.
Dell(config-route-map)match source-protocol ospf
Dell(config-route-map)match source-protocol bgp
This action specifies that the route-map contains OSPF and BGP as the matching criteria for exporting routes from vrf-red.
4.
Configure the export target in the source VRF with route-map export_ospfbgp_protocol.
ip route-export 1:1 export_ospfbgp_protocol
5.
Configure VRF-blue.
ip vrf vrf-blue
interface-type
slot/port
[
/subport
]
ip vrf forwarding VRF-blue
ip address
ip—address
mask
A non-default VRF named VRF-blue is created and the interface 1/22 is assigned to it.
6.
Define the route-map import_ospf_protocol.
Dell(config)route-map import_ospf_protocol permit 10
7.
Define the matching criteria for importing routes into VRF-blue.
Dell(config-route-map)match source-protocol ospf
This action specifies that the route-map contains OSPF as the matching criteria for importing routes into vrf-blue.
8.
Configure the import target in VRF-blue with route-map import_ospf_protociol.
ip route-import 1:1 import_ospf_protocol
When you import routes into VRF-blue using the route-map import_ospf_protocol, only OSPF routes are imported into VRF-
blue. Even though VRF-red has leaked both OSPF as well as BGP routes to be shared with other VRFs, this command imports
only OSPF routes into VRF-blue.
9.
Configure the import target in the source VRF for reverse communnication with the destination VRF.
ip route-import 2:2
976
Virtual Routing and Forwarding (VRF)
Содержание S4048-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Страница 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Страница 477: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 477 ...
Страница 480: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command 480 Link Aggregation Control Protocol LACP ...
Страница 481: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 481 ...
Страница 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Страница 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Страница 524: ...Figure 89 Configuring PIM in Multiple Routing Domains 524 Multicast Source Discovery Protocol MSDP ...
Страница 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Страница 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Страница 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Страница 633: ...Policy based Routing PBR 633 ...
Страница 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Страница 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...