S Commands

This chapter describes the Cisco NX-OS Enhanced Interior Gateway Routing Protocol (EIGRP) commands that begin with S.

shutdown (EIGRP)

To shut down an instance of Enhanced Interior Gateway Routing Protocol (EIGRP), use the shutdown command. To disable this function, use the no form of this command.

shutdown

no shutdown

 
Syntax Description

This command has no arguments or keywords.

 
Command Default

Enabled

 
Command Modes

Address family configuration mode
Router configuration mode
Router VRF configuration mode

 
Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

Use the shutdown command to disable an instance of EIGRP without removing the configuration.

This command requires the LAN Base Services license.

Examples

This example shows how to disable eigrp 209:

switch(config)# router eigrp 209
switch(config-router)# shutdown
switch(config-router)#
 

 
Related Commands

Command
Description

copy running-config startup-config

Saves the configuration in the startup configuration file.

show ip eigrp interfaces

Displays information about EIGRP interfaces.

 

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

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

6.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

Use the 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 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 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)# stub receive-only
switch(config-router)#
 

 
Related Commands

Command
Description

copy running-config startup-config

Saves the configuration changes to the startup configuration file.

show ip eigrp

Displays EIGRP information.

show ip eigrp neighbors

Displays EIGRP neighbor information.