R Commands
This chapter describes the Cisco NX-OS Enhanced Interior Gateway Routing Protocol (EIGRP) commands that begin with R.
redistribute (EIGRP)
To inject routes from one routing domain into the Enhanced Interior Gateway Routing Protocol (EIGRP), use the redistribute command. To remove the redistribute command from the configuration file and restore the system to its default condition in which the software does not redistribute routes, use the no form of this command.
redistribute { bgp as-number | direct | eigrp id | ospf instance-tag | rip instance-tag | static } [ route-map map-name ]
no redistribute { bgp as-number | direct | eigrp as-number | ospf instance-tag | rip instance-tag | static }
Syntax Description
Command Default
Command Modes
Address family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the redistribute command to import routes from other routing protocols into EIGRP. You should always use a route map to filter these routes to ensure that EIGRP redistributes only the routes that you intend to redistribute.
You must configure a default metric to redistribute routes from another protocol into EIGRP. You can configure the default metric with the default-metric command or with the route map configured with the redistribute command.
Examples
This example shows how to redistribute cause BGP routes into an EIGRP autonomous system:
Related Commands
|
|
---|---|
Sets the default metrics for routes redistributed into EIGRP. |
|
redistribute maximum-prefix (EIGRP)
To limit the number of routes redistributed into Enhanced Interior Gateway Routing Protocol (EIGRP), use the redistribute maximum-prefix command. To return to the default setting, use the no form of this command.
redistribute maximum-prefix max [ threshold ] [ warning-only | withdraw [ num-retries timeout ]]
no redistribute maximum-prefix max [ threshold ] [ warning-only | withdraw [ num-retries timeout ]
Syntax Description
Command Default
Command Modes
Router configuration mode
VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the redistribute maximim-prefix command to limit the number of routes redistributed into EIGRP. Use the clear ip eigrp redistribute command if all routes are withdrawn.
Examples
This example shows how to limit the number of redistributed routes into EIGRP:
switch(config)# router eigrp 201
switch(config-router)# address-family ipv4 unicast
switch(config-router-af)# redistribute bgp route-map FilterExternalBGP
switch(config-router-af)# redistribute maximum-prefix 1000 75
Related Commands
|
|
---|---|
Saves the configuration changes to the startup configuration file. |
|
restart eigrp (EIGRP)
To restart an Enhanced Interior Gateway Routing Protocol (EIGRP) instance and remove all associated neighbors, use the restart command.
Syntax Description
Name for an EIGRP routing instance. The name can be a maximum of 20 alphanumeric characters. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to restart the OSPFv2 instance and remove all neighbors:
Related Commands
|
|
---|---|
router eigrp
To configure a routing process and enter router configuration mode for Enhanced Interior Gateway Routing Protocol (EIGRP), use the router eigrp command. To turn off the EIGRP routing process, use the no form of this command.
Syntax Description
Name of an EIGRP instance. The instance-tag can be any case-sensitive, alphanumeric string up to 20 characters. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to configure a routing process for EIGRP:
Related Commands
|
|
---|---|
Configures the default metric for routes redistributed into EIGRP. |
|
router-id (EIGRP)
To configure a router ID for an Enhanced Interior Gateway Routing Protocol (EIGRP) process, use the router-id command. To cause the software to use the default method of determining the router ID, use the no form of this command.
Syntax Description
32-bit router ID value specified in four-part, dotted-decimal notation. |
Command Default
If this command is not configured, EIGRP chooses an IPv4 address as the router ID from one of its interfaces.
Command Modes
Address family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the router-id command to manually specify a unique 32-bit numeric value for the router ID. This action ensures that EIGRP can function regardless of the interface address configuration.
Examples
This example shows how to assign the IP address of 192.0.2.1 to the EIGRP process 1:
Related Commands
|
|
---|---|