< Home

display sep topology

Function

The display sep topology command displays the topologies of SEP segments.

Format

display sep topology [ segment segment-id ] [ verbose ]

Parameters

Parameter Description Value
segment segment-id Displays the topology of a specified SEP segment. The value is an integer that ranges from 1 to 1024.
verbose Displays detailed information about the topology of a SEP segment. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After SEP is configured, you can run the display sep topology command to view the topologies of SEP segments, including device names, names of the interfaces added to SEP segments, and roles of the interfaces in a SEP segment.

When running the display sep topology command:

  • If no parameter is specified, this command displays brief information about the topologies of all the SEP segments on the device.

  • If only segment segment-id is specified, this command displays brief information about the topology of a specified SEP segment.

  • If only verbose is specified, this command displays detailed information about the topologies of all SEP segments on the device.

  • If segment segment-id and verbose are specified, this command displays detailed information about the topology of a specified SEP segment on the device.

Before running this command, complete the following tasks:

  • Run the sep segment command in the system view to create a SEP segment.

  • Run the sep segment (interface view) command in the Ethernet interface view to add an interface to the SEP segment and set the role of the interface as required.

    Edge interfaces must be configured in the SEP segment; otherwise, the SEP topology is incomplete and the system displays an error message.

Example

# Display the topologies of all SEP segments on the device.

<HUAWEI> display sep topology
SEP segment 1
SEP detects a segment failure that may be caused by an incomplete topology
------------------------------------------------------------------------
System Name      Port Name           Port Role       Port Status     Hop
------------------------------------------------------------------------
LSW1             GE0/0/1             *secondary      forwarding      1
LSW1             GE0/0/2             common          forwarding      2
LSW3             GE0/0/1             common          forwarding      3
LSW3             GE0/0/2             common          forwarding      4
LSW2             GE0/0/1             common          forwarding      5
LSW2             GE0/0/2             *secondary      discarding      6

# Display detailed topology information in SEP segment 1.

<HUAWEI> display sep topology segment 1 verbose
SEP segment 1
----------------------------------------------------------------
System Name     :LSW1
Port Name       :GE0/0/1
Port Role       :Config = primary / Active =  primary
PortID          :00e0-9e62-6100.0000
Port Priority   :64
Port Status     :forwarding
Link Status     :up
Neighbor Status :up
Age Time        :60(s)
Sequence Number :0x8000000e
Neighbor Port   :LSW2 - GE0/0/2 (00e0-8830-fe00.0000)
Brother Port    :LSW1 - GE0/0/3 (00e0-9e62-6100.0001)
Table 1 Description of the display sep topology command output

Item

Description

SEP segment

ID of a SEP segment. To specify the parameter, run the sep segment command.

System Name

Device name.

Port Name

Name of an interface added to the SEP segment.

Port Role

Role of an interface in the SEP segment:
  • common: common interface

  • primary: primary edge interface

  • secondary: secondary edge interface

  • *primary: no-neighbor primary edge interface

  • *secondary: no-neighbor secondary edge interface

Config: indicates the configured role of an interface in a SEP segment.

Active: indicates the running role of an interface in a SEP segment.

NOTE:

In normal situations, a SEP segment has a primary edge interface, a secondary edge interface, and common interfaces.

Port Status

Current status of an interface:
  • discarding: The interface is blocked and can forward SEP packets but not data packets.

  • forwarding: The interface is in Forwarding state and can forward both data packets and SEP packets.

PortID

Interface ID. It is in the format of 6-byte system MAC address+2-byte interface number.

Port Priority

Interface priority. It is an integer that ranges from 1 to 128. By default, the interface priority is 64. To specify the parameter, run the sep segment priority command.

Link Status

Link status:
  • up: The link is Up.

  • down: The link is Down.

Neighbor Status

Status of the neighbor state machine:
  • up: Neighbor negotiations succeed and the protocol status of the interface is Up.

  • down: Neighbor negotiations fail and no neighbor relationship is established between the local interface and its peer interface.

  • init: The local interface receives packets from the peer interface and neighbor negotiations start.

  • conflict: The local interface receives packets from multiple peer interfaces and the protocol status of the interface is Conflict.

Age Time

Aging time of the LSA.

Sequence Number

Sequence number of the LSA.

Neighbor Port

Neighbor interface. It is in the format of system name+interface name (system MAC address or interface ID). If there is no neighbor, the value is NULL.

Brother Port

Brother interface. It is in the format of system name+interface name (system MAC address or interface ID). If there is no brother, the value is NULL.

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