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

ME60 V800R010C10SPC500 Configuration Guide - IP Routing 01

This is ME60 V800R010C10SPC500 Configuration Guide - IP Routing
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 BFD for OSPFv3

Example for Configuring BFD for OSPFv3

This section describes how to configure BFD for OSPFv3. After BFD for OSPFv3 is configured, BFD can rapidly detect link faults and report them to OSPFv3 so that service traffic can be transmitted through the backup link.

Networking Requirements

On the network shown in Figure 6-10, the requirements are as follows:

  • OSPFv3 runs on Device A, Device B, and Device C.

  • BFD is enabled in an OSPFv3 process on Device A, Device B, and Device C.

  • Service traffic is transmitted over the primary link (Device A -> Device B). The link (Device A -> Device C -> Device B) functions as the backup link.

  • If the primary link fails, BFD can quickly detect the fault and notify OSPFv3 of the fault so that service traffic can be transmitted through the backup link.

Figure 6-10 Networking for configuring BFD for OSPFv3
NOTE:

Interface 1, interface 2, interface 3 in this example are GE 1/0/0, GE 1/0/1, GE 1/0/2, respectively.


Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure basic OSPFv3 functions on each ME device.

  2. Configure BFD for OSPFv3.

Data Preparation

To complete the configuration, you need the following data:

  • Router ID of Device A: 1.1.1.1

  • Router ID of Device B: 2.2.2.2

  • Router ID of Device C: 3.3.3.3

  • Minimum interval at which BFD packets are received and sent and local detection multiplier on Device A and Device B

Procedure

  1. Assign an IPv6 address to each interface. For configuration details, see Configuration Files in this section.
  2. Configure basic OSPFv3 functions.

    # Configure Device A.

    [*DeviceA] ospfv3
    [*DeviceA-ospfv3-1] router-id 1.1.1.1
    [*DeviceA-ospfv3-1] quit
    [*DeviceA] interface gigabitethernet 1/0/0
    [*DeviceA-GigabitEthernet1/0/0] ospfv3 1 area 0
    [*DeviceA-GigabitEthernet1/0/0] quit
    [*DeviceA] interface gigabitethernet 1/0/1
    [*DeviceA-GigabitEthernet1/0/1] ospfv3 1 area 0.0.0.0
    [*DeviceA-GigabitEthernet1/0/1] quit
    [*DeviceA] commit

    # Configure Device B.

    [*DeviceB] ospfv3 1
    [*DeviceB-ospfv3-1] router-id 2.2.2.2
    [*DeviceB-ospfv3-1] quit
    [*DeviceB] interface gigabitethernet 1/0/0
    [*DeviceB-GigabitEthernet1/0/0] ospfv3 1 area 0.0.0.0
    [*DeviceB-GigabitEthernet1/0/0] quit
    [*DeviceB] interface gigabitethernet 1/0/1
    [*DeviceB-GigabitEthernet1/0/1] ospfv3 1 area 0.0.0.0
    [*DeviceB-GigabitEthernet1/0/1] quit
    [*DeviceB] interface gigabitethernet 1/0/2
    [*DeviceB-GigabitEthernet1/0/2] ospfv3 1 area 0.0.0.0
    [*DeviceB-GigabitEthernet1/0/2] commit

    # Configure Device C.

    [~DeviceC] ospfv3 1
    [*DeviceC-ospfv3-1] router-id 3.3.3.3
    [*DeviceC-ospfv3-1] quit
    [*DeviceC] interface gigabitethernet 1/0/0
    [*DeviceC-GigabitEthernet1/0/0] ospfv3 1 area 0.0.0.0
    [DeviceC-GigabitEthernet1/0/0] quit
    [*DeviceC] interface gigabitethernet 1/0/1
    [*DeviceC-GigabitEthernet1/0/1] ospfv3 1 area 0.0.0.0
    [*DeviceC-GigabitEthernet1/0/1] commit

    # After the preceding configurations are complete, run the display ospfv3 peer command. The command output shows that neighbor relationships are set up between Device A and Device B, and between Device B and Device C. Use the command output on Device A as an example.

    [~DeviceA] display ospfv3 peer verbose
     OSPFv3 Process (100)
     OSPFv3 Area (0.0.0.0)
    
     Neighbor 1.1.1.1, interface address FE80::3D43:0:8C14:1
        In the area 0.0.0.1 via interface GE1/0/0
        DR is 0.0.0.0 BDR is 0.0.0.0
        Options is 0x000013 (-|R|-|-|E|V6)
        Dead timer due in 00:00:29
        Neighbour is up for 01:08:17
        Database Summary List 0
        Link State Request List 0
        Link State Retransmission List 0
        Neighbour Event: 7
        Neighbour If Id : 0x04

    # View information in the OSPFv3 routing table on Device A. The routing table should contain the routes to Device B and Device C.

    [~DeviceA] display ospfv3 routing
    OSPFv3 Process (1)
    
    Destination                                                 Metric
      Next-hop
    2001:DB8:1::/64                                                    1
     directly connected, GE1/0/0
    2001:DB8:2::/64                                                    2
     via FE80::E0:9C69:8142:2, GE1/0/1
     via FE80::E0:CE19:8142:1, GE1/0/0
    2001:DB8:3::/64                                                    1
     directly connected, GE1/0/1
    2001:DB8:4::1/64                                                   1
     via FE80::E0:CE19:8142:1, GE1/0/0

    The information shows that the next hop of the route to 2001:DB8:4::1/64 is GigabitEthernet 1/0/0. Traffic is transmitted over the primary link.

  3. Configure BFD for OSPFv3.

    # Enable BFD on Device A globally.

    [*DeviceA] bfd
    [*DeviceA-bfd] quit
    [*DeviceA] ospfv3 1
    [*DeviceA-ospfv3-1] bfd all-interfaces enable
    [*DeviceA-ospfv3-1] bfd all-interfaces min-transmit-interval 100 min-receive-interval 100 detect-multiplier 4
    [*DeviceA-ospfv3-1] commit

    # Enable BFD on Device B globally.

    [*DeviceB] bfd
    [*DeviceB-bfd] quit
    [*DeviceB] ospfv3 1
    [*DeviceB-ospfv3-1] bfd all-interfaces enable
    [*DeviceB-ospfv3-1] bfd all-interfaces min-transmit-interval 100 min-receive-interval 100 detect-multiplier 4
    [*DeviceB-ospfv3-1] commit

    # Enable BFD on Device C globally.

    [*DeviceC] bfd
    [*DeviceC-bfd] quit
    [*DeviceC] ospfv3 1
    [*DeviceC-ospfv3-1] bfd all-interfaces enable
    [*DeviceC-ospfv3-1] bfd all-interfaces min-transmit-interval 100 min-receive-interval 100 detect-multiplier 4
    [*DeviceC-ospfv3-1] commit

    # After the preceding configurations are complete, run the display ospfv3 bfd session command on Device A or Device B. You can view that the status of the BFD session is Up.

    Use the command output on Device B as an example.

    <DeviceB> display ospfv3 bfd session verbose
    * - STALE
    
    OSPFv3 Process (1)
       Neighbor-Id: 1.1.1.1
       BFD Status: Up
       Interface: GE1/0/0
       IPv6-Local-Address: FE80::E0:CE19:8142:1
       IPv6-Remote-Address: FE80::E0:4C3A:143:1
    
       Total UP/DOWN BFD Session Number : 1 / 0

  4. Verify the configuration.

    # Run the shutdown command on GE 1/0/0 of Device B to simulate a primary link failure.

    [~DeviceB] interface gigabitethernet1/0/0
    [~DeviceB-GigabitEthernet1/0/0] shutdown
    [*DeviceB-GigabitEthernet1/0/0] commit

    # Check the routing table on Device A. The command output shows that the next hop on the route to 2001:DB8:4::1/64 is changed to GigabitEthernet 1/0/1. Therefore, traffic is switched to the backup link.

    <DeviceA> display ospfv3 routing
    OSPFv3 Process (1)
    
    Destination                                                 Metric
      Next-hop
     2001:DB8:1::/64                                                    1
           directly connected, GE1/0/0
     2001:DB8:2::/64                                                    2
           via FE80::E0:9C69:8142:2, GE1/0/1
     2001:DB8:3::/64                                                    1
           directly connected, GE1/0/1
     2001:DB8:4::1/64                                                   2
           via FE80::E0:9C69:8142:2, GE1/0/1

Configuration Files

  • Device A configuration file

    #
     sysname DeviceA
    #
     bfd
    #
    ospfv3 1
     router-id 1.1.1.1
     bfd all-interfaces enable
     bfd all-interfaces min-transmit-interval 100 min-receive-interval 100 detect-multiplier 4
     area 0.0.0.0
    #
    interface gigabitethernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1::3/64
     ospfv3 1 area 0.0.0.0
    #
    interface gigabitethernet1/0/1
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:3::1/64
     ospfv3 1 area 0.0.0.0
    #
    return
  • Device B configuration file

    #
     sysname DeviceB
    #
     bfd
    #
    ospfv3 1
     router-id 2.2.2.2
     bfd all-interfaces enable
     bfd all-interfaces min-transmit-interval 100 min-receive-interval 100 detect-multiplier 4
     area 0.0.0.0
    #
    interface gigabitethernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1::2/64
     ospfv3 1 area 0.0.0.0
    #
    interface gigabitethernet1/0/1
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2::1/64
     ospfv3 1 area 0.0.0.0
    #
    interface gigabitethernet1/0/2
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:4::1/64
     ospfv3 1 area 0.0.0.0
    #
    return
  • Device C configuration file

    #
     sysname DeviceC
    #
    ospfv3 1
     router-id 3.3.3.3
     bfd all-interfaces enable
     bfd all-interfaces min-transmit-interval 100 min-receive-interval 100 detect-multiplier 4
     area 0.0.0.0
    #
    interface gigabitethernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2::2/64
     ospfv3 1 area 0.0.0.0
    #
    interface gigabitethernet1/0/1
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:3::3/64
     ospfv3 1 area 0.0.0.0
    #
    return
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 22484

Downloads: 15

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