< Home

display ospf sham-link

Function

The display ospf sham-link command displays the sham links of an OSPF area.

If no OSPF process ID or area ID is specified, all sham links are displayed.

Product

Support

S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Supported

S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI

Not supported

Format

display ospf [ process-id ] sham-link [ area area-id ]

Parameters

Parameter Description Value
process-id Specifies the ID of an OSPF process. The value is an integer ranging from 1 to 65535.
area area-id Specifies the ID of an OSPF area. The value is an integer ranging from 0 to 4294967295 or in the IPv4 address format.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospf sham-link command to check information about the sham links of an OSPF area. The information helps determine the establishment of sham links.

Example

# Display all OSPF sham links.

<HUAWEI> display ospf sham-link
           OSPF Process 100 with Router ID 10.1.1.2
 Sham Link:
 Area       NeighborId     Source-IP     Destination-IP   State   Cost
 0.0.0.1    10.1.1.2       10.3.3.3      10.5.5.5         P-2-P   10

# Display the OSPF sham link of Area 1.

<HUAWEI> display ospf sham-link area 1
          OSPF Process 100 with Router ID 10.1.1.2
  Sham-Link: 10.3.3.3 --> 10.5.5.5
  Neighbor ID: 10.1.1.2,    State: Full
  Area: 0.0.0.1
  Cost: 10  State: P-2-P, Type: Sham
  Timers: Hello 10 , Dead 40 , Retransmit 5 , Transmit Delay 1
Table 1 Description of the display ospf sham-link command output

Item

Description

Area

OSPF area that the sham link belongs to.

NeighborId

Neighbor ID of the switch.

Source-IP

Source IP address of the sham link.

Destination-IP

Destination IP address of the sham link.

State

Interface status of the sham link. P-2-P indicates the point-to-point link.

Cost

Cost of the sham link.

Type

Connection type.

Timers

Information about the following items: the interval for sending Hello messages, Dead time, retransmission interval, and transmission delay on the interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >