EIGRP
EIGRP STUB COMMAND
Use the eigrp stub command to configure a router as a stub where
the router directs all IP traffic to a distribution router.
The eigrp stub command can be modified with several
options, and these options can be used in any combination except for the
receive-only keyword. The receive-only keyword will restrict the router from
sharing any of its routes with any other router in that EIGRP autonomous system,
and the receive-only keyword will not permit any other option to be specified
because it prevents any type of route from being sent. The four other optional
keywords (connected, static, summary, and redistributed) can be used in any
combination but cannot be used with the receive-only keyword.
If any of these four keywords is used with the eigrp
stub command, only the route types specified by the particular keyword(s) will
be sent. Route types specified by the non-used keyword(s) will not be sent.
The connected keyword permits 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 permits the EIGRP Stub Routing feature to send static
routes. Without the configuration of 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 permits 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-summary command
enabled. This option is enabled by default.
The redistributed keyword permits the EIGRP Stub Routing feature to send other
routing protocols and autonomous systems. Without the configuration of this
option, EIGRP will not advertize redistributed
routes.
--------------------------------------------------------------------------------
Note Multi-access interfaces, such as ATM, Ethernet, Frame Relay, ISDN PRI, and
X.25, are supported by the EIGRP Stub Routing feature only when all routers on
that interface, except the hub, are configured as stub routers.
--------------------------------------------------------------------------------
Examples
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
lab
scenario
R2(s0/0.203,ip@6.6.23.2/24)<-->(ip@6.6.23.3/24,s0/0.302)R3
R2 Cisco 2611xm IOS 12.3(12)
R3 Cisco 3640 IOS 12.2(27)
R3 is an eigrp stub router that wants to advertise
loopback0(ip@6.6.3.3/32) to R2.
By using "eigrp stub connected" command alone,the connected network won't
be adversised to neighbors.It
only PERMIT the stub router to send connected routes.
To advetise the directly connected network 6.6.3.3,you have to use "redistribute connected"
under the eigrp process.
router eigrp 2006
redistribute connected
network 6.6.23.0 0.0.0.255
default-metric 1500 100 255 1 1500
no auto-summary
eigrp stub connected
_____
another option is to use network statement to send the connected route to
neighbors.
I have
done a similar test.
R2 is the distribution router and R13 is the eigrp
stub router.you can find the "Stub Peer
Advertising ( CONNECTED SUMMARY )" output by using "show ip eigrp nei
det" on the distribution router (R2).Please re
below:
On the distribution router R2:
R2#sh ip eigrp nei det
IP-EIGRP neighbors for process 2006
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 6.6.132.13 Se0/0.213 10 00:13:18 44 264 0 6
Version 12.2/1.2, Retrans: 1, Retries: 0
Stub Peer Advertising ( CONNECTED SUMMARY ) Routes
Suppressing queries
R2#
______________
On the stub router R13:
R13#sh ip eigrp nei det
IP-EIGRP neighbors for process 2006
H Address Interface Hold Uptime SRTT RTO Q Seq Type
(sec) (ms) Cnt Num
0 6.6.132.2 Se0/0.132 12 00:15:08 1916 5000 0 2
Version 12.3/1.2, Retrans: 0, Retries: 0
R13#