Configuring VPN MPLS/VPN SRv6 dual-stack tunnels on networks where IPv4 and IPv6 services coexist prevents potential traffic interruption when IPv4 services are directly migrated to IPv6.
When an MPLS backbone network that carries VPN routes spans multiple ASs, inter-AS VPN technology is used to deploy L3VPN over MPLS services. As IPv4 addresses gradually run out, IPv6 networks will be increasingly deployed to solve this issue. However, such an evolution cannot take place overnight, causing IPv4 and IPv6 services to coexist.
To prevent existing services from being compromised during the upgrade and evolution of existing networks, L3VPN supports dual-stack tunnels. A route with an IPv4 next hop can recurse to an MPLS tunnel, and a route with an IPv6 next hop can recurse to an SRV6 tunnel. Different tunnels can be selected based on the routes with different next hops, which greatly improves the feasibility of the transition from the IPv4 network to the IPv6 network.
Before configuring VPN MPLS/VPN SRv6 dual-stack tunnels, complete the following tasks:
Configure an IGP for each AS on the MPLS backbone network to ensure IP connectivity of the backbone network within each AS.
Configure basic MPLS capabilities and MPLS LDP in each AS on the MPLS backbone network.
Run system-viewcommand to
The system view is displayed.
Run bgp as-number
The BGP view is displayed.
The BGP-VPNv4 address family view is displayed.
Run peer ipv4-address high-priority or peer peerGroupName high-priority
BGP VPNv4 routes learned from the IPv4 peer or peer group are enabled to participate in route selection based on the high priority.
Run commit
The configuration is committed.
After the configuration is complete, verify the configuration: