Packets can be forwarded correctly only when routers at two ends of a tunnel are configured with forwarding routes.
The system view is displayed.
Run the ip route-static ip-address { mask | mask-length } tunnel interface-number command to configure static routes.
When configuring the static routes, you must configure both ends of the tunnel. Note that the destination address is the destination IPv4 address of the packet to be encapsulated with the IPv4 over IPv6 tunnel; the next hop is the tunnel interface at the peer end.
In VPN scenarios, you must also specify the VPN instance to which the next-hop address belongs.
Configure dynamic routes. You can use the Border Gateway Protocol (BGP) or the Interior Gateway Protocol (IGP), excluding Intermediate System-to-Intermediate System (IS-IS). Detailed configurations are not mentioned here.
When configuring a dynamic routing protocol, you must enable the dynamic routing protocol on tunnel interfaces and the IPv4 network-side interfaces.
The configuration is committed.