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.

eigrp log-neighbor-changes

no eigrp log-neighbor-changes

 
Syntax Description

This command has no arguments or keywords.

 
Command Default

Adjacency changes are logged.

 
Command Modes

Address-family configuration mode
Router configuration mode
Router VRF configuration mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
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.

This command requires the LAN Base Services license.

Examples

This example shows how to enable logging of neighbor changes for EIGRP process 209:

switch(config)# router eigrp 209
switch(config-router)# eigrp log-neighbor-changes
 

 
Related Commands

Command
Description

log-adjacency-changes

Enables logging of EIGRP adjacency state changes.

log-neighbor-changes

Enables logging of EIGRP neighbor changes.

log-neighbor-warnings

Enables logging of EIGRP neighbor warnings.

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

seconds

(Optional) Time interval (in seconds) between repeated neighbor warning messages. The range of seconds is from 1 to 65535.

 
Command Default

Neighbor warning messages are logged.

 
Command Modes

Address-family configuration mode
Router configuration mode
Router VRF configuration mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
Usage Guidelines

Use the eigrp log-neighbor-warnings command to enable neighbor warning messages and to configure the interval between repeated neighbor warning messages.

This command requires the LAN Base Services license.

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:

switch(config)# router eigrp 209
switch(config-router)# eigrp log-neighbor-warnings 30
 

 
Related Commands

Command
Description

log-adjacency-changes

Enables logging of EIGRP adjacency state changes.

log-neighbor-changes

Enables logging of EIGRP neighbor changes.

log-neighbor-warnings

Enables logging of EIGRP neighbor warnings.

 

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.

eigrp router-id ip-address

no eigrp router-id ip-address

 
Syntax Description

ip-address

Router ID in dotted decimal notation.

 
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

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
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.

This command requires the LAN Base Services license.

Examples

This example shows how to configure 172.16.1.3 as a fixed router ID:

switch(config)# router eigrp 209
switch(config-router)# eigrp router-id 172.16.1.3
 

 
Related Commands

Command
Description

show ip eigrp

Displays a summary of the EIGRP processes.

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

direct

(Optional) Advertises directly connected routes.

leak-map map-name

(Optional) Allows dynamic prefixes based on the leak map.

receive-only

(Optional) Sets the router as a receive-only neighbor.

redistributed

(Optional) Advertises redistributed routes from other protocols and autonomous systems.

 
Command Default

Disabled

 
Command Modes

Address-family configuration mode
Router configuration mode
Router VRF configuration mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
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.

This command requires the LAN Base Services license.

Examples

This example shows how to configure the router as a receive-only neighbor:

switch(config)# router eigrp 1
switch(config-router)# eigrp stub receive-only
 

 
Related Commands

Command
Description

show ip eigrp

Displays a summary of the EIGRP processes.