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
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
The show run output for the above configuration is as follows:
ip vrf vrf-Red
ip route-export 1:1 export_ospfbgp_protocol
ip route-import 2:2
! this action exports only the OSPF and BGP routes to other VRFs
!
ip vrf vrf-Blue
ip route-export 2:2
ip route-import 1:1 import_ospf_protocol
!this action accepts only OSPF routes from VRF-red even though both OSPF as well as BGP routes
are shared
The show VRF commands displays the following output:
Dell# show ip route vrf VRF-Blue
C 122.2.2.0/24 Direct, Gi 1/22 0/0 22:39:61
O 22.2.2.2/32 via 122.2.2.2 110/0
00:00:11
972
Virtual Routing and Forwarding (VRF)
Summary of Contents for S3048-ON
Page 1: ...Dell Configuration Guide for the S3048 ON System 9 11 2 5 ...
Page 137: ...0 Gi 1 1 Gi 1 2 rx Flow N A N A 0 0 No N A N A yes Access Control Lists ACLs 137 ...
Page 142: ...Figure 10 BFD Three Way Handshake State Changes 142 Bidirectional Forwarding Detection BFD ...
Page 241: ...Dell Control Plane Policing CoPP 241 ...
Page 287: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 287 ...
Page 428: ...Figure 53 Inspecting the LAG Configuration 428 Link Aggregation Control Protocol LACP ...
Page 477: ...Figure 73 Configuring Interfaces for MSDP Multicast Source Discovery Protocol MSDP 477 ...
Page 478: ...Figure 74 Configuring OSPF and BGP for MSDP 478 Multicast Source Discovery Protocol MSDP ...
Page 483: ...Figure 77 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 483 ...
Page 484: ...Figure 78 MSDP Default Peer Scenario 3 484 Multicast Source Discovery Protocol MSDP ...
Page 745: ...Figure 104 Single and Double Tag TPID Match Service Provider Bridging 745 ...
Page 746: ...Figure 105 Single and Double Tag First byte TPID Match 746 Service Provider Bridging ...