Sample Configuration
Sample Configuration
This example assumes three VRFs. VRF 1 has only IPv4 routes, VRF f2 has both IPv4 and IPv6 routes, and
VRF 3 has only IPv6 routes.
Figure 23: VPNv6 Sample Configuration
Configure VRFs.
ip vrf vrf1
exit
ip vrf vrf2
exit
ip vrf vrf3
exit
Enable MPLS BGP forwarding.
mpls bgp forwarding
Configure pools.
ip pool vrf1-pool 51.52.53.0 255.255.255.0 private 0 vrf vrf1
exit
ip pool vrf2-pool 51.52.53.0 255.255.255.0 private 0 vrf vrf2
exit
ipv6 pool vrf2-v6pool prefix 2005:0101::/32 private 0 vrf vrf2
exit
ipv6 pool vrf3-v6pool prefix 2005:0101::/32 private 0 vrf vrf3
exit
Configure interfaces.
interface ce_interface_to_rtr
exit
interface ce_v6_interface
exit
interface ce_loopback loopback
exit
interface vrf1-loop loopback
exit
interface vrf2-loop loopback
exit
interface vrf2-v6loop loopback
ASR 5000 System Administration Guide, StarOS Release 21.1
294
ip address 192.168.110.90 255.255.255.0
ip address 2009:0101:0101:0101::1/96
ip address 52.1.2.3 255.255.255.255
ip vrf forwarding vrf1
ip address 1.52.53.54 255.255.255.255
ip vrf forwarding vrf2
ip address 2.52.53.54 255.255.255.255
ip vrf forwarding vrf2
BGP MPLS VPNs