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 OSPFv3 IP FRR

Example for Configuring OSPFv3 IP FRR

This section describes the procedure for configuring OSPFv3 IP FRR, including how to block FRR on certain interfaces to prevent the links connected to these interfaces from functioning as backup links and how to bind OSPFv3 IP FRR to a BFD session.

Networking Requirements

When a fault occurs on the network, OSPFv3 IP FRR rapidly switches traffic to the backup link without waiting for route convergence. This ensures non-stop traffic forwarding.

As shown in Figure 6-9,
  • OSPFv3 runs on all devices.
  • The link cost meets the OSPFv3 IP FRR traffic protection inequality.
  • If the primary link T fails, it is required that the traffic from Device S be rapidly redirected to the backup link that passes through Device N.

  • Based on the network planning, the link passing through Device A does not function as a backup link.
Figure 6-9 Networking for configuring OSPFv3 IP FRR
NOTE:

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



Context

When configuring OSPFv3 IP FRR, note the following points:

Before configuring OSPFv3 IP FRR, block FRR on certain interfaces to prevent the links connected to these interfaces from functioning as backup links. After that, the link where the interface resides is not calculated as a backup link during FRR calculation.

During the configuration of OSPFv3 IP FRR, the lower layer needs to fast respond to a link change so that traffic can be rapidly switched to the backup link. After the bfd all-interfaces frr-binding command is run, the BFD session status is associated with the link status of an interface so that link faults can be rapidly detected.

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure basic OSPFv3 functions on each ME device. (For configuration details, see Example for Configuring Basic OSPFv3 Functions.)

  2. Configure BFD for OSPFv3 on all devices in Area 0.

  3. Set the costs of links to ensure that link T is selected to transmit traffic.

  4. Block FRR on the specified interface on Device S.

  5. Enable OSPFv3 IP FRR on Device S to protect the traffic forwarded by Device S.

Data Preparation

To complete the configuration, you need the following data:

Device

Router ID

Interface

IPv6 Address

Device S

1.1.1.1

GE1/0/0

2001:DB8:1000::1/96

GE2/0/0

2001:DB8:1001::1/96

GE3/0/0

2001:DB8:1002::1/96

Device A

2.2.2.2

GE1/0/0

2001:DB8:1000::2/96

GE2/0/0

2001:DB8:2000::2/96

Device N

3.3.3.3

GE1/0/0

2001:DB8:1002::2/96

GE2/0/0

2001:DB8:2002::2/96

Device E

4.4.4.4

GE1/0/0

2001:DB8:2000::1/96

GE2/0/0

2001:DB8:2001::1/96

GE3/0/0

2001:DB8:2002::1/96

GE1/0/1

2001:DB8:3000::1/96

Procedure

  1. Assign an IPv6 address to each interface. For configuration details, see Configuration Files in this section.
  2. Configure basic OSPFv3 functions. See Example for Configuring Basic OSPFv3 Functions.
  3. Configure BFD for OSPFv3 on all devices in Area 0. See Example for Configuring BFD for OSPFv3.
  4. Set the costs of links to ensure that link T is selected to transmit traffic.

    # Configure Device S.

    [~DeviceS] interface gigabitethernet1/0/0
    [~DeviceS-GigabitEthernet1/0/0] ospfv3 cost 5
    [*DeviceS-GigabitEthernet1/0/0] quit
    [*DeviceS] interface gigabitethernet2/0/0
    [*DeviceS-GigabitEthernet2/0/0] ospfv3 cost 20
    [*DeviceS-GigabitEthernet2/0/0] quit
    [*DeviceS] interface gigabitethernet3/0/0
    [*DeviceS-GigabitEthernet3/0/0] ospfv3 cost 10
    [*DeviceS-GigabitEthernet3/0/0] quit
    [*DeviceS] commit

    # Configure Device A.

    [~DeviceA] interface gigabitethernet1/0/0
    [~DeviceA-GigabitEthernet1/0/0] ospfv3 cost 5
    [*DeviceA-GigabitEthernet1/0/0] quit
    [*DeviceA] interface gigabitethernet2/0/0
    [*DeviceA-GigabitEthernet2/0/0] ospfv3 cost 5
    [*DeviceA-GigabitEthernet2/0/0] quit
    [*DeviceA] commit

    # Configure Device N.

    [~DeviceN] interface gigabitethernet1/0/0
    [~DeviceN-GigabitEthernet1/0/0] ospfv3 cost 10
    [*DeviceN-GigabitEthernet1/0/0] quit
    [*DeviceN] interface gigabitethernet2/0/0
    [*DeviceN-GigabitEthernet2/0/0] ospfv3 cost 10
    [*DeviceN-GigabitEthernet2/0/0] quit
    [*DeviceN] commit

  5. Block FRR on the specified interface on Device S.

    [~DeviceS] interface gigabitethernet1/0/0
    [~DeviceS-GigabitEthernet1/0/0] ospfv3 frr block
    [*DeviceS-GigabitEthernet1/0/0] quit
    [*DeviceS] commit

  6. Enable OSPFv3 IP FRR on Device S.

    [~DeviceS] ospfv3
    [*DeviceS-ospfv3-1] frr
    [*DeviceS-ospfv3-1-frr] loop-free-alternate
    [*DeviceS-ospfv3] commit

  7. Verify the configuration.

    # Run the display ospfv3 routing command on Device S to view routing information.

    [~DeviceS-ospfv3-1-frr] display ospfv3 routing 2001:db8:3000::1 96
     Codes : E2 - Type 2 External, E1 - Type 1 External, IA - Inter-Area
     OSPFv3 Process (1)
       Destination                                Metric
         Nexthop
       2001:DB8:2000:1::/64                       3124
           via 2001:DB8:2001::1/96, GE2/0/0
              backup via FE80::2000:10FF:4, GE3/0/0, LFA LINK-NODE
         Priority      :Low

    The command output shows that a backup link is generated by FRR calculation on Device S.

Configuration Files

  • Device S configuration file

    #
     sysname DeviceS
    #
     bfd
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1000::1 255.255.255.0
     ospfv3 cost 5
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1001::1 255.255.255.0
     ospfv3 cost 15
    #
    interface GigabitEthernet3/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1002::1 255.255.255.0
     ospfv3 frr block
     ospfv3 cost 10
    #
    ospfv3 1
     router-id 1.1.1.1
     bfd all-interfaces enable
     bfd all-interfaces frr-binding
     frr
      loop-free-alternate
     area 0.0.0.1
    #
    return
  • Device A configuration file

    #
     sysname DeviceA
    #
     bfd
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1000::2 255.255.255.0
     ospfv3 cost 5
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2000::2 255.255.255.0
     ospfv3 cost 5
    #
    ospfv3 1
     router-id 2.2.2.2
     bfd all-interfaces enable
     bfd all-interfaces frr-binding
     frr
      loop-free-alternate
     area 0.0.0.1
    #
    return
  • Device N configuration file

    #
     sysname DeviceN
    #
     bfd
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ip address 2001:db8:1002::2 255.255.255.0
     ospfv3 cost 10
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2002::2 255.255.255.0
     ospfv3 cost 10
    #
    ospfv3 1
     router-id 3.3.3.3
     bfd all-interfaces enable
     bfd all-interfaces frr-binding
     frr
     area 0.0.0.1
    #
    return
  • Device E configuration file

    #
     sysname DeviceE
    #
     bfd
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2000::1 255.255.255.0
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2001::1 255.255.255.0
    #
    interface GigabitEthernet3/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2002::1 255.255.255.0
    #
    interface GigabitEthernet1/0/1
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:3000::1 255.255.255.0
     ospfv3 cost 5
    #
    ospfv3 1
     router-id 4.4.4.4
     bfd all-interfaces enable
     bfd all-interfaces frr-binding
     area 0.0.0.1
    #
    return
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 20775

Downloads: 15

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