No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting an Interface Blocking Mode

Setting an Interface Blocking Mode

Context

In a SEP segment, some interfaces are blocked to prevent loops.

You can configure the interface blocking mode to specify a blocked interface. Table 12-11 lists interface blocking modes.
Table 12-11  Interface blocking mode

Interface Blocking Mode

Description

Specify the interface with the highest priority as the blocked interface.

This mode applies to a large-scale network.

After fault recovery, the interface with the highest priority in a SEP segment becomes the blocked interface. In this mode, the priorities of the interfaces in the SEP segment need to be set in advanced.

Specify the interface in the middle of a SEP segment as the blocked interface.

This mode applies to a network where traffic is symmetrically distributed.

After fault recovery, the interface in the middle of a SEP segment becomes the blocked interface.

Specify a blocked interface based on the configured hop count.

This mode applies to a small-scale network.

After fault recovery, a specified interface is blocked based on the hop count. A network planner needs to be familiar with the topology of the entire SEP segment and the number of hops from the blocked interface to the primary edge interface.

Specify a blocked interface based on the device and interface names.

This mode applies to a small-scale network.

After fault recovery, a specified interface is blocked based on the device and interface names. A network planner needs to be familiar with the names of devices and interfaces in the entire SEP segment and ensures that each device name is unique.

Perform the following operations on the device where the primary edge interface or no-neighbor primary edge interface is located:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run sep segment segment-id

    A SEP segment is created and the view of the SEP segment is displayed.

  3. Run block port { optimal | middle | hop hop-id | sysname sysname interface { interface-type interface-number | interface-name } }

    An interface blocking mode is set.

    By default, one of the interfaces at two ends of the link that is set up last or recovers from a fault last is blocked.

Follow-up Procedure

If the interface with the highest priority is specified to block, run the sep segment segment-id priority priority command in the view of the interface to be blocked to increase its priority. When a fault is rectified, the specified interface is blocked.

The default priority of an interface added to a SEP segment is 64. The priority value of an interface is an integer that ranges from 1 to 128. A larger priority value indicates a higher priority.

Download
Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 64029

Downloads: 41

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next