display ospf ecmp-group

Function

The display ospf ecmp-group command displays information about OSPF ECMP groups.

Format

display ospf [ process-id ] ecmp-group

Parameters

Parameter Description Value
process-id

Specifies the ID of an OSPF process.

The value is an integer ranging from 1 to 4294967295.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ospf read

Usage Guidelines

Usage Scenario

When OSPF load balancing is implemented, the display ospf ecmp-group command can be used to check whether indirect next hop IDs are correctly assigned. This helps to implement a rapid route switchover.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about OSPF ECMP groups.
<HUAWEI> display ospf ecmp-group
OSPF Process 1 with Router ID 10.1.1.1
                 OSPF ECMP Group Information
----------------------------------------------------------------
 ECMPGroupId MtId Flag  RefCnt    NextHop
----------------------------------------------------------------
   0x1000048    0 D          1    10.1.1.1
----------------------------------------------------------------
               Flags: D-Direct, URT
Used ECMP Group Number: 1

Total Used ECMP Group Number: 1
Unused ECMP Group Number: 39
Unused ECMP Group List:
0x1000049, 0x100004a, 0x100004b, 0x100004c, 0x100004d, 0x100004e, 0x100004f, 0x1000050, 0x1000051, 0x1000052, 0x1000053, 0x1000054, 0x1000055, 0x1000056, 0x1000057, 0x1000058, 0x1000059, 0x100005a, 0x100005b, 0x100005c, 0x100005d, 0x100005e, 0x100005f, 0x1000060, 0x1000061, 0x1000062, 0x1000063, 0x1000064, 0x1000065, 0x1000067, 0x1000068, 0x1000069, 0x100006a, 0x100006b, 0x100006c, 0x100006d, 0x100006e, 0x100006f, 0x1000070, 0x1000071, 0x1000072, 0x1000073, 0x1000074, 0x1000075, 0x1000076, 0x1000077, 0x1000078, 0x1000079, 0x100007a, 0x100007b, 0x100007c, 0x100007d, 0x100007e, 0x100007f, 0x1000080, 0x1000081, 0x1000082, 0x1000083, 0x1000084
Table 1 Description of the display ospf ecmp-group command output
Item Description
OSPF ECMP Group Information

Information about an OSPF ECMP group.

ECMPGroupId

ID of an ECMP group.

MtId

Topology ID.

RefCnt

Number of times that an ECMP group is referenced.

NextHop

Routing information on the next hop.

Used ECMP Group Number

Number of used ECMP groups in a process.

Total Used ECMP Group Number

Total number of used ECMP groups.

Unused ECMP Group Number

Number of remaining ECMP groups.

Unused ECMP Group List

List of remaining ECMP groups.

Flags

Flag of an ECMP group:

  • D: Direct route.
  • URT: Unicast route.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >