10-High Availability Command Reference

HomeSupportReference GuidesCommand ReferencesH3C S9820-G & S9825-G & S9855-G Switch Series Command References-R8336P05-6W10010-High Availability Command Reference
11-DPSH commands
Title Size Download
11-DPSH commands 84.77 KB

DPSH commands

display dpsh statistics

Use diplay dpsh statistics to display DPSH statistics.

Syntax

display dpsh statistics [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies a device by its member ID, which is fixed at 1.

Examples

# Display DPSH statistics.

<Sysname> display dpsh statistics

------------------------MSG Statistics--------------------------

MSG Statistics:

  UpgradeStat         : 0           ReceivedStat        : 4

  SyncProcStat        : 4           RefreshSyncStat     : 0

  ComQueMsgStat       : 0           SyncPullStat        : 2

Error Statistics      :

  WriteCommonQueErr   : 0           AllocSyncMsgErr     : 0

  ActiveMixObjErr     : 0           CreateUnicastErr    : 0

  UnicastAddEpollErr  : 0           MbufLenErr          : 0

  MbufContinueErr     : 0           NotEntirelyMsgErr   : 0

  TypeErr             : 0           MsgSyncProcErr      : 0

  MsgSyncPullErr      : 0           MsgSyncPullParamErr : 0

  MsgSyncPullNoMem    : 0

 

------------------------AGE Statistics--------------------------

AGE Statistics        :

  SmoothStartCount    : 1           SmoothEndCount      : 1

  TimerProcCount      : 0           AgeOverCount        : 0

 

------------------------TOPO Statistics--------------------------

TOPO Statistics       :

  TotalNum            : 0           AddTopoMsgCount     : 0

  DelTopoMsgCount     : 0           AgeTopoNum          : 0

Error Statistics      :

  AddErr              : 0           AddNodeErr          : 0

  DelNodeErr          : 0

 

------------------------Global CFG Statistics--------------------------

CFG Statistics        :

  ModeAddMsg          : 1           ModeDelMsg          : 0

  AnyCastMacAdd       : 1           AnyCastMacDel       : 0

Error Statistics      :

  DecodeModeErr       : 0           DecodeAnycastMacErr : 0

  RefreshDrvModeErr   : 0

  CfgAllocReplyMsgErr : 0           CfgEncReplyMsgErr   : 0

  CfgSendReplyMsgErr  : 0

 

------------------------DRV Statistics--------------------------

TOPO Statistics       :

  DrvTopoAdd          : 0           DrvTopoDel          : 0

  DrvAnyCastMacAdd    : 1           DrvAnyCastMacDel    : 0

  DrvRefreshTopo      : 0

Error Statistics      :

  DrvTopoAddRetErr    : 0           DrvTopoDelRetErr    : 0

  DrvAnyCastAddRetErr : 0           DrvAnyCastDelRetErr : 0

  DrvRefreshTopoErr   : 0           DrvAllocAvlErr      : 0

  DrvInsertAvlErr     : 0

 

Table 1 Command output

Field

Description

MSG Statistics

Message statistics data.

UpgradeStat

Number of backup-to-primary upgrade messages.

ReceivedStat

Number of received messages.

SyncProcStat

Number of sync processing messages.

RefreshSyncStat

Number of refresh sync messages.

ComQueMsgStat

Number of common queue messages.

SyncPullStat

Number of sync pull messages.

Error Statistics

Error data.

WriteCommonQueErr

Number of common queue write errors.

AllocSyncMsgErr

Number of sync message application errors.

ActiveMixObjErr

Number of mixed queue upgrade errors.

CreateUnicastErr

Number of global well-known port creation errors.

UnicastAddEpollErr

Number of errors for adding the global well-known ports to Epoll.

MbufLenErr

Number of memory buffer length errors.

MbufContinueErr

Number of memory buffer discontinuous message errors.

NotEntirelyMsgErr

Number of incomplete error messages.

TypeErr

Number of type errors.

MsgSyncProcErr

Number of message sync processing errors.

MsgSyncPullErr

Number of message sync pull errors.

MsgSyncPullParamErr

Number of message sync pull parameter errors.

MsgSyncPullNoMem

Number of no memory errors for message sync.

AGE Statistics

Entry age statistics data.

SmoothStartCount

Number of smooth starts.

SmoothEndCount

Number of smooth ends.

TimerProcCount

Number of aging timer expirations.

AgeOverCount

Number of aged network topology entries.

TOPO Statistics

Topology statistics data.

TotalNum

Total number of topology messages.

AddTopoMsgCount

Number of topology message additions.

DelTopoMsgCount

Number of topology message deletions.

AgeTopoNum

Number of topology message ageouts.

AddErr

Number of addition failures.

AddNodeErr

Number of node addition errors.

DelNodeErr

Number of node deletion errors.

Global CFG Statistics

Global configuration statistics data.

CFG Statistics

Configuration statistics data.

ModeAddMsg

Number of mode addition messages.

ModeDelMsg

Number of mode deletion messages.

AnyCastMacAdd

Number of anycast MAC address additions.

AnyCastMacDel

Number of anycast MAC address deletions.

DecodeModeErr

Number of mode decoding errors.

DecodeAnycastMacErr

Number of anycast MAC address decoding errors.

RefreshDrvModeErr

Number of driver mode refresh errors.

CfgAllocReplyMsgErr

Number of configuration application reply message errors.

CfgEncReplyMsgErr

Number of configuration encoding reply message errors.

CfgSendReplyMsgErr

Number of configuration sending reply message errors.

DRV Statistics

Driver statistics data.

DrvTopoAdd

Number of network topology entries issued to the driver.

DrvTopoDel

Number of deleted network topology entries issued to the driver.

DrvAnycastMacAdd

Number of anycast MAC addresses issued to the driver.

DrvAnycastMacDel

Number of deleted anycast MAC addresses issued to the driver.

DrvRefreshTopo

Number of network topology entries refreshed and issued to the driver.

DrvTopoAddRetErr

Number of failures to issue network topology entries added to the driver.

DrvTopoDelRetErr

Number of failures to delete network topology entries issued to the driver.

DrvAnycastAddRetErr

Number of failures to issue anycast MAC addresses to the driver.

DrvAnycastDelRetErr

Number of failures to delete anycast MAC addresses issued to the driver.

DrvRefreshTopoErr

Number of failures to refresh network topology entries and reissue them to the driver.

DrvAllocAvlErr

Number of AVL node application errors.

DrvInsertAvlErr

Number of AVL node insertion errors.

 

display dpsh topology

Use diplay dpsh topology to display network topology entries generated by DPSH.

Syntax

display dpsh topology [ interface interface-type interface-number | issued | refreshed ] [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies network topology entries of an interface.

issued: Specifies network topology entries that have been issued to the driver.

refreshed: Specifies network topology entries that failed to be issued, which must be refreshed and then issued to the driver again.

slot slot-number: Specifies a device by its ID, which is fixed at 1.

Usage guidelines

After you enable DPSH, the device collects network topology information and generates network topology entries to plan packet forwarding paths.

If network topology entries fail to be issued due to insufficient hardware resources, you can refresh the entries and then issue them to the driver again.

Examples

# Display the network topology entries generated by DPSH.

<Sysname> display dpsh topology

Flag: I–Issued    R-Refreshed

Local role: leaf    Flag: R

Local interface     Remote MAC address      Remote role      Flag

HGE1/1/1            1-1-1                   spine            I

HGE1/1/2            2-2-2                   spine            R

Table 2 Command output

Field

Description

Local role

Local device role.

Local interface

Name of the local interface connecting the local device to the remote device.

Remote MAC address

MAC address of the remote interface on the remote device connected to the local device.

Remote role

Remote device role.

Flag

Network topology entry type:

·     I—Issued. The network topology entry has been issued.

·     R—Refreshed. The network topology entry must be refreshed and issued again.

 

dpsh anycast-mac

Use dpsh anycast-mac to configure the anycast MAC address.

Use undo dpsh anycast-mac to remove the configuration.

Syntax

dpsh anycast-mac mac-address

undo dpsh anycast-mac

Default

No anycast MAC address is configured for the device.

Views

System view

Predefined user roles

network-admin

Parameters

mac-address: Specifies an anycast MAC address in the H-H-H format.

Usage guidelines

Application scenarios

To implement link backup and ensure data forwarding continuity and reliability, all spine and leaf devices share a single anycast MAC address. When a forwarding link between spine and leaf devices fails, packets will be redirected to another spine or leaf device that uses the same anycast MAC address. This prevents data forwarding interruption upon link failures, enhancing network robustness and service continuity.

Restrictions and guidelines

The anycast MAC address cannot be the MAC address of any device in the spine-leaf network.

Examples

# Configure an anycast MAC address.

<Sysname> system-view

[Sysname] dpsh anycast-mac 1-1-1

dpsh enable

Use dpsh enable to enable DPSH.

Use undo dpsh enable to disable DPSH.

Syntax

dpsh enable { common | ecmp }

undo dpsh enable

Default

DPSH is disabled.

Views

System view

Predefined user roles

network-admin

Parameters

common: Specifies the common DPSH mode.

ecmp: Specifies the ECMP DPSH mode.

Usage guidelines

Application scenarios

When a link fault occurs, the traditional method relies on the dynamic routing protocol on the control plane to implement fault convergence and recompute forwarding paths. This process typically takes milliseconds, which cannot meet the stringent high availability requirements of AI computing or high-performance storage services.

Operating mechanism

DPSH implements rapid fault detection, transmission, and processing through the data plane, which enhances fault convergence performance to sub-millisecond levels and ensures network reliability and stability.

DPSH supports the following modes:

·     Common mode—When a device detects that the link with a neighbor device fails, if a backup link exists, the device can immediately switch traffic to the associated path and forward it to the destination through another neighbor device, which avoids high latency issues. The common mode is suitable for networking architectures where the backup and faulty interfaces are connected to different neighbor devices.

·     ECMP mode—When multiple ECMP links exist between the local and neighbor devices, if one link fails, traffic can immediately switch over to another link, which ensures data transmission recovery within a very short period of time. The ECMP mode is suitable for networking architectures where the backup and faulty interfaces are connected to the same neighbor device.

Restrictions and guidelines

In the current software version, DPSH is applicable only to the standard spine-leaf networking of a VCF fabric. For more information about VCF fabric, see VCF fabric configuration in Network Management and Monitoring Configuration Guide.

Examples

# Enable common-mode DPSH.

<Sysname> system-view

[Sysname] dpsh enable common

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
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