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

Redistributes routes learned from Routing Information Protocol (RIP) into BGP.

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

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

Configuration mode


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

Use the set form of this command to direct the router to redistribute routes learned from RIP into BGP.

Use the delete form of this command to prevent redistribution of routes learned from RIP 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.