home

Supported platforms

Vyatta documentation

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

protocols bgp <asn> address-family ipv4-unicast redistribute connected

Redistributes directly connected routes into BGP.

set protocols bgp asn address-family ipv4-unicast redistribute connected [ route-map map-name ]
delete protocols bgp asn address-family ipv4-unicast redistribute connected [ route-map [ map-name ] ]
show protocols bgp asn address-family ipv4-unicast redistribute connected

When this command has not been set, directly connected routes are not distributed into BGP.

asn
The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
map-name
The name of a configured route map to be used for redistributing connected routes.

Configuration mode


protocols {
    bgp asn {
        address-family {
            ipv4-unicast {
                redistribute {
                        connected {
                            route-map map-name
                    }
                }
            }
        }
    }
}

Use this command to redistribute directly connected routes into BGP.

Use the set form of this command to direct the router to redistribute directly connected routes into BGP.

Use the delete form of this command to prevent redistribution of directly connected routes into BGP.

Use the show form of this command to view route redistribution configuration 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.