...
- Create Layer 3 VLAN interfaces VLAN10 and VLAN20 on user access interface te-1/1/3, Layer 3 VLAN interfaces VLAN11 and VLAN21 on the interface te-1/1/4 connected to PE. Set the overlapping IP address 172.168.1.1 to VLAN10 and VLAN20, 192.168.2.1 to VLAN11 and VLAN2VLAN21.
- Bind the Layer 3 VLAN interfaces VLAN10 and VLAN11 to vrf1, VLAN11 VLAN20 and VLAN21 to vrf2.
- Configure a static route for each VRF for data forwarding. For example, the destination network segment is 10.10 1.0/24, the next hop is 172.168.1.1.
Procedure
Step1 Enable IP routing function before using VRF function.
...
Step5 (Optional) Configure a static route entry into the VRF, the destination network segment is 10.10 1.0/24, the next hop is 172.168.1.1.
Code Block |
---|
admin@XorPlus# set protocols static vrf vrf1 route 10.10.1.0/24 next-hop 172.168.1.1 admin@XorPlus# set protocols static vrf vrf2 route 10.10.1.0/24 next-hop 172.168.1.1 |
...