Monday, February 6, 2017

How to Adding an MG Interface?

This topic describes how to add an MG interface, through which the Access node can communicate with the MGC.

Context

  • One Access node supports a maximum of 8 MG interfaces. If a CKMC daughter board is configured in the Access node, up to 32 MG interfaces can be supported. Each MG interface can be configured with the interface attributes independently.
  • The configuration of the attributes of an MG interface is valid only to the MG interface.

Procedure

  • Add an MG interface that supports H.248.
    1. Run the display protocol support command to query the current system protocol.
      • If the current system protocol is H.248, go to 8.
      • If the current system protocol is MGCP, go to 2.

    2. Run the display if-mgcp all command to query whether an MG interface that supports MGCP exists.
      • If such an MG interface does not exist, go to 5.
      • If such an MG interface exists, go to 3.

    3. Delete all configuration data of this MG interface, and then run the shutdown(mgcp) command to disable the MG interface.
      NOTICE:
      This operation directly interrupts all the services on the MG interface. Hence, exercise caution when performing this operation.

    4. Run the undo interface mgcp command to delete the MG interface.
    5. Run the protocol support command to change the system protocol to H.248.
    6. Run the save command to save the configuration data, and then run the reboot system command to restart the system to make the new configuration data take effect.
    7. After the system is restarted, log in to the system, and enter the global config mode.
    8. Run the interface h248 command to add an MG interface that supports H.248.
    9. Run the if-h248 attribute command to configure the attributes of the MG interface according to the data plan.
    10. Run the display if-h248 attribute command to check whether the attributes of the MG interface are the same as those in the data plan.
  • Add an MG interface that supports MGCP.
    1. Run the display protocol support command to query the current system protocol.
      • If the current system protocol is MGCP, go to 8.
      • If the current system protocol is H.248, go to 2.

    2. Run the display if-h248 all command to query whether an MG interface that supports H.248 exists.
      • If such an MG interface does not exist, go to 5.
      • If such an MG interface exists, go to 3.

    3. Delete all configuration data of this MG interface, and then run the shutdown(h248) command to disable the MG interface.
      CAUTION:
      This operation directly interrupts all the services on the MG interface. Hence, exercise caution when performing this operation.

    4. Run the undo interface h248 command to delete the MG interface.
    5. Run the protocol support command to change the system protocol to MGCP.
    6. Run the save command to save the configuration data, and then run the reboot system command to restart the system to make the new configuration data take effect.
    7. After the system is restarted, log in to the system, and enter the global config mode.
    8. Run the interface mgcp command to add an MG interface that supports MGCP.
    9. Run the if-mgcp attribute command to configure the attributes of the MG interface according to the data plan.
    10. Run the display if-mgcp attribute command to check whether the attributes of the MG interface are the same as those in the data plan.

Example

Assume that the MG interface ID is 0 and the H.248 protocol is used for interconnecting with the MGC. To add the MG interface(MA5683T, MA5680T), do as follows:
huawei(config)#display protocol support
System support H248 protocol     
huawei(config)#interface h248 0
  Are you sure to add MG interface?(y/n)[n]:y
Assume that the MG interface ID is 0 and the MGCP protocol is used for interconnecting with the MGC. The current system protocol, however, is the H.248 protocol. It is confirmed that the H.248 interface exists in the system but is not in use. To add MG interface 0, do as follows:
huawei(config)#display protocol support
System support H248 protocol     
huawei(config)#display if-h248 all
  ----------------------------------------------------------------------------
  MGID     TransMode State     MGPort MGIP            MGCPort MGCIP/DomainName
  ----------------------------------------------------------------------------
  0        -         Close     -      -               -       -
  ----------------------------------------------------------------------------
huawei(config)#undo interface h248 0
  Are you sure to del MG interface?(y/n)[n]:y
huawei(config)#protocol support mgcp 
huawei(config)#save             
huawei(config)#reboot system
  Please check whether data has saved, the unsaved data will lose if reboot
system, are you sure to reboot system? (y/n)[n]:y
After the system is restarted, re-log in to the system.
huawei(config)#display protocol support
System support MGCP protocol     
huawei(config)#interface mgcp 0
  Are you sure to add MG interface?(y/n)[n]:y

Related:

How to Configuring the Media and Signaling IP Address Pools

The media IP address pool defines all media IP addresses that can be used by the AG, and the signaling IP address pool defines all signaling IP addresses that can be used by the AG.

Prerequisites

The IP address of the Layer 3 interface of the media and signaling upstream VLAN must be configured. For details about how to configure the IP address, see Configuring the Upstream VLAN Interface.

Context

  • The media IP address and the signaling IP address for the MG interface must be selected from the IP address pools configured here.
  • The signaling IP address pool is used to store the IP addresses of the MG interfaces, and the media IP address pool is used to store the IP addresses of the media streams controlled by the signaling.
  • The media IP address pool and the signaling IP address pool can be the same. Similarly, the media IP address and the signaling IP address can be the same.
    NOTICE:
    The MGCP interface on the MA5680T/MA5683T/MA5608T does not support the isolation of media streams and signaling flows. Therefore, when the MGCP protocol is used, the media IP address pool and the signaling IP address pool must be the same. When the H.248 or SIP protocol is used, the media IP address pool and the signaling IP address pool can be the same or different.

Procedure

  1. Run the voip command to enter the VoIP mode.
  2. Configure the media IP address pool.
    1. Run the ip address media command to add the media IP address to the media IP address pool. The media IP address needs to be selected from the IP addresses of the Layer 3 interface of the media and signaling upstream VLAN.

    2. Run the display ip address media command to check whether the media IP address pool is the same as that in the data plan.
  3. Configure the signaling IP address pool.
    1. Run the ip address signaling command to add the signaling IP address to the signaling IP address pool. The signaling IP address needs to be selected from the IP addresses of the Layer 3 interface of the media and signaling upstream VLAN.

    2. Run the display ip address signaling command to check whether the signaling IP address pool is the same as that in the data plan.

Example

To add IP addresses 10.13.4.116/16 and 10.13.4.117/16 of Layer 3 interfaces of the media and signaling upstream VLAN to the media IP address pool and the signaling IP address pool respectively, do as follows:
huawei(config)#voip
huawei(config-voip)#ip address media 10.13.4.116 10.13.0.1
huawei(config-voip)#ip address media 10.13.4.117 10.13.0.1
huawei(config-voip)#ip address signaling 10.13.4.116
huawei(config-voip)#ip address signaling 10.13.4.117
huawei(config-voip)#display ip address media               
  Media:               
  IP Address...........: 10.13.4.116       
  Subnet Mask..........: 255.255.0.0         
  Gateway..............: 10.13.0.1     
  MAC Address..........: 00-E0-FC-AF-91-33      
 
  IP Address...........: 10.13.4.117   
  Subnet Mask..........: 255.255.0.0        
  Gateway..............: 10.13.0.1           
  MAC Address..........: 00-E0-FC-AF-91-33       
huawei(config-voip)#display ip address signaling                
  Signaling:                                                                    
  IP Address...........: 10.13.4.116                                            
  Subnet Mask..........: 255.255.0.0                                            
  MAC Address..........: 00-E0-FC-AF-91-33                                      
                                                                                
  IP Address...........: 10.13.4.117                                            
  Subnet Mask..........: 255.255.0.0                                            
  MAC Address..........: 00-E0-FC-AF-91-33


Related:

Saturday, February 4, 2017

The BPDU Configuration of bpdu tunnel

Function Description

If the port of an access device is connected directly to the user terminal, such as a PC, or it is connected to the file server, the port is usually set as an edge port to implement rapid state transition. When the port receives the BPDU packets, the system sets the port as a non-edge port and recalculates the spanning tree. This results in an unstable network topology. Multiple Spanning Tree Protocol (MSTP) provides the BPDU protection function that prevents users from forging BPDU packets to attack the device maliciously.

Function

The bpdu tunnel command is used to enable or disable the transparent transmission of bridge protocol data units (BPDUs). After the function is enabled, the protocol data of the private network can be transmitted transparently in the public network. This function is mainly used in the QinQ service to provide a transparent and secure data channel between two places in an enterprise private network.
The undo bpdu tunnel command is used to clear the VLAN transparent transmission setting of L2 BPDU packets in a VLAN service profile.

Format

In the Global config mode:
bpdu tunnel vlan vlanid [ to end-vlanid ] enable
bpdu tunnel vlan vlanid [ to end-vlanid ] disable
In the VLAN service profile mode:
bpdu tunnel { enable | disable }
undo bpdu tunnel

Parameters

Parameter Description Value
vlan vlanid Indicates the VLAN ID. It identifies a VLAN uniquely. Numeral type. Range: 1-4093.
to end-vlanid This parameter is used with vlanid to specify the VLAN range. This parameter is used with vlanid to specify the VLAN range. To perform operations for continuous VLANs in batches, use this parameter. Numeral type. Range: 1-4093.
end-vlanid must be larger than or equal to vlanid.
enable Enables the transparent transmission of BPDUs. -
disable Disables the transparent transmission of BPDUs. After the function is disabled, the layer 2 protocol packet of the private network cannot be transparently transmitted in the public network. -

Modes

Global config mode, VLAN service profile mode

Level

Operator level

Usage Guidelines

  • In the global config mode, run the vlan service-profile command to enter the VLAN service profile mode.
  • In the global config mode, by default, the transparent transmission for the Layer 2 BPDUs is disabled. In the VLAN profile mode, the system default value is NotConfig, that is, the configuration parameter takes effect in the global config mode.
  • The native VLAN does not support the transparent transmission for the BPDUs.
  • VLANs for a cable bundle do not support the transparent transmission for the BPDUs. Run the display cable bundle reserved vlan command to display reserved VLANs for a cable bundle.
  • The status of the transparent transmission for bridge protocol data unit (BPDU) packets configured by running the bpdu tunnel command determines the destination MAC address of MSTP packets.
    • If the transparent transmission of BPDU packets is disabled in all VLANs, the destination MAC address of MSTP packet is 01:80:C2:00:00:00.
    • If the transparent transmission of BPDU packets is enabled in any VLAN, the destination MAC address of MSTP packet is 01:80:C2:00:00:08.

Example

To enable the transparent transmission of BPDUs in QinQ VLAN 10 to QinQ VLAN 14 in the global config mode, do as follows:
huawei(config)#bpdu tunnel     
{ vlan<K> }:vlan                                                                
{ vlanid<U><1,4093> }:10                                                      
{ disable<K>|enable<K>|to<K> }:to                                               
{ vlanid<U><1,4093> }:14                                                  
{ disable<K>|enable<K> }:enable                                                 
                                                                                
  Command:                                                                      
          bpdu tunnel vlan 10 to 14 enable                                  
  It will take several minutes to set BPDU tunnel, please wait...    
  The total of enable BPDU tunnel succeed VLAN: 5                               
  The total of enable BPDU tunnel failed  VLAN: 0   
To disable the transparent transmission of BPDUs in QinQ VLAN 10 to QinQ VLAN 14 in the global config mode, do as follows:
huawei(config)#bpdu tunnel                    
{ vlan<K> }:vlan                                                                
{ vlanid<U><1,4093> }:10                                                      
{ disable<K>|enable<K>|to<K> }:to                                               
{ vlanid<U><1,4093> }:14                                                  
{ disable<K>|enable<K> }:disable                                                
                                                                                
  Command:                                                                      
          bpdu tunnel vlan 10 to 14 disable                                 
  It will take several minutes to set BPDU tunnel, please wait...    
  The total of disable BPDU tunnel succeed VLAN: 5                              
  The total of disable BPDU tunnel failed  VLAN: 0 
To enable the transparent transmission of BPDUs in QinQ VLAN 10 to QinQ VLAN 14 in the VLAN service profile mode, do as follows:
huawei(config-vlan-srvprof-10)#bpdu tunnel
{ disable<K>|enable<K> }:enable

  Command:
          bpdu tunnel enable
  Info: Please use the commit command to make modifications take effect
huawei(config-vlan-srvprof-10)#commit
huawei(config)#vlan bind service-profile 10 profile-id 10   
To clear the VLAN transparent transmission setting of L2 BPDU packets in a VLAN service profile, do as follows:
huawei(config-vlan-srvprof-10)#undo bpdu tunnel
  Info: Please use the commit command to make modifications take effect
huawei(config-vlan-srvprof-10)#commit

System Response

  • The system displays the message "The total of enable BPDU tunnel succeed VLAN: x The total of enable BPDU tunnel failed VLAN: y" after the transparent transmission of BPDUs is enabled successfully. The x is the number of the VLANs in which the transparent transmission of BPDUs is enabled and the y is the number of the VLANs in which the transparent transmission of BPDUs is not enabled successfully.
  • The system displays the message "The total of disable BPDU tunnel succeed VLAN: x The total of disable BPDU tunnel failed VLAN: y " after the transparent transmission of BPDUs is disabled successfully. The x is the number of the VLANs in which the transparent transmission of BPDUs is disabled and the y is the number of the VLANs in which the transparent transmission of BPDUs is not disabled successfully.
  • The system does not display any message after the command is executed successfully. after the transparent transmission of BPDUs is enabled successfully. 
More blog:

The MSTP Configuration of stp priority secondary

Function Description

The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5680T/MA5683T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.

Function

The stp priority secondary command is used to set the secondary priority of the device in spanning tree instance 0. The secondary priority of the device determines whether another device can be selected as the root bridge of the spanning tree after the upstream port of the original root bridge in the ring network is faulty. To set the secondary priority of the device so that a specified device (that is, the standby root bridge) can be selected as the root bridge of the spanning tree after the upstream port of the original root bridge in the ring network is faulty, run this command. After the secondary priority of the device is set, the configured value determines whether to switch the root bridge in spanning tree instance 0 after the upstream port of the original root bridge is faulty.
The undo stp priority secondary command is used to restore the secondary priority of the device in a specified spanning tree instance to the default value. After the secondary priority is restored to the default value, the secondary priority of the device is 61440.

Format

stp priority secondary priority
undo stp priority secondary

Parameters

Parameter Description Value
priority Indicates the secondary priority of the device. This value must use a step of 4096. The device priority increases with the decrease of the configured value. Numeral type. Range: 0-61440.
Default: 61440.

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • The device with a lower secondary priority is more likely to be selected as the root bridge of the spanning tree.
  • The secondary priority must be lower than the primary priority of the root bridge device. It is recommended that you set the priorities as follows: Primary priority of the root bridge > (higher than) Priority of the standby root bridge > Secondary priority of the root bridge > Priorities of the remaining devices in the CIST instance.
  • The secondary priority of the device is involved in the spanning tree calculation only after it is triggered. Generally, it is recommended that you set the secondary priority only for the root bridge device in spanning tree instance 0 (that is, CIST instance), and bind the secondary priority to the default multicast upstream port. The secondary priority is triggered to take effect only when the bound port is faulty.
  • This priority takes effect only in the CIST instance.
  • The secondary priority can be set only for spanning tree instance 0 and must be bound to a port. The secondary priority is triggered to take effect only when the bound port is faulty. The recommended port to be bound is the default multicast upstream port of spanning tree instance 0.
  • When the secondary priority takes effect and the root bridge of the spanning tree is to be selected, the device with a smaller MAC address is selected as the root bridge if the priorities of the devices are the same.

Example

To set the secondary priority of the device in the CIST instance of the spanning tree to 4096, do as follows:
huawei(config)#stp priority secondary                                              
{ bind<K>|integer<U><0,61440> }:4096                                                    
                                                                                
  Command:                                                                      
          stp priority secondary 4096 
To restore the secondary priority of the device in the CIST instance of the spanning tree to the default value, do as follows:
huawei(config)#undo stp priority secondary

The MSTP Configuration of stp priority

Function Description

The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5600T/MA5683T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.

Function

The stp priority command is used to set the priority of a device in the specified spanning tree instance. The device priority decides that whether the device can be selected as the root bridge of the spanning tree. When you need to set the device priority to realize the goal of specifying a device as the root bridge of the spanning tree, run this command. After the device priority is set, the set value serves as the criterion for deciding whether to select the device as the root bridge of the spanning tree.
The undo stp priority command is used to restore the default priority of a device in the specified spanning tree instance. After the default priority of a device is restored, the priority of the device in the specified spanning tree instance is 32768.
NOTE:
In the process of selecting the root of the spanning tree, among the devices with same priority, the device with the smallest MAC address will be selected as the tree root.

Format

stp [ instance instance-id ] priority priority
undo stp [ instance instance-id ] priority

Parameters

Parameter Description Value
instance instance-id Indicates the spanning tree instance ID. The value 0 indicates the Common And Internal Spanning Tree (CIST) instance and other value indicate the Multiple Spanning Tree Instance (MSTI). Numeral type. Range: 0-16.
priority priority Indicates the device priority, in steps of 4096. The smaller the set value is, the higher device priority is. Numeral type. Range: 0-61440.
Default: 32768.

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • The device with smaller priority value is more possible to be selected as the root bridge of the spanning tree.
  • Device priority participates in the calculation of the spanning tree. The device priority can be set separately based on the spanning tree instance to which it belongs, and different instances can be configured with different priorities.
  • If you do not configure parameter instance instance-id, the configuration takes effect only on the CIST instance.
  • The device supporting Multiple Spanning Tree Protocol (MSTP) can have different priorities in different spanning tree instances.

Example

To set the priority of the device in spanning tree instance 1 to 4096, do as follows:
huawei(config)#stp instance                                                     
{ INTEGER<0-16> }:1                                                          
{ priority<K>|root<K> }:priority                                                
{ integer<U><0,61440> }:4096                                                    
                                                                                
  Command:                                                                      
          stp instance 1 priority 4096 
To restore the default priority of the device in spanning tree instance 1, do as follows:
huawei(config)#undo stp instance                                                
{ INTEGER<0-16> }:1                                                          
{ priority<K>|root<K> }:priority                                                
                                                                                
  Command:                                                                      
          undo stp instance 1 priority  

System Response

Friday, February 3, 2017

What's the MSTP Configuration of stp port port-priority?

Function Description

The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5680T/MA5603T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.

Function

The stp port port-priority command is used to set the priority of a port in the specified spanning tree instance. The priority is an important criterion deciding whether a port will be selected as a root port. In the process of calculating the spanning tree, among the ports with equal condition, the port with higher priority will be selected as the root port. After the priority of a port in the specified spanning tree instance is set, the device takes the set priorities as a criterion for selecting the root port.
The undo stp port port-priority command is used to restore the default priority of a port in the specified spanning tree instance. After the default priority of a port in the specified spanning tree instance is restored, the priority of the port is 128.
NOTE:
Modifying the priority of a port causes the recalculation of the spanning tree. You can set the priority of a port based on the actual requirement of the networking mode.

Format

stp port frameid/slotid/portid [ instance instance-id ] port-priority port-priority
undo stp port frameid/slotid/portid [ instance instance-id ] port-priority

Parameters

Parameter Description Value
frameid/slotid/portid Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. When you need to set the priority of the specified port, use this parameter. Please see Differences Between Shelves.
instance instance-id Indicates the spanning tree instance ID. The value 0 indicates the Common And Internal Spanning Tree (CIST) instance and other value indicate the Multiple Spanning Tree Instance (MSTI). Numeral type. Range: 0-16.
port-priority port-priority Indicates the port priority, in steps of 16. The smaller the set value is, the higher the port priority is. Numeral type. Range: 0-240.
Default: 128.

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • If you do not configure parameter instance instance-id, the configuration takes effect only on the CIST instance. If parameter instance-id is configured to 0, it indicates the priority of the port in CIST.
  • If the priority of all Ethernet of the device is the same, the priority of an Ethernet port is decided by the index of the port.
  • Port role assignments in a specified spanning tree instance are determined by port priority. You can configure one port with different priorities in different MSTIs, so as to enable different VLAN traffic to be forwarded along different physical links and then to realize VLAN load sharing function.
  • When the port priority changes, MSTP recalculates the port role and transits the port state.

Example

To set the priority of port 0/19/0 in spanning tree instance 2 to 16, do as follows:
huawei(config)#stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0 
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
instance
{ INTERGER<0-16> }:2
{ cost<K>|port-priority<K> }:port-priority
{ integer<U><0,240> }:16

  Command: 
          stp port 0/19/0 instance 2 port-priority 16 
To restore the default priority of port 0/19/0 in spanning tree instance 2, do as follows:
huawei(config)#undo stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0 
{ cost<K>|instance<K>|point-to-point<K>|port-priority<K>|transmit-limit<K> }:
instance
{ INTERGER<0-16> }:2
{ cost<K>|port-priority<K> }:port-priority

  Command:
          undo stp port 0/19/0 instance 2 port-priority

What's the MSTP Configuration of stp port point-to-point

Function Description

The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5680T/MA5683T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.

Function

The stp port point-to-point command is used to set a link connected to the current Ethernet port as a point-to-point link or a non point-to-point link. When you need to set a link as a point-to-point link or a non point-to-point link to control the time for switching the Ethernet port state, run this command. After you set a link connected to the current Ethernet port as a point-to-point link, if the specified Ethernet port sends the request for rapid transition and the port meets the requirements of point-to-point link, the port state can be transited rapidly.
The undo stp port point-to-point command is used to restore the default setting. When you need MSTP to detect whether a link connected to the current Ethernet port is a point-to-point link, run this command to restore the default setting. After the default setting is restored, MSTP automatically detects the link and decides whether to process the request for rapidly switching the state of the specified Ethernet port.
NOTE:
If the Ethernet port is set to be connected to a point-to-point link, but the actual physical link connected to the port with is a non point-to-point link, the port may import temporary loops.

Format

stp port frameid/slotid/portid point-to-point { force-true | force-false | auto }
undo stp port frameid/slotid/portid point-to-point

Parameters

Parameter Description Value
frameid/slotid/portid Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. Only the Ethernet port is supported. When you need to set the specified port, use this parameter. Please see Differences Between Shelves.
force-true Sets the link connected to the specified Ethernet port as a point-to-point link. A point-to-point link refers to a link that directly connects two switches. -
force-false Sets the link connected to the specified Ethernet port as a non point-to-point link. -
auto Detects and specifies automatically whether the link connected to the specified Ethernet port is a point-to-point link. -

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • By default, the point-to-point link is set to auto mode.
  • When the Ethernet port is connected to a non point-to-point link, the port state cannot be transited rapidly. It is recommended to use the default mode to enable MSTP detect the link automatically.
  • This setting takes effect to Common and Internal Spanning Tree (CIST) and all Multiple Spanning Tree Instances (MSTIs). When the Ethernet port is set to be connected to the point-to-point link (or non point-to-point link), the setting applies to all spanning tree instances.
  • For aggregation Ethernet ports, only the primary port can be set to be connected to a point-to-point link.
  • For the Ethernet port working in auto-negotiation mode, if the negotiated working mode is full-duplex, the Ethernet port can be set to be connected to a point-to-point link.

Example

To set the link connected to Ethernet port 0/19/0 as a point-to-point link, do as follows:
huawei(config)#stp port 
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
point-to-point
{ auto<K>|force-false<K>|force-true<K> }:force-true

  Command:
          stp port 0/19/0 point-to-point force-true
To restore the default mode of the link connected to Ethernet port 0/19/0, do as follows:
huawei(config)#undo stp port 
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|instance<K>|point-to-point<K>|port-priority<K>|transmit-limit<K> }:
point-to-point

  Command:
          undo stp port 0/19/0 point-to-point

System Response