E Commands
This chapter describes the Cisco NX-OS Enhanced Interior Gateway Routing Protocol (EIGRP) commands that begin with E.
eigrp log-neighbor-changes
To enable the logging of changes in Enhanced Interior Gateway Routing Protocol (EIGRP) neighbor adjacencies, use the eigrp log-neighbor-changes command. To disable the logging of changes in EIGRP neighbor adjacencies, use the no form of this command.
Syntax Description
Command Default
Command Modes
Address-family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the eigrp log-neighbor-changes command to log neighbor adjacency changes to monitor the stability of the routing system and to detect problems. Logging is enabled by default. To disable the logging of neighbor adjacency changes, use the no form of this command.
Examples
This example shows how to enable logging of neighbor changes for EIGRP process 209:
Related Commands
|
|
---|---|
eigrp log-neighbor-warnings
To enable the logging of Enhanced Interior Gateway Routing Protocol (EIGRP) neighbor warning messages, use the eigrp log-neighbor-warnings command. To disable the logging of EIGRP neighbor warning messages, use the no form of this command.
eigrp log-neighbor-warnings [ seconds ]
no eigrp log-neighbor-warnings
Syntax Description
(Optional) Time interval (in seconds) between repeated neighbor warning messages. The range of seconds is from 1 to 65535. |
Command Default
Command Modes
Address-family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the eigrp log-neighbor-warnings command to enable neighbor warning messages and to configure the interval between repeated neighbor warning messages.
Examples
This example shows how to log neighbor warning messages for EIGRP process 209 and to repeat the warning messages in 5-minute (300 seconds) intervals:
Related Commands
|
|
---|---|
eigrp router-id
To set the router ID used by the Enhanced Interior Gateway Routing Protocol (EIGRP) when communicating with its neighbors, use the eigrp router-id command. To remove the configured router ID, use the no form of this command.
Syntax Description
Command Default
EIGRP automatically selects an IP address to use as the router ID when an EIGRP process is started.
Command Modes
Address-family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
EIGRP automatically selects an IP address to use as the router ID when an EIGRP process is started. The highest local IP address is selected and loopback interfaces are preferred. The router ID is not changed unless the EIGRP process is removed with the no router eigrp command or if the router ID is manually configured with the eigrp router-id command.
Use the eigrp router-id command to manually configure the router ID for EIGRP. The router ID is used to identify the originating router for external routes. If an external route is received with the local router ID, the route is discarded. The router ID can be configured with any IP address with two exceptions; 0.0.0.0 and 255.255.255.255 are not legal values and cannot be entered. You should configure a unique value for each router.
Examples
This example shows how to configure 172.16.1.3 as a fixed router ID:
Related Commands
|
|
---|---|
eigrp stub
To configure a router as a stub using the Enhanced Interior Gateway Routing Protocol (EIGRP), use the eigrp stub command. To disable the EIGRP stub routing feature, use the no form of this command.
eigrp stub [ direct | leak-map map-name | receive-only | redistributed ]
no eigrp stub [ direct | leak-map map-name | receive-only | redistributed ]
Syntax Description
(Optional) Advertises redistributed routes from other protocols and autonomous systems. |
Command Default
Command Modes
Address-family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the eigrp stub command to configure a router as a stub where the router directs all IP traffic to a distribution router.
The direct keyword permits EIGRP stub routing to advertise connected routes. This option is enabled by default.
The receive-only keyword restricts the router from sharing any of its routes with any other router in that EIGRP autonomous system, and the receive-only keyword does not permit any other option to be specified because it prevents any type of route from being sent.
The redistributed keyword permits the EIGRP Stub Routing feature to send other routing protocols and autonomous systems. Without the configuration of this option, EIGRP does not advertise redistributed routes.
If you use any of these four keywords ( direct, leak-map, receive-only, redistributed) with the eigrp stub command, only the route types specified by the particular keyword are advertised.
Examples
This example shows how to configure the router as a receive-only neighbor:
Related Commands
|
|
---|---|