Configuring EIGRP

EIGRP Configuration Examples

Stub Routing Example

A router that is configured as a stub with the eigrp stub command shares connected and summary routing information with all neighbor routers by default. Four optional keywords can be used with the eigrp stub command to modify this behavior:

receive-only

connected

static

summary

This section provides configuration examples for all forms of the eigrp stub command. The eigrp stub command can be modified with several options, and these options can be used in any combination except for the receive-onlykeyword. The receive-onlykeyword will restrict the router from sharing any of its routes with any other router in that EIGRP autonomous system, and the receive-onlykeyword will not permit any other option to be specified because it prevents any type of route from being sent. The three other optional keywords (connected, static, and summary) can be used in any combination but cannot be used with the receive-onlykeyword. If any of these three keywords is used individually with the eigrp stub command, connected and summary routes will not be sent automatically.

The connected keyword will permit the EIGRP Stub Routing feature to send connected routes. If the connected routes are not covered by a network statement, it may be necessary to redistribute connected routes with the redistribute connected command under the EIGRP process. This option is enabled by default.

The static keyword will permit the EIGRP Stub Routing feature to send static routes. Without this option, EIGRP will not send any static routes, including internal static routes that normally would be automatically redistributed. It will still be necessary to redistribute static routes with the redistribute static command.

The summary keyword will permit the EIGRP Stub Routing feature to send summary routes. Summary routes can be created manually with the summary address command or automatically at a major network border router with the auto-summarycommand enabled. This option is enabled by default.

In the following example, the eigrp stub command is used to configure the router as a stub that advertises connected and summary routes:

router eigrp 1 network 10.0.0.0 eigrp stub

In the following example, the eigrp stub connected static command is used to configure the router as a stub that advertises connected and static routes (sending summary routes will not be permitted):

router eigrp 1 network 10.0.0.0

eigrp stub connected static

In the following example, the eigrp stub receive-onlycommand is used to configure the router as a stub, and connected, summary, or static routes will not be sent:

router eigrp 1

network 10.0.0.0 eigrp stub receive-only

Cisco IOS IP Configuration Guide

IPC-276

Page 322
Image 322
Cisco Systems 78-11741-02 manual Stub Routing Example, IPC-276, Eigrp stub connected static