< Home

display ospf sham-link

Function

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

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

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

Example

# Display all OSPF sham links.

<sysname> 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       3.3.3.3       5.5.5.5          P-2-P   10

# Display the OSPF sham link of Area 1.

<sysname> display ospf sham-link area 1
          OSPF Process 100 with Router ID 10.1.1.2
  Sham-Link: 3.3.3.3 --> 5.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

Router ID of the neighbor

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 >