H3C S9500 Command Manual-Release2132[V2.03]-08 System Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-08 System Volume
01-GR Commands
Title Size Download
01-GR Commands 60.58 KB

Chapter 1  GR Configuration Commands

1.1  GR Configuration Commands

1.1.1  display isis graceful-restart status

Syntax

display isis graceful-restart status [ level-1 | level-2 ] [ process-id | vpn-instance vpn-instance-name ]

View

Any view

Default Level

1: Monitor level

Parameters

level-1: Represents the Level-1 status of the IS-IS Graceful Restart.

level-2: Represents the Level-2 status of the IS-IS Graceful Restart.

process-id: The process ID of an IS-IS Graceful Restart.

vpn-instance vpn-instance-name: The name of a specified VPN instance, a string of 1 to 31 characters.

Description

Use the display isis graceful-restart status command to display IS-IS Graceful Restart status.

Examples

# Display IS-IS Graceful Restart status.

<Sysname> display isis graceful-restart status

                Restart information for IS-IS(1)

--------------------------------------------------------------------

IS-IS(1) Level-1 Restart Status

Restart Interval: 150

SA Bit Supported

  Total Number of Interfaces = 1

  Restart Status: RESTARTING

  Number of LSPs Awaited: 3

  T3 Timer Status:

    Remaining Time: 239

  T2 Timer Status:

    Remaining Time: 59

 

IS-IS(1) Level-2 Restart Status

Restart Interval: 150

SA Bit Supported

  Total Number of Interfaces = 1

  Restart Status: RESTARTING

  Number of LSPs Awaited: 3

  T3 Timer Status:

    Remaining Time: 239

  T2 Timer Status:

    Remaining Time: 59

Table 1-1 display isis graceful-restart status command output description

Field

Description

Restart Interval

Indicates the Graceful Restart interval

SA Bit Supported

Indicates whether SA is supported

Total Number of Interfaces

Number of the currently used IS-IS interfaces

Restart Status

The Graceful Restart status of the current device

T3 Timer Status

The remaining time to the timeout of T3 timer

T2 Timer Status

The remaining time to the timeout of T2 timer

 

1.1.2  enable link-local-signaling

Syntax

enable link-local-signaling

undo enable link-local-signaling

View

OSPF view

Default Level

2: System level

Parameters

None

Description

Use the enable link-local-signaling command to enable the use of the Link-Local Signaling (LLC) in originated OSPF packets.

Use the undo enable link-local-signaling command to disable the use of Link-Local Signaling in originated OSPF packets.

By default, the use of the Link-Local Signaling for OSPF is disabled.

Examples

# Enable the Link-Local Signaling for OSPF process 1.

<Sysname> system-view

[Sysname] ospf 1

[Sysname-ospf-1] enable link-local-signaling

1.1.3  enable out-of-band-resynchronization

Syntax

enable out-of-band-resynchronization

undo enable out-of-band-resynchronization

View

OSPF view

Default Level

2: System level

Parameters

None

Description

Use the enable out-of-band-resynchronization command to enable the use of out-of-band resynchronization (OOB-Resynch) in originated OSPF packets.

Use the undo enable out-of-band-resynchronization command to disable the use of out-of-band resynchronization in originated OSPF packets.

By default, the use of out-of-band resynchronization is disabled.

 

&  Note:

Enable the OSPF link-local signaling before enabling OSPF out-of-band resynchronization. Refer to the enable link-local-signaling command for enabling link-local signaling of OSPF.

 

Examples

# Enable the out-of-band resynchronization for OSPF process 1.

<Sysname> system-view

[Sysname] ospf 1

[Sysname-ospf-1] enable link-local-signaling

[Sysname-ospf-1] enable out-of-band-resynchronization

1.1.4  graceful-restart (BGP view)

Syntax

graceful-restart

undo graceful-restart

View

BGP view

Default Level

2: System level

Parameters

None

Description

Use the graceful-restart command to enable BGP Graceful Restart Capability.

Use the undo graceful-restart command to disable BGP Graceful Restart Capability.

By default, BGP Graceful Restart Capability is disabled.

 

&  Note:

A GR Restarter can still maintain its forwarding state in the address family it belongs and sends the End-of-RIB marker during execution of the graceful-restart command. However, during restart, the GR Restarter does not necessarily maintain its forwarding state.

 

Examples

# Enable Graceful Restart for BGP process 100.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] graceful-restart

1.1.5  graceful-restart (IS-IS view)

Syntax

graceful-restart

undo graceful-restart

View

IS-IS view

Default Level

2: System level

Parameters

None

Description

Use the graceful-restart command to enable IS-IS Graceful Restart Capability.

Use the undo graceful-restart command to disable IS-IS Graceful Restart Capability.

By default, IS-IS Graceful Restart Capability is disabled.

Examples

# Enable the Graceful Restart Capability for IS-IS process 1.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] graceful-restart

1.1.6  graceful-restart (MPLS LDP view)

Syntax

graceful-restart

undo graceful-restart

View

MPLS LDP view

Default Level

1: Monitor level

Parameters

None

Description

Use the graceful-restart command to enable LDP Graceful Restart Capability.

Use the undo graceful-restart command to disable LDP Graceful Restart Capability.

By default, LDP Graceful Restart Capability is disabled.

Note that:

l           Enabling or disabling Graceful Restart may remove or reestablish all the LDP sessions and instances. As a result the associated LSPs will be removed and need to be rebuilt.

l           Before you can enable MPLS LDP Graceful Restart, you need to enable MPLS globally. For information about enabling MPLS, refer to MPLS Basics Configuration in the MPLS VPN Volume.

Examples

# Enable LDP Graceful Restart Capability.

<Sysname> system-view

[Sysname] mpls lsr-id 1.1.1.1

[Sysname] mpls

[Sysname-mpls] quit

[Sysname] mpls ldp

[Sysname-mpls-ldp] graceful-restart

1.1.7  graceful-restart (OSPF view)

Syntax

graceful-restart

undo graceful-restart

View

OSPF view

Default Level

2: System level

Parameters

None

Description

Use the graceful-restart command to enable OSPF Graceful Restart Capability.

Use the undo graceful-restart command to disable OSPF Graceful Restart Capability.

By default, OSPF Graceful Restart Capability is disabled.

Note that:

Before enabling GR Capability for OSPF, enable OSPF LLS (link local signaling) and OOB (out of band resynchronization) first.

Related commands: enable link-local-signaling, enable out-of-band-resynchronization.

Examples

# Enable Graceful Restart for OSPF process 1.

<Sysname> system-view

[Sysname] ospf 1

[Sysname-ospf-1] enable link-local-signaling

[Sysname-ospf-1] enable out-of-band-resynchronization

[Sysname-ospf-1] graceful-restart

1.1.8  graceful-restart help

Syntax

graceful-restart help { acl-number | prefix prefix-list }

View

OSPF view

Default Level

2: System level

Parameters

acl-number: The basic or advanced ACL number.

prefix prefix-list: The name of the specified address prefix list, in the range of 1 to 19 characters.

Description

Use the graceful-restart help command to configure for which OSPF neighbors the current device can serve as a GR Helper. (The routers can be specified by the ACL or the IP Prefix list.)

By default, the device can serve as a GR Helper for any OSPF neighbor.

Note that:

Before executing this command, enable OSPF LLS (link local signaling) and OOB (out of band resynchronization) first.

Related commands: enable link-local-signaling, enable out-of-band-resynchronization.

Examples

# Configure OSPF 1 to act as a GR Helper for OSPF neighbors defined in the ACL 2001 (supposing ACL 2001 has already existed).

<Sysname> system-view

[Sysname] ospf 1

[Sysname-ospf-1] enable link-local-signaling

[Sysname-ospf-1] enable out-of-band-resynchronization

[Sysname-ospf-1] graceful-restart help 2001

1.1.9  graceful-restart interval (IS-IS view)

Syntax

graceful-restart interval interval-value

undo graceful-restart interval

View

IS-IS view

Default Level

2: System level

Parameters

interval-value: Specifies the Graceful Restart interval ( the expected Graceful Restart interval), in seconds.

Description

Use the graceful-restart interval command to configure the Graceful Restart interval. Use the undo graceful-restart interval command to restore the default Graceful Restart interval.

By default, the Graceful Restart interval is set to 300 seconds.

Examples

# Configure the Graceful Restart interval for IS-IS process 1 to be 120 seconds.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] graceful-restart interval 120

1.1.10  graceful-restart mpls ldp

Syntax

graceful-restart mpls ldp

View

User view

Default Level

1: Monitor level

Parameters

None

Description

Use the graceful-restart mpls ldp command to gracefully restart MPLS LDP.

Note that:

l           This command is used to test MPLS LDP GR in case main/backup failover is not needed. In normal cases, do not use this command.

l           Enable MPLS LDP GR capability before executing this command.

Related commands: graceful-restart (MPLS LDP view).

Examples

# Gracefully restart MPLS LDP.

<Sysname> graceful-restart mpls ldp

1.1.11  graceful-restart suppress-sa

Syntax

graceful-restart suppress-sa

undo graceful-restart suppress-sa

View

IS-IS view

Default Level

2: System level

Parameters

None

Description

Use the graceful-restart suppress-sa command to set the SA (Suppress-Advertisement) bit during restart.

Use the undo graceful-restart suppress-sa command to clear the SA bit.

By default, the SA bit is cleared during restart.

Note that:

l           For a switch that has restarted its routing protocol, copies of LSPs generated by this router during the previous operation may still exist in the LSP databases of other switches in the network.

l           Copies of LSPs in the LSP databases in other switches which may look “newer” than LSPs generated by the restarting switch after it initializes LSP fragment sequence numbers. This may result in temporary blackholes until new LSPs are regenerated and copies of them are flooded using higher sequence numbers upon completion of the restarting process.

l           These blackholes can be avoided if the neighbors of the restarting switch suppress advertising the adjacency relationship with the restarting switch until the latter has flooded its latest LSPs.

Examples

# Set the SA bit in Graceful Restart.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] graceful-restart suppress-sa

1.1.12  graceful-restart timer neighbor-liveness

Syntax

graceful-restart timer neighbor-liveness timer

undo graceful-restart timer neighbor-liveness

View

 MPLS LDP view

Default Level

1: Monitor level

Parameters

timer: Specifies the LDP Neighbor Liveness Timer, in seconds.

Description

Use the graceful-restart timer neighbor-liveness command to configure the LDP Neighbor Liveness Timer.

Use the undo graceful-restart timer neighbor-liveness command to restore the default.

By default, the LDP Neighbor Liveness Timer is 120 seconds.

Note that:

l           To modify the Neighbor Liveness Timer may cause the reestablishment of the original session. As a result, the LSP based on this session will be removed and needs to be rebuilt.

l           If the LDP session is configured with MD5 authentication, you need to prolong the LDP Neighbor Liveness Timer to guarantee the TCP reestablishment. You are recommended to configure this timer as 180 seconds.

Examples

# Configure the LDP Neighbor Liveness Timer as 100 seconds.

<Sysname> system-view

[Sysname] mpls ldp

[Sysname-mpls-ldp] graceful-restart timer neighbor-liveness 100

1.1.13  graceful-restart timer reconnect

Syntax

graceful-restart timer reconnect timer

undo graceful-restart timer reconnect

View

MPLS LDP view

Default Level

1: Monitor level

Parameters

timer: Specifies the value of the FT Reconnect Timer, in seconds.

Description

Use the graceful-restart timer reconnect command to configure the FT Reconnect Time.

Use the undo graceful-restart timer reconnect command to restore the default FT Reconnect Time.

By default, the FT Reconnect Time is 300 seconds.

 

&  Note:

l      FT Reconnect Time defines the maximum time that the Stale label status will be preserved by the LSR after the TCP connection failure.

l      To modify the FT Reconnect Time may cause the reestablishment of the original session. As a result, the LSP based on this session will be removed and needs to be rebuilt.

 

Examples

# Configure the FT Reconnect Time as 100 seconds.

<Sysname> system-view

[Sysname] mpls ldp

[Sysname-mpls-ldp] graceful-restart timer reconnect 100

1.1.14  graceful-restart timer recovery

Syntax

graceful-restart timer recovery timer

undo graceful-restart timer recovery

View

MPLS LDP view

Default Level

1: Monitor level

Parameters

timer: Specifies the value of the LDP Recovery Timer in seconds.

Description

Use the graceful-restart timer recovery command to configure the maximum Recovery Time.

Use the undo graceful-restart timer recovery command to restore the default Recovery Time.

By default, the LDP Recovery Time is 300 seconds.

 

&  Note:

l      Recovery time defines the maximum time that the Stale label state will be kept by LSR after a TCP reconnection.

l      To modify the Recovery time may cause the reestablishment of the original session. As a result, the LSP based on this session will be removed and needs to be rebuilt.

 

Examples

# Configure the Recovery time as 45 seconds.

<Sysname> system-view

[Sysname] mpls ldp

[Sysname-mpls-ldp] graceful-restart timer recovery 45

1.1.15  graceful-restart timer restart

Syntax

graceful-restart timer restart timer

undo graceful-restart timer restart

View

BGP view

Default Level

2: System level

Parameters

timer: Specifies the time taken to reestablish a session between the GR Restarter and the GR Helper, in seconds.

Description

Use the graceful-restart timer restart command to configure the maximum time taken by the peers to reestablish a BGP session.

Use the undo graceful-restart timer restart command to restore the default.

By default, the maximum time taken by the peers to reestablish a BGP session is 150 seconds.

Examples

# Configure the maximum time taken by the peers to reestablish a BGP session as 300 seconds.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] graceful-restart timer restart 300

1.1.16  graceful-restart timer wait-for-rib

Syntax

graceful-restart timer wait-for-rib timer

undo graceful-restart timer wait-for-rib

View

BGP view

Default Level

2: System level

Parameters

timer: Specifies the time to wait for the End-of-RIB, in seconds.

Description

Use the graceful-restart timer wait-for-rib command to configure the time to wait for the End-of-RIB.

Use the undo graceful-restart timer wait-for-rib command to restore the default.

By default, the time to wait for the End-of-RIB is 180 seconds.

 

&  Note:

l      After a BGP session has been successfully (re)established, the End-of-RIB marker will be received in the time specified by this command.

l      It is intended to speed up route convergence.

 

Examples

# Configure the time to wait for the End-of-RIB as 100 seconds.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] graceful-restart timer wait-for-rib 100

1.1.17  reset ospf process graceful-restart

Syntax

reset ospf [ process-id ] process graceful-restart

View

User view

Default Level

2: System level

Parameters

process-id: Specifies OSPF process ID.

Description

Use the reset ospf process graceful-restart command to restart an OSPF GR process with a specified ID.

Examples

# Restart OSPF process 100 to trigger GR.

<Sysname> reset ospf 100 process graceful-restart

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网