Nessuna risorsa pertinente trovata nella lingua selezionata.

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

Reminder

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

upgrade

Configuration Guide - Reliability

S7700 and S9700 V200R011C10

This document describes the configuration of BFD, DLDP, VRRP, SmartLink, CFM, EFM, Y.1731 and MAC swap loopback to ensure reliability on the device.
Rate and give feedback:
Huawei utilizza la traduzione automatica insieme alla revisione umana per tradurre questo documento in diverse lingue, per facilitare la comprensione del contenuto di questo documento. Nota: la traduzione automatica, anche la più avanzata, non può corrispondere alla qualità dei trasduttori professionisti. Huawei non accetta alcuna responsabilità per l'accuratezza della traduzione e raccomanda di fare riferimento al documento inglese (per il quale è stato fornito un collegamento).
Example for Configuring DLDP to Detect Intersected Fibers

Example for Configuring DLDP to Detect Intersected Fibers

Networking Requirements

As shown in Figure 5-9, SwitchA and SwitchB are connected through a pair of optical fibers. On an optical fiber, Rx indicates the receive end, and Tx indicates the transmit end. Optical fibers may be cross connected, as shown in Figure 5-10. The requirement is to detect unidirectional links caused by cross connections of optical fibers.

Figure 5-9  Correct optical fiber connections
Figure 5-10  Intersected fibers

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure the interfaces on both ends to work in non-auto-negotiation mode.

  2. Enable DLDP to detect unidirectional links between SwitchA and SwitchB.

  3. Adjust DLDP parameters to detect unidirectional links more efficiently.

Procedure

  1. Configure the interfaces on SwitchA to work in non-auto negotiation mode.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchA
    [SwitchA] interface gigabitethernet 1/0/1
    [SwitchA-GigabitEthernet1/0/1] undo negotiation auto
    [SwitchA-GigabitEthernet1/0/1] quit
    [SwitchA] interface gigabitethernet 1/0/2
    [SwitchA-GigabitEthernet1/0/2] undo negotiation auto
    [SwitchA-GigabitEthernet1/0/2] quit
    

  2. Enable DLDP globally on SwitchA.

    [SwitchA] dldp enable
    

  3. Enable DLDP on an interface of SwitchA.

    [SwitchA] interface gigabitethernet 1/0/1
    [SwitchA-GigabitEthernet1/0/1] dldp enable
    [SwitchA-GigabitEthernet1/0/1] quit
    [SwitchA] interface gigabitethernet 1/0/2
    [SwitchA-GigabitEthernet1/0/2] dldp enable
    [SwitchA-GigabitEthernet1/0/2] quit

  4. Set the interval for sending Advertisement packets to 10 seconds on SwitchA.

    [SwitchA] dldp interval 10
    

  5. Set the timeout value of the DelayDown timer to 4 seconds on SwitchA.

    [SwitchA] dldp delaydown-timer 4
    

  6. Set the authentication mode of DLDPDUs to sha password authentication and set the password to 12345 on SwitchA.

    [SwitchA] dldp authentication-mode sha 12345
    

    Perform steps 1 to 6 on SwitchB.

  7. Verify the configuration.

    After the configuration is complete, run the display dldp command in the interface view. The command output shows that the DLDP status of the interface is advertisement.

    [SwitchA] display dldp interface gigabitethernet 1/0/1
    Interface GigabitEthernet1/0/1
     DLDP port state: advertisement                                                 
     DLDP link state: up                                                            
     The neighbor number of the port is: 1.                                         
       Neighbor mac address:0001-0001-0001                                          
       Neighbor port index:26                                                       
       Neighbor state:two way                                                       
       Neighbor aged time(s):206  
    [SwitchA] display dldp interface gigabitethernet 1/0/2
    Interface GigabitEthernet1/0/2
     DLDP port state: advertisement                                                 
     DLDP link state: up                                                            
     The neighbor number of the port is: 1.                                         
       Neighbor mac address:0001-0001-0001                                          
       Neighbor port index:28                                                       
       Neighbor state:two way                                                       
       Neighbor aged time(s):188       
    [SwitchB] display dldp interface gigabitethernet 1/0/1
    Interface GigabitEthernet1/0/1
     DLDP port state: advertisement                                                 
     DLDP link state: up                                                            
     The neighbor number of the port is: 1.                                         
       Neighbor mac address:781d-ba57-c24a                                          
       Neighbor port index:51                                                       
       Neighbor state:two way                                                       
       Neighbor aged time(s):235  
    [SwitchB] display dldp interface gigabitethernet 1/0/2
    Interface GigabitEthernet1/0/2
     DLDP port state: advertisement                                                 
     DLDP link state: up                                                            
     The neighbor number of the port is: 1.                                         
       Neighbor mac address:781d-ba57-c24a                                          
       Neighbor port index:53                                                       
       Neighbor state:two way                                                       
       Neighbor aged time(s):214  

    As shown in Figure 5-10, if a unidirectional link occurs between the interfaces on SwitchA and SwitchB due to cross connections of optical fibers, DLDP will shut down the interfaces.

    Run the display dldp command on SwitchA and SwitchB. The command output shows that the DLDP status of interfaces on SwitchA and SwitchB is disable.

    [SwitchA] display dldp interface gigabitethernet 1/0/1
    Interface GigabitEthernet1/0/1
     DLDP port state: disable
     DLDP link state: up
     The neighbor number of the port is: 0.
    [SwitchA] display dldp interface gigabitethernet 1/0/2
    Interface GigabitEthernet1/0/2
     DLDP port state: disable
     DLDP link state: up
     The neighbor number of the port is: 0.
    
    [SwitchB] display dldp interface gigabitethernet 1/0/1
    Interface GigabitEthernet1/0/1
     DLDP port state: disable
     DLDP link state: up
     The neighbor number of the port is: 0.
    [SwitchB] display dldp interface gigabitethernet 1/0/2
    Interface GigabitEthernet1/0/2
     DLDP port state: disable
     DLDP link state: up
     The neighbor number of the port is: 0. 

Configuration Files

  • SwitchA configuration file

    #
    sysname SwitchA
    #
    dldp enable
    dldp interval 10
    dldp delaydown-timer 4
    dldp authentication-mode sha %#%#x=4::bbwY1`:YhJ/e*kK_I:ONJ|CYMO/=^0QyZXEfr0xL'5Md,<4Dl:`za$9%#%# 
    #
    interface GigabitEthernet1/0/1
     undo negotiation auto
     dldp enable
    #
    interface GigabitEthernet1/0/2
     undo negotiation auto
     dldp enable
    #
    return
    
  • SwitchB configuration file

    #
    sysname SwitchB
    #
    dldp enable
    dldp interval 10
    dldp delaydown-timer 4
    dldp authentication-mode sha %#%#|I<VLDbQrWDa"<!e'7WVN,l%(t0ga;&{$r,Mrq*<!,}(C|oZXAz1!gIH}*x:%#%#
    #
    interface GigabitEthernet1/0/1
     undo negotiation auto
     dldp enable
    #
    interface GigabitEthernet1/0/2
     undo negotiation auto
     dldp enable
    #
    return
    
Traduzione
Download
Updated: 2019-10-18

N. documento: EDOC1000178318

Visualizzazioni:124551

Download: 81

Average rating:
This Document Applies to these Products
Documenti correlati
Related Version
Share
Precedente Avanti