![]() |
Table Of Contents
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.
glbp group
no glbp group
Syntax Description
Defaults
None
Command Modes
Interface configuration
Supported User RolesNetwork Administrator
VDC AdministratorCommand 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.
This command does not require a license.
Examples
The following example shows how to create GLBP group 10 on Ethernet interface 1/1:
switch(config)# interface ethernet 1/1
switch(config-if)# glbp 10
Related Commands
Command Descriptionip (GLBP)
Configures a virtual IP address and activates the GLBP group.
show glbp
Displays GLBP information.
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
Command Default
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:
•
restart-time: 120 seconds
•
stalepath-time: 360 seconds
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 configurationSupported User Rolesnetwork-admin
vdc-adminCommand 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
The following example shows how to enable the BGP graceful restart capability:
switch(config-router)# graceful-restartswitch(config-router)#The following example shows how to set the restart timer is set to 240 seconds:
switch(config-router)# graceful-restart restart-timer 240switch(config-router)#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.
graceful-restart
no graceful restart
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled
Command Modes
Address-family configuration
Router configuration
Router VRF configurationSupported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
Use the graceful-restart command to allow EIGRP to remain in the data forwarding path through a process restart.
This command requires the Enterprise Services license.
Examples
The following example shows how to enable graceful restart:
switch(config)# router eigrp 1switch(config-router)# graceful-restartRelated Commands
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.
graceful-restart
no graceful-restart
Syntax Description
This command has no arguments or keywords.
Command Default
Graceful restart is enabled by default.
Command Modes
Address-family configuration
Router configuration
VRF configurationSupported User Rolesnetwork-admin
vdc-adminCommand 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.
This command requires the Enterprise Services license.
Examples
The following example shows how to enable the graceful restart capability:
switch(config-router)# graceful-restartswitch(config-router)#Related Commands
Command Descriptionfeature isis
Enables IS-IS on the router.
router isis
Creates an IS-IS instance.
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
Enabled by default. Grace period: 60 seconds
Command Modes
Router configuration
Supported User Rolesnetwork-admin
vdc-adminCommand 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.
This command requires the Enterprise Services license.
Examples
The following example shows how to configure a graceful restart to occur only for a planned restart:
switch(config)# router ospf 202switch(config-router)# graceful-restart grace-period 300 planned-only
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
Enabled by default. Grace period: 60 seconds
Command Modes
Router configuration
Supported User Rolesnetwork-admin
vdc-adminCommand 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.
This command requires the Enterprise Services license.
Examples
This example shows how to configure a graceful restart to occur only for a planned restart:
switch(config)# router ospfv3 202switch(config-router)# graceful-restart grace-period 300 planned-only
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 mesage when IS-IS acknowleges 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 graceful-restart t3 manual
Syntax Description
Command Default
60 seconds
Command Modes
Router configuration
VRF configurationSupported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
Use the graceful-restart t3 manual command to set the T3 timer, as defined in RFC 3847.
This command requires the Enterprise Services license.
Examples
The following example shows how to set the T3 timer:
switch(config-router)# graceful-restart t3 manual 90switch(config-router)#Related Commands
Command Descriptionfeature isis
Enables IS-IS on the router.
router isis
Creates an IS-IS instance.