VRF Lite enables us to use L3 VPN without using MPLS, to add Customer Edge (CE) devices with multiple routing instances and increase security. The following information describes the configuration steps for setting up multiple routing instances on a Customer Edge (CE) switch.
Virtual Routing and Forwarding (VRF) is often used in conjunction with Layer 3 subinterfaces, allowing traffic on a single physical interface to be differentiated and associated with multiple virtual routers. Each logical Layer 3 subinterface can belong to only one routing instance. The following information describes the configuration steps for creating two Virtual Routers on each switch CE-A and CE-B as in the diagram below. In this application both switches are connected over vlan-tagged interface to the Provider Edge (PE) router, with two Virtual Router instances, VR1 and VR2 Switch CE-A Configuration:
root# show routing-instances vr1 { instance-type virtual-router; interface vlan.100; interface ge-0/0/1.0; interface ge-0/0/3.0; } Configure vr2 { instance-type virtual-router; interface ge-0/0/2.0; interface ge-0/0/3.1; }
root# show vlans v100 { vlan-id 100; interface { ge-0/0/0.0; } l3-interface vlan.100; }
root# show interfaces ge-0/0/3 vlan-tagging; unit 0 { vlan-id 1030; family inet { address 103.1.1.1/24 } } unit 1 { vlan-id 1031; family inet { address 103.1.1.1/24; } }
root# show routing-instances vr1 { instance-type virtual-router; interface ge-0/0/4.0; interface ge-0/0/5.0; } vr2 { instance-type virtual-router; interface ge-0/0/4.1; interface ge-0/0/6.0; }
root# show interfaces ge-0/0/4 vlan-tagging; unit 0 { vlan-id 1000; family inet { address 105.1.1.1/24 } } unit 1 { vlan-id 1001; family inet { address 105.1.1.1/24; } }