Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

protocols bgp <asn> neighbor <id> address-family ipv6-unicast default-originate

Enables or disables forwarding of the default route to a BGP neighbor.

set protocols bgp asn neighbor id address-family ipv6-unicast default-originate [ route-map map-name ]
delete protocols bgp asn neighbor id address-family ipv6-unicast default-originate [ route-map map-name ]
show protocols bgp asn neighbor id address-family ipv6-unicast default-originate

The default route is not distributed.

asn
The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
id
The IPv4 or IPv6 address of a BGP neighbor.
map-name
Specifies a configured route map to be used when advertising the default route.

Configuration mode


protocols {
    bgp asn {
        neighbor id {
            address-family {
                ipv6-unicast {
                    default-originate {
                        route-map map-name
                    }
                }
            }
        }
    }
}

This command applies to IPv6 unicast routes only.

Use the set form of this command to enable the router to advertise the default route ::/0 to this BGP neighbor. This route can then be used by the neighbor to reach the local router if no other routes are available.

The route ::/0 need not be explicitly configured on the local router.

If a route map is specified, the default route is advertised if two conditions are satisfied:

  • The route map includes a match ip address clause.
  • A route exists that exactly matches the IP access list.

Route maps are configured using protocols bgp <asn> neighbor <id> local-as <asn>.

Use the delete form of this command to disable forwarding of the default route or to delete a route map.

Use the show form of this command to view BGP neighbor default route origination settings.