The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Enhanced Interior Gateway Routing Protocol (EIGRP) commands that begin with R.
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 }
Address family configuration mode
Router configuration mode
Router VRF configuration mode
|
|
---|---|
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.
This example shows how to redistribute cause BGP routes into an EIGRP autonomous system:
|
|
---|---|
Sets the default metrics for routes redistributed into 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 ]
Router configuration mode
VRF configuration mode
|
|
---|---|
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.
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
|
|
---|---|
Saves the configuration changes to the startup configuration file. |
|
To restart an Enhanced Interior Gateway Routing Protocol (EIGRP) instance and remove all associated neighbors, use the restart command.
Name for an EIGRP routing instance. The name can be a maximum of 20 alphanumeric characters. |
|
|
---|---|
This example shows how to restart the OSPFv2 instance and remove all neighbors:
|
|
---|---|
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.
Name of an EIGRP instance. The instance-tag can be any case-sensitive, alphanumeric string up to 20 characters. |
|
|
---|---|
This example shows how to configure a routing process for EIGRP:
|
|
---|---|
Configures the default metric for routes redistributed into 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.
32-bit router ID value specified in four-part, dotted-decimal notation. |
If this command is not configured, EIGRP chooses an IPv4 address as the router ID from one of its interfaces.
Address family configuration mode
Router configuration mode
Router VRF configuration mode
|
|
---|---|
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.
This example shows how to assign the IP address of 192.0.2.1 to the EIGRP process 1:
|
|
---|---|