Advertising a default route to a peer or peer group
Perform this task to advertise a default BGP route with the next hop being the advertising router to a peer or peer group.
To advertise a default route to a peer or peer group (IPv4 unicast/multicast address family):
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, or BGP IPv4 multicast address family view. |
| N/A |
3. Advertise a default route to a peer or peer group. | peer { group-name | ipv4-address [ mask-length ] } default-route-advertise [ route-policy route-policy-name ] | By default, no default route is advertised. |
To advertise a default route to a peer or peer group (IPv6 unicast/multicast address family):
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view, or BGP IPv6 multicast address family view. |
| N/A |
3. Advertise a default route to a peer or peer group. | peer { group-name | ipv6-address [ prefix-length ] } default-route-advertise [ route-policy route-policy-name ] | By default, no default route is advertised. |