299
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
redistribute (RIP)
redistribute (RIP)
To redistribute routes from another routing domain into the Routing Information Protocol (RIP), use the
redistribute command. To restore the system to its default condition in which the software does not
redistribute routes, use the no form of this command.
redistribute {bgp id | direct | eigrp id | ospf id | static} route-map map-name
Syntax Description
Command Default Route redistribution is disabled.
Command Modes Router address-family configuration mode
Command History
Usage Guidelines Cisco NX-OS filters redistributed routing information using a route map. You can configure the route
map to set the RIP metric used for redistributed routes. If you do not set the RIP metric with a route map,
Cisco NX-OS determines the metric based on the redistributed protocol or by the default-metric
command. If Cisco NX-OS cannot determine a valid metric, then it does not redistribute the routes.
This command does not require a license.
Examples This example shows how to redistribute BGP routes into a RIP process:
switch# configure terminal
bgp Redistributes routes from the Border Gateway Protocol (BGP).
direct Redistributes routes from directly connected routes only.
eigrp Redistributes routes from the Enhanced Interior Gateway Routing Protocol
(EIGRP).
ospf Redistributes routes from the Open Shortest Path First (OSPF) protocol.
static Redistributes routes from IP static routes.
id For the bgp keyword, an autonomous system number. The range for 2-byte
numbers is from 1 to 65535. The range for 4-byte numbers is from 1.0 to
65535.65535.
For the eigrp keyword, an EIGRP instance name from which routes are to
be redistributed. The value takes the form of a string. You can enter a
decimal number, but Cisco NX-OS stores it internally as a string.
For the ospf keyword, an OSPF instance name from which routes are to be
redistributed. The value takes the form of a string. A decimal number can
be entered, but it is stored internally as a string.
route-map map-name Associates a route map to set the redistribution policy for RIP.
Release Modification
5.0(3)A1(1) This command was introduced.