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
03-HA Commands
Title Size Download
03-HA Commands 37.87 KB

Chapter 1  HA Configuration Commands

1.1  HA Configuration Commands

1.1.1  debugging ha

Syntax

debugging ha { all | error | event | message | state }

undo debugging ha { all | error | event | message | state }

View

User view

Default Level

1: Monitor level

Parameters

all: Enables all debugging.

error: Enables error debugging for switchover between the AMB (active main board) and the SMB (standby main board).

event: Enables event debugging for switchover between the AMB and SMB.

message: Enables message debugging for switchover between the AMB and SMB.

state: Enables state debugging for switchover between the AMB and SMB.

Description

Use the debugging ha command to enable HA debugging.

Use the undo debugging ha command to disable HA debugging.

Examples

# Enable state debugging for switchover between the AMB and SMB.

<Sysname> debugging ha state

1.1.2  display fullmesh-enhance

Syntax

display fullmesh-enhance

View

Any view

Default Level

3: Manage level

Parameters

None

Description

Use the display fullmesh-enhance command to display the configuration information forwarded in Full Mesh mode.

 

  Caution:

Only when the AMB and SMB work in load balancing mode can the system activate Full Mesh enhance mode.

 

Examples

# Display information of the Full Mesh enhance mode of the system.

<Sysname> display fullmesh-enhance

Configuration status: Enabled

Operation status: Active

Table 1-1 display fullmesh-enhance command output description

Field

Description

Configuration status

Configuration status: Enabled means Full Mesh enhance mode is configured and Disabled means Full Mesh enhance mode is not configured.

Operation status

Operation status: Active means Full Mesh enhance mode is activated and Inactive means Full Mesh enhance is not activated.

 

1.1.3  display switchover state

Syntax

display switchover state [ slot-id ]

View

Any view

Default Level

1: Monitor level

Parameters

slot-id: Slot ID of the AMB or SMB.

Description

Use the display switchover state command to display the switchover state.

This command displays the switchover state on the AMB or SMB depending on the slot number specified. The switchover state of the AMB will be displayed if no slot number is specified.

Examples

# Display the switchover state on the AMB.

<Sysname> display switchover state

HA FSM State(master): Slave is absent.

The above output information indicates that the SMB is not in the slot.

1.1.4  fullmesh-enhance

Syntax

fullmesh-enhance { enable | disable }

View

System view

Default Level

3: Manage level

Parameters

enable: Enables Full Mesh enhance mode.

disable: Disables Full Mesh enhance mode.

Description

Use the fullmesh-enhance enable command to set the Full Mesh forwarding mode to enhance mode.

Use the fullmesh-enhance disable command to remove the Full Mesh enhance mode.

By default, the Full Mesh enhance mode is disabled.

 

  Caution:

l      If only the active card or the standby card is in the slot, the Full Mesh enhance mode does not take effect.

l      The S9505 series switches do not support this command.

 

Examples

# Set the Full Mesh forwarding mode to enhance mode.

<Sysname> system-view

[Sysname] fullmesh-enhance enable

# Remove the Full Mesh enhance mode and return to a normal mode.

[Sysname] fullmesh-enhance disable

1.1.5  ha slave-ignore-version-check

Syntax

ha slave-ignore-version-check

undo ha slave-ignore-version-check

View

System view

Default Level

2: System level

Parameters

None

Description

Use the ha slave-ignore-version-check command to ignore version check of the SMB, meaning not to check whether the version of the SMB is consistent with that of the AMB.

Use the undo ha slave-ignore-version-check command to enable version check of the SMB.

By default, version check of the SMB is enabled.

 

  Caution:

Inconsistency of the software version of the AMB and SMB may result in system failure when the system is running.

 

Examples

# Ignore version check of the SMB.

<Sysname> system-view

[Sysname] ha slave-ignore-version-check

1.1.6  slave restart

Syntax

slave restart

View

System view

Default Level

2: System level

Parameters

None

Description

Use the slave restart command to manually configure the SMB to restart.

When the backup system program operates abnormally and needs to be reloaded, you can manually restart the SMB.

Examples

# Restart the SMB.

<Sysname> system-view

[Sysname] slave restart

1.1.7  slave switchover

Syntax

slave switchover [ enable ]

slave switchover disable

View

System view

Default Level

2: System level

Parameters

enable: Enables manual configuration of the switchover between the AMB and SMB.

disable: Disables manual configuration of the switchover between the AMB and SMB.

Description

Use the slave switchover command to configure manual switchover function between the AMB and SMB.

Use the slave switchover disable command to disable manual configuration of the switchover between the AMB and SMB.

By default, manual configuration of the switchover between the AMB and SMB is enabled.

Examples

# Enable manual configuration of the switchover between the AMB and SMB.

<Sysname> system-view

[Sysname] slave switchover

  • 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
新华三官网