Before configuring BGP to send default routes to peers, configure basic BGP functions.
The system view is displayed.
The BGP view is displayed.
Run ipv4-family { unicast | multicast }
The IPv4 address family view is displayed.
Run ipv6-family [ unicast ]
The IPv6 address family view is displayed.
Or run peer { group-name | ipv4-address | ipv6-address } default-route-advertise [ route-policy route-policy-name ] [ conditional-route-match-all { ipv6-address1 prefix-length1 } &<1-4> | conditional-route-match-any { ipv6-address2 prefix-length2 } &<1-4> ]
A BGP device is configured to send default routes to a peer or peer group.
Run the display bgp routing-table [ ipv4-address [ mask | mask-length [ longer-prefixes ] ] ] command to check received BGP default routes.