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. | - |
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.
# 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)
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:
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:
|
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:
|
Neighbor Status |
Status of the neighbor state machine:
|
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. |