Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols bgp <asn> peer-group <name> address-family ipv6-unicast default-originate

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

set protocols bgp asn peer-group name addr ess-family ipv6-unicast default-originate route-map map-name
delete protocols bgp asn peer-group name address-family ipv6-unicast default-originate route-map [ map-name ]
show protocols bgp asn peer-group name address-family ipv6-unicast default-originate route-map

The default route is not distributed.

asn
The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
name
The peer group name.
map-name
Specifies a configured route map to be used when advertising the default route.

Configuration mode


protocols {
    bgp asn {
        peer-group name {
            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 peer group. This route can then be used by the peer group 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> peer-group <name> 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 peer group default route origination settings.

Note: In the case of the IPv4 address family, if extended IPv4 ACLs are used in a route map, the route must be specified in the source field of the ACL and the net mask of the route must be specified in the destination field of the ACL.

The inverse mask for the source field is applied to the prefix before the comparison with the source. The inverse mask for the destination field is applied to the net mask of the prefix before the comparison with the net mask as specified in the destination field.

Effectively, the prefix must match the source with application of inverse mask of the source field. And the net mask for the prefix must match the destination with application of inverse mask of the destination field.