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.
Command Modes
Usage GuidelinesUse 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.
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.
Command Modes
Usage GuidelinesUse 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.
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
DefaultsGraceful 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 ModesNeighbor address-family configuration
Router bgp configuration
VRF configuration
Usage GuidelinesThe 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.
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.
Command ModesAddress-family configuration
Router configuration
Router VRF configuration
Usage GuidelinesUse the graceful-restart command to allow EIGRP to remain in the data forwarding path through a process 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.
Command ModesAddress-family configuration
Router configuration
VRF configuration
Usage GuidelinesThe 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.
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
Command Modes
Usage GuidelinesUse 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.
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
Command Modes
Usage GuidelinesUse 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.
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.