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

S12700 V200R010C00 Configuration Guide - Reliability

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 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).
Example for Configuring Smart Link to Notify the VPLS Module of Link Switching

Example for Configuring Smart Link to Notify the VPLS Module of Link Switching

Networking Requirements

As shown in Figure 6-20, CE1 is dual-homed to a VPLS network through Dot1q sub-interfaces of PE2 and PE1. The Smart Link protocol runs between the two uplink interfaces of CE1. Normally, only the active link transmits service data.

If the active link fails, Smart Link unblocks the blocked interface to enable service data to be transmitted to the connected PE through this interface. A mechanism is required to notify the VPLS module of the link switching so that the VPLS module can clear forwarding entries in the local VSI and trigger other devices to clear forwarding entries in the corresponding VSI. In this way, service traffic sent from CE2 can be forwarded through the correct links.

Figure 6-20  CE dual-homing to a VPLS network through Smart Link

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure the VPLS network.
  2. Configure a Smart Link group on CE1 and configure uplinks to enable CE 1 to be dual-homed to the VPLS network through PE1 and PE2.
  3. Enable revertive switching on CE1 to enable traffic to be switched back to the original active link after the active link recovers.
  4. Enable CE1 to send Flush packets.
  5. Enable interfaces of PE1 and PE2 to receive Flush packets, and enable the interfaces to notify the VPLS module after receiving Flush packets. In this manner, CE2 on the peer network can rapidly detect changes in the network to which CE1 is connected.
  6. Enable the Smart Link group on CE1.

Procedure

  1. Configure the VPLS network on PE1, PE2, PE3, and PE4.

    For details about the configuration, see VPLS Configuration in the S12700 V200R010C00 Configuration Guide - VPN.

  2. Connect the Dot1q sub-interfaces to the VPLS network.

    For details about the configuration, see QinQ Configuration in the S12700 V200R010C00 Configuration Guide - Ethernet Switching.

  3. Create a VLAN on CE1 and add uplink interfaces to the VLAN.

    <HUAWEI> system-view
    [HUAWEI] sysname CE1
    [CE1] vlan batch 10
    [CE1] interface gigabitethernet 1/0/1
    [CE1-GigabitEthernet1/0/1] port link-type trunk
    [CE1-GigabitEthernet1/0/1] port trunk allow-pass vlan 10
    [CE1-GigabitEthernet1/0/1] quit
    [CE1] interface gigabitethernet 1/0/2
    [CE1-GigabitEthernet1/0/2] port link-type trunk
    [CE1-GigabitEthernet1/0/2] port trunk allow-pass vlan 10
    [CE1-GigabitEthernet1/0/2] quit

  4. Create the same VLAN on PE1 and PE2, and add downlink interfaces to the VLAN.

    <HUAWEI> system-view
    [HUAWEI] sysname PE1
    [PE1] vlan batch 10
    [PE1] interface gigabitethernet 1/0/1
    [PE1-GigabitEthernet1/0/1] port link-type trunk
    [PE1-GigabitEthernet1/0/1] port trunk allow-pass vlan 10
    [PE1-GigabitEthernet1/0/1] quit
    [PE1] interface gigabitethernet 1/0/2
    [PE1-GigabitEthernet1/0/2] port link-type trunk
    [PE1-GigabitEthernet1/0/2] port trunk allow-pass vlan 10
    [PE1-GigabitEthernet1/0/2] quit
    <HUAWEI> system-view
    [HUAWEI] sysname PE2
    [PE2] vlan batch 10
    [PE2] interface gigabitethernet 1/0/1
    [PE2-GigabitEthernet1/0/1] port link-type trunk
    [PE2-GigabitEthernet1/0/1] port trunk allow-pass vlan 10
    [PE2-GigabitEthernet1/0/1] quit
    [PE2] interface gigabitethernet 1/0/2
    [PE2-GigabitEthernet1/0/2] port link-type trunk
    [PE2-GigabitEthernet1/0/2] port trunk allow-pass vlan 10
    [PE2-GigabitEthernet1/0/2] quit

  5. Disable STP on uplink interfaces of CE1, add the interfaces to the Smart Link group, and specify the master and slave interfaces.

    # Disable STP on uplink interfaces of CE1.

    [CE1] interface gigabitethernet 1/0/1
    [CE1-GigabitEthernet1/0/1] stp disable
    [CE1-GigabitEthernet1/0/1] quit
    [CE1] interface gigabitethernet 1/0/2
    [CE1-GigabitEthernet1/0/2] stp disable
    [CE1-GigabitEthernet1/0/2] quit

    # Specify the master and slave interfaces in the Smart Link group.

    [CE1] smart-link group 1
    [CE1-smlk-group1] port gigabitethernet 1/0/1 master
    [CE1-smlk-group1] port gigabitethernet 1/0/2 slave
    

  6. Enable revertive switching and set the WTR time.

    [CE1-smlk-group1] restore enable
    [CE1-smlk-group1] timer wtr 30
    

  7. Enable CE1 to send Flush packets containing an SHA-encrypted password.

    [CE1-smlk-group1] flush send control-vlan 10 password sha huawei-123
    

  8. Enable PE1 and PE2 to receive Flush packets and enable the interfaces to notify the VPLS module after receiving Flush packets.

    # Enable PE1 to receive Flush packets containing an SHA-encrypted password.

    [PE1] interface gigabitethernet 1/0/2
    [PE1-GigabitEthernet1/0/2] smart-link flush receive control-vlan 10 password sha huawei-123
    [PE1-GigabitEthernet1/0/2] stp disable
    [PE1-GigabitEthernet1/0/2] smart-link vpls-notify enable
    [PE1-GigabitEthernet1/0/2] quit
    [PE1] interface gigabitethernet 1/0/1
    [PE1-GigabitEthernet1/0/1] smart-link flush receive control-vlan 10 password sha huawei-123
    [PE1-GigabitEthernet1/0/1] stp disable
    [PE1-GigabitEthernet1/0/1] quit
    

    # Enable PE2 to receive Flush packets containing an SHA-encrypted password.

    [PE2] interface gigabitethernet 1/0/1
    [PE2-GigabitEthernet1/0/1] smart-link flush receive control-vlan 10 password sha huawei-123
    [PE2-GigabitEthernet1/0/1] stp disable
    [PE2-GigabitEthernet1/0/1] smart-link vpls-notify enable
    [PE2-GigabitEthernet1/0/1] quit
    [PE2] interface gigabitethernet 1/0/2
    [PE2-GigabitEthernet1/0/2] smart-link flush receive control-vlan 10 password sha huawei-123
    [PE2-GigabitEthernet1/0/2] stp disable
    [PE2-GigabitEthernet1/0/2] quit
    

  9. Enable the Smart Link group.

    [CE1-smlk-group1] smart-link enable
    [CE1-smlk-group1] quit

  10. Verify the configuration.

    # Run the display smart-link group command to view information about the Smart Link group on CE1. If the following information is displayed, the configuration is successful:

    • The Smart Link function is enabled.
    • The control VLAN ID is 10.
    • GigabitEthernet1/0/1 is the master interface and is in Active state, whereas GigabitEthernet1/0/2 is the slave interface and is in Inactive state.
    [CE1] display smart-link group 1
    Smart Link group 1 information :
      Smart Link group was enabled
      Wtr-time is: 30 sec.
      There is no Load-Balance
      There is no protected-vlan reference-instance
      DeviceID: 0018-2000-0083  Control-vlan ID: 10
          Member              Role    State     Flush Count  Last-Flush-Time
      ----------------------------------------------------------------------
    
      GigabitEthernet1/0/1    Master  Active    1            2009/01/05 10:33:46 UTC+05:00
      GigabitEthernet1/0/2    Slave   Inactive  0            0000/00/00 00:00:00 UTC+05:00

    # Run the shutdown command to shut down GigabitEthernet1/0/1. Then GigabitEthernet1/0/1 changes to Inactive state, and GigabitEthernet1/0/2 changes to Active state.

    [CE1] interface gigabitethernet 1/0/1
    [CE1-GigabitEthernet1/0/1] shutdown
    [CE1-GigabitEthernet1/0/1] display smart-link group 1
    Smart Link group 1 information :
      Smart Link group was enabled
      Wtr-time is: 30 sec.
      There is no Load-Balance
      There is no protected-vlan reference-instance
      DeviceID: 0018-2000-0083  Control-vlan ID: 10
          Member              Role    State     Flush Count  Last-Flush-Time
      ----------------------------------------------------------------------
    
      GigabitEthernet1/0/1    Master  Inactive  1            2009/01/05 10:33:46 UTC+05:00
      GigabitEthernet1/0/2    Slave   Active    1            2009/01/05 10:37:58 UTC+05:00

Configuration Files

NOTE:

This example illustrates only the Smart Link configuration. For VPLS configuration files, see VPLS Configuration in the S12700 V200R010C00 Configuration Guide - VPN.

  • CE1 configuration file

    #
    sysname CE1
    #
    vlan batch 10
    #
    interface GigabitEthernet1/0/1
     port link-type trunk
     port trunk allow-pass vlan 10
     stp disable
    #
    interface GigabitEthernet1/0/2
     port link-type trunk
     port trunk allow-pass vlan 10
     stp disable
    #
    smart-link group 1
     restore enable
     smart-link enable
     port GigabitEthernet1/0/1 master
     port GigabitEthernet1/0/2 slave
     timer wtr 30
     flush send control-vlan 10 password sha %^%#tqK>L$S,8A/:R*FU_f1QXJuxI]JC(O+n$G@D)&(2rGp\&|y&Z$Z/kI.5n>7K%^%#
    #
    return
  • PE1 configuration file

    #
    sysname PE1
    #
    vlan batch 10
    #
    interface GigabitEthernet1/0/1
     port link-type trunk
     port trunk allow-pass vlan 10
     stp disable
     smart-link flush receive control-vlan 10 password sha %^%#iG"AHS*M.0TW{@,rv$aE$9v7E]kVgV~#81Dh'Ab@Z;_sO\-arQ_a6PW8Eho*%^%#
    #
    interface GigabitEthernet1/0/2
     port link-type trunk
     port trunk allow-pass vlan 10
     stp disable
     smart-link flush receive control-vlan 10 password sha %^%#.I*]L+_l:W@+F7ZAPK'JPu0=+q3+lBeE!}8F6z5-Kv.d'Q8EB'o{\l9,$3W#%^%#
     smart-link vpls-notify enable
    #
    return
  • PE2 configuration file

    #
    sysname PE2
    #
    vlan batch 10
    #
    interface GigabitEthernet1/0/1
     port link-type trunk
     port trunk allow-pass vlan 10
     stp disable
     smart-link flush receive control-vlan 10 password sha %^%#ZEztD1c"="ST$-:J<500`&vh'}vg~(X2.o~~v6L;B;^mX0RpU!hphI-&b<7L%^%#
     smart-link vpls-notify enable
    #
    interface GigabitEthernet1/0/2
     port link-type trunk
     port trunk allow-pass vlan 10
     stp disable
     smart-link flush receive control-vlan 10 password sha %^%#n),g7Yzan"a\*>DH)Pg=LF@g'y2mA2C`&jVRT%~ILcg+0^|#L.ik\OKpE0#Q%^%#
    #
    return
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142090

Views: 94472

Downloads: 107

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