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> address-family ipv4-unicast redistribute static

Redistributes static routes into BGP.

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

When this command has not been set, static 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 static routes.

Configuration mode


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

Use this command to redistribute static routes into BGP.

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

Use the delete form of this command to prevent redistribution of static 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.