The route advertisement allows PEs to advertise default static routes to L2GW/L3GWs based on BGP VPNv4 peer relationships.
The system view is displayed.
To create a default static VPN IPv4 route, run the ip route-static vpn-instance vpn-instance-name 0.0.0.0 { 0.0.0.0 | 0 } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ tag tag ] command.
To create a default static VPN IPv6 route, run the ipv6 route-static vpn-instance vpn-instance-name ::0 { nexthop-ipv6–address | interface-type interface-number [ nexthop-ipv6-address ] } [ tag tag ] command.
The BGP view is displayed.
To enter the IPv4 address family view of a BGP-VPN instance, run the ipv4-family vpn-instance vpn-instance-name command.
To enter the IPv6 address family view of a BGP-VPN instance, run the ipv6-family vpn-instance vpn-instance-name command.
Default static VPN routes are imported to the IPv4 or IPv6 address family of the BGP-VPN instance.
Exit from the IPv4 or IPv6 address family view of the BGP-VPN instance.
Exit from the BGP view.
The configuration is committed.