360
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
stub
stub
To configure a router as a stub using the Enhanced Interior Gateway Routing Protocol (EIGRP), use the
stub command. To disable the EIGRP stub routing feature, use the no form of this command.
stub [direct | leak-map map-name | receive-only | redistributed]
no stub [direct | leak-map map-name | receive-only | redistributed]]
Syntax Description
Command Default Disabled
Command Modes Address-family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
Usage Guidelines 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 EIGRP stub routing 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 stub
command, only the route types specified by the particular keyword(s) are advertised.
This command requires the LAN Enterprise Services license.
Examples This example shows how to configure the router as a receive-only neighbor:
switch# configure terminal
switch(config)# router eigrp 1
switch(config-router)# stub receive-only
switch(config-router)#
direct (Optional) Advertises directly connected routes. This is enabled by default.
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.
Release Modification
5.0(3)A1(1) This command was introduced.