G Commands
This chapter describes the Cisco NX-OS unicast routing commands that begin with the letter G.
glbp
To enter GLBP configuration mode and create a Gateway Load Balancing Protocol (GLBP) group, use the glbp command. To delete a GLBP group, use the no form of this command.
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the glbp command to enter GLBP configuration mode and create a GLBP group if the group does not exist.
Note
You must configure all GLBP options before you use the ip command to assign a virtual IP address and activate the GLBP group.
Examples
This example shows how to create GLBP group 10 on Ethernet interface 1/1:
Related Commands
|
|
|
|---|---|
Configures a virtual IP address and activates the GLBP group. |
|
glbp timers extended-hold
To enabled extended hold timers for the Gateway Load Balancing Protocol (GLBP), use the glbp timers extended-hold command. To revert to default, use the no form of this command.
glbp timers extended-hold [ timer ]
Syntax Description
(Optional) Extended hold time, in seconds. The range is from 10 to 255. |
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the glbp timers extended-hold command to configure extended Non-stop Forwarding (NSF) support for GLBP.
Note
You must configure extended hold timers on all GLBP gateways if you configure non-default extended hold timers. You can configure different extended holdtimer values on each GLBP gateway, based on the expected system switchover delays.
Examples
This example shows how to configure the extended hold time for GLBP:
Related Commands
|
|
|
|---|---|
Configures a virtual IP address and activates the GLBP group. |
|
graceful-restart (BGP)
To enable the graceful restart and the graceful restart helper capability, use the graceful-restart or the graceful-restart-helper router BGP configuration mode command. To disable graceful restart and the graceful restart helper capability, use the no form of this command.
graceful-restart [ restart-time restart-time | stalepath-time stalepath-time ] graceful-restart-helper
no graceful-restart { restart-time restart-time | stalepath-time stalepath-time } | graceful-restart-helper
Syntax Description
Defaults
Graceful restart and graceful restart helper are enabled by default. The following default values are used when the graceful-restart command is entered without any keywords or arguments:
Note
Changing the restart and stalepath timer values is not required to enable the BGP graceful restart capability. The default values are optimal for most network deployments, and these values should be adjusted only by an experienced network operator.
Command Modes
Neighbor address-family configuration
Router bgp configuration
VRF configuration
Command History
|
|
|
|---|---|
Usage Guidelines
The graceful-restart command is used to configure or disable the graceful restart capability on a router in a BGP network.If the graceful restart capability is enabled after a BGP session has been established, you will need to restart the session with a soft or hard reset.
The default timer values for this feature are optimal for most network deployments. We recommend that they are adjusted only by experienced network operators. When adjusting the timer values, the restart timer should not be set to a value greater than the hold time that is carried in the OPEN message. If consecutive restart operations occur, routes (from a restarting router) that were previously marked as stale will be deleted.
The graceful-restart-helper command is used to configure the local BGP router to support the graceful restart of a remote BGP peer.
Examples
This example shows how to enable the BGP graceful restart capability:
This example shows how to set the restart timer is set to 240 seconds:
graceful-restart (EIGRP)
To enable graceful restart for the Enhanced Interior Gateway Routing Protocol (EIGRP), use the graceful-restart command. To reset to default, use the no form of this command.
Syntax Description
Defaults
Command Modes
Address-family configuration
Router configuration
Router VRF configuration
Command History
|
|
|
|---|---|
Usage Guidelines
Use the graceful-restart command to allow EIGRP to remain in the data forwarding path through a process restart.
Examples
This example shows how to enable graceful restart:
Related Commands
|
|
|
|---|---|
Configures timers for nonstop forwarding and graceful restart. |
graceful-restart (IS-IS)
To enable the graceful restart for an IS-IS process, use the graceful-restart configuration mode command. To disable graceful restart, use the no form of this command.
Syntax Description
Defaults
Command Modes
Address-family configuration
Router configuration
VRF configuration
Command History
|
|
|
|---|---|
Usage Guidelines
The graceful-restart command is used to configure or disable the graceful restart capability on a router in an IS-IS network. If the graceful restart capability is enabled after an IS-IS session has been established, you will need to restart the session with a soft or hard reset.
Examples
This example shows how to enable the graceful restart capability:
Related Commands
|
|
|
|---|---|
graceful-restart (OSPF)
To configure nonstop forwarding for Open Shortest Path First (OSPF), use the graceful-restart command. To disable this feature, use the no form of this command.
graceful-restart [ grace-period seconds | helper-disable | planned-only ]
no graceful-restart [ grace-period seconds | helper-disable | planned-only ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the graceful-restart command to allow OSPF to remain in the data forwarding path through a process restart. Set the grace period long enough to allow a typical reboot cycle for Cisco NX-OS. Do not set the grace period too long or your network will be relying on old route information.
Examples
This example shows how to configure a graceful restart to occur only for a planned restart:
Related Commands
|
|
|
|---|---|
graceful-restart (OSPFv3)
To configure nonstop forwarding for Open Shortest Path First version 3 (OSPFv3), use the graceful-restart command. To disable this feature, use the no form of this command.
graceful-restart [ grace-period seconds | helper-disable | planned-only ]
no graceful-restart [ grace-period seconds | helper-disable | planned-only ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the graceful-restart command to allow OSPFv3 to remain in the data forwarding path through a process restart. Set the grace period long enough to allow a typical reboot cycle for Cisco NX-OS. Do not set the grace period too long or your network will be relying on old route information.
Examples
This example shows how to configure a graceful restart to occur only for a planned restart:
Related Commands
|
|
|
|---|---|
graceful-restart t3 manual
To configure the time that Intermediate-System-to-Intermediate System (IS-IS) announces as the adjacency remaining time in its hello message when IS-IS acknowledges a peer restart, use the graceful-restart t3 manual command. To revert to the default setting, use the no form of this command.
graceful-restart t3 manual time
no gracef ul-restart t3 manual
Syntax Description
Command Default
Command Modes
Router configuration
VRF configuration
Command History
|
|
|
|---|---|
Usage Guidelines
Use the graceful-restart t3 manual command to set the T3 timer, as defined in RFC 3847.
Examples
This example shows how to set the T3 timer:
Related Commands
|
|
|
|---|---|
Feedback