The peer default-route-advertise command configures a BGP device to advertise a default route to its peer or peer group.
The undo peer default-route-advertise command cancels the configuration.
By default, a BGP device does not advertise any default route to its peer or peer group.
Usage Scenario
In a VPN ORF scenario, if a device does not support VPN ORF, you can configure an RR to advertise default VPN ORF routes to a peer group in the BGP-VPN-Target address family view so that the RR establishes a VPN ORF route-based peer relationship with the peer or peer group. In this way, VPN OFR is implemented.
For the specific usage scenario of this command, see "VPN" -> "BGP/MPLS IP VPN Configuration" -> "Configuring VPN ORF" in the Configuration Guide.<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 10.1.1.1 as-number 100 [*HUAWEI-bgp] ipv4-family vpn-target [*HUAWEI-bgp-af-vpn-target] peer 10.1.1.1 enable [*HUAWEI-bgp-af-vpn-target] peer 10.1.1.1 default-route-advertise