DES-7200 Configuration Guide Chapter 8 VRF
Configuration
8-4
Figure-2
CE-A
DES-7200# hostname CE-A
CE-A# configure terminal
# Create VRF
CE-A(config)# ip vrf vpn1
CE-A(config)# ip vrf vpn2
# Enable VRF on the interface
CE-A(config)# interface f0/0
CE-A(config-if)#description connecting-to-vpn1
CE-A(config-if)# ip vrf forwarding vpn1
CE-A(config-if)# ip address 192.168.4.1 255.255.255.0
CE-A(config)# interface f0/1
CE-A(config-if)# ip vrf forwarding vpn2
CE-A(config-if)# ip address 192.168.5.1 255.255.255.0
CE-A(config-if)#description connecting-to-vpn2
CE-A(config)# interface f1/0
CE-A(config-if)# no ip address
CE-A(config)# interface f1/0.10
CE-A(config-if)# encapsulation dot1Q 10
CE-A(config-if)# ip vrf forwarding vpn1
CE-A(config-if)# ip address 10.10.1.1 255.255.255.0
CE-A(config)# interface f1/0.20
CE-A(config-if)# encapsulation dot1Q 20
CE-A(config-if)# ip vrf forwarding vpn2
CE-A(config-if)# ip address 10.10.2.1 255.255.255.0
# Set the VRF static route
CE-A(config)# ip route vrf vpn1 192.168.44.0 255.255.255.0 10.10.1.2
CE-A(config)# ip route vrf vpn1 192.168.55.0 255.255.255.0 10.10.2.2