Cisco Cisco Packet Data Interworking Function (PDIF) Guía De Administador
BGP MPLS VPNs
IPv6 Support for BGP MPLS VPNs ▀
Cisco ASR 5500 System Administration Guide ▄
267
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.
only IPv6 routes.
Figure 19. VPNv6 Sample Configuration
Configure VRFs.
ip vrf vrf1
exit
ip vrf vrf2
exit
ip vrf vrf3
exit
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
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
ip address 192.168.110.90 255.255.255.0
exit
interface ce_v6_interface
ip address 2009:0101:0101:0101::1/96
exit
interface ce_loopback loopback
ip address 192.168.110.90 255.255.255.0
exit
interface ce_v6_interface
ip address 2009:0101:0101:0101::1/96
exit
interface ce_loopback loopback