The sep segment command creates a SEP segment and displays the SEP segment view. If the specified SEP segment has been created, you can directly enter the SEP segment view.
The undo sep segment command deletes the existing SEP segment.
Parameter | Description | Value |
---|---|---|
segment-id | Specifies the ID of a SEP segment. | The value is an integer that ranges from 1 to 1024. |
On a Layer 2 switching network, packets will be transmitted infinitely once a loop occurs, causing a broadcast storm. The broadcast storm occupies all the bandwidth on the network, causing network congestion or even breakdown of the entire network. To prevent loops on a Layer 2 switching network, Huawei develops the Smart Ethernet Protection (SEP) protocol.
SEP is a ring network protocol specially used for the Ethernet link layer. It blocks redundant links to prevent loops. It can run on a network together with STP, RSTP, MSTP, and RRPP and supports display of the network topology. When the devices of other vendors are used on the network, SEP can also prevent loops, but does not need to be configured on these devices.
A SEP segment consists of interconnected Layer 2 switching devices configured with the same SEP segment ID and control VLAN ID. A SEP segment is the basic unit for SEP.
The switches support a maximum of 48 SEP segments.
A maximum of two interfaces on a Layer 2 switching device can be added to the same SEP segment.
Before enabling SEP, run the sep segment command to create a SEP segment. Then run the control-vlan (SEP segment view) command in the SEP segment view to configure a control VLAN.
A SEP segment can be deleted only when it does not contain any interface. If the SEP segment contains interfaces, run the undo sep segment segment-id command in the corresponding interface views to delete the interfaces from the SEP segment one by one.