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

CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
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 Static BFD for IS-IS

Example for Configuring Static BFD for IS-IS

Networking Requirements

As shown in Figure 7-41, three routers are interconnected using IS-IS, and RouterA and RouterB communicate with each other through a Layer 2 switch. When the link between RouterA and RouterB is faulty, the two routers need to rapidly respond to the fault and reestablish a neighbor relationship.

Figure 7-41 Networking diagram of configuring static BFD for IS-IS

NOTE:

BFD for IS-IS cannot be used to detect the multi-hop link between RouterA and RouterC, because the IS-IS neighbor relationship cannot be established between RouterA and RouterC.

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure IP addresses for interfaces and enable IS-IS on each router to ensure reachable routes between the routers.

  2. Enable static BFD for IS-IS on RouterA and RouterB so that routers can rapidly detect link faults.

Procedure

  1. Configure IP addresses for interfaces on each router.

    # Configure RouterA.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] ip address 10.1.1.1 24
    [RouterA-GigabitEthernet1/0/0] quit

    The configurations of RouterB and RouterC are similar to the configuration of RouterA, and are not mentioned here.

  2. Configure basic IS-IS functions.

    # Configure RouterA.

    [RouterA] isis 1
    [RouterA-isis-1] is-level level-2
    [RouterA-isis-1] network-entity aa.1111.1111.1111.00
    [RouterA-isis-1] quit
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] isis enable 1
    [RouterA-GigabitEthernet1/0/0] quit

    # Configure RouterB.

    [RouterB] isis 1
    [RouterB-isis-1] is-level level-2
    [RouterB-isis-1] network-entity aa.2222.2222.2222.00
    [RouterB-isis-1] quit
    [RouterB] interface gigabitethernet 1/0/0
    [RouterB-GigabitEthernet1/0/0] isis enable 1
    [RouterB-GigabitEthernet1/0/0] quit
    [RouterB] interface gigabitethernet 2/0/0
    [RouterB-GigabitEthernet2/0/0] isis enable 1
    [RouterB-GigabitEthernet2/0/0] quit

    # Configure RouterC.

    [RouterC] isis 1
    [RouterC-isis-1] is-level level-2
    [RouterC-isis-1] network-entity aa.3333.3333.3333.00
    [RouterC-isis-1] quit
    [RouterC] interface gigabitethernet 1/0/0
    [RouterC-GigabitEthernet1/0/0] isis enable 1
    [RouterC-GigabitEthernet1/0/0] quit

    # After the preceding configurations, you can see that the neighbor relationship is established between RouterA and RouterB.

    [RouterA] display isis peer
                              Peer information for ISIS(1)
                              ----------------------------
      System Id    Interface         Circuit Id               State   HoldTime Type     PRI
    2222.2222.2222 GE1/0/0                  2222.2222.2222.00         Up     23s      L2       64

    The IS-IS routing table of RouterA contains the routes to RouterB and RouterC.

    [RouterA] display isis route
                             Route information for ISIS(1)
                             -----------------------------
                            ISIS(1) Level-2 Forwarding Table
                            --------------------------------
     IPV4 Destination    IntCost   ExtCost ExitInterface   NextHop        Flags
    -------------------------------------------------------------------------
     10.1.1.0/24        10        NULL    GE1/0/0         Direct       D/-/L/-
     10.2.1.0/24        20        NULL    GE1/0/0         10.1.1.2    A/-/L/-
          Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
                                    U-Up/Down Bit Set

  3. Configure BFD.

    # Enable BFD on RouterA and configure a BFD session.

    [RouterA] bfd
    [RouterA-bfd] quit
    [RouterA] bfd atob bind peer-ip 10.1.1.2 interface gigabitethernet 1/0/0
    [RouterA-bfd-session-atob] discriminator local 1
    [RouterA-bfd-session-atob] discriminator remote 2
    [RouterA-bfd-session-atob] commit
    [RouterA-bfd-session-atob] quit

    # Enable BFD on RouterB and configure a BFD session.

    [RouterB] bfd
    [RouterB-bfd] quit
    [RouterB] bfd btoa bind peer-ip 10.1.1.1 interface gigabitethernet 1/0/0
    [RouterB-bfd-session-btoa] discriminator local 2
    [RouterB-bfd-session-btoa] discriminator remote 1
    [RouterB-bfd-session-btoa] commit
    [RouterB-bfd-session-btoa] quit

    After the preceding configurations, run the display bfd session command on RouterA or RouterB, and you can see that the status of the BFD session is Up.

    The following uses the display on RouterA as an example.

    [RouterA] display bfd session all
    --------------------------------------------------------------------------------
     Local Remote PeerIpAddr      State     Type        InterfaceName
     -------------------------------------------------------------------------------- 
    1     2      10.1.1.2       Up        S_IP_IF     GE1/0/0
    -------------------------------------------------------------------------------- 
         Total UP/DOWN Session Number : 1/0

  4. Enable IS-IS fast detect.

    # Configure RouterA.

    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] isis bfd static
    [RouterA-GigabitEthernet1/0/0] quit

    # Configure RouterB.

    [RouterB] interface gigabitethernet 1/0/0
    [RouterB-GigabitEthernet1/0/0] isis bfd static
    [RouterB-GigabitEthernet1/0/0] quit

  5. Verify the configuration.

    # Enable log information display on RouterA.

    <RouterA> terminal logging
    <RouterA> terminal monitor

    # Run the shutdown command on GigabitEthernet1/0/0 on RouterB to simulate a link fault.

    [RouterB-GigabitEthernet1/0/0] shutdown

    # On RouterA, you can view the following log and debugging information, which indicates that IS-IS deletes the neighbor relationship with RouterB after being notified by BFD of the fault.

    ISIS/4/PEER_DOWN_BFDDOWN/1880166931 UL/R "ISIS 1 neighbor
    2222.2222.2222 was Down on interface GE1/0/0
    because the BFD node was down. The Hello packet was received at 11:32:10 last
    time; the maximum interval for sending Hello packets was 9247;the local router sent 426 Hello 
     packets and received 61 packets;the type of the Hello packet was Lan Level-2."

    Run the display isis route command or the display isis peer command on RouterA, and you can see that no information is displayed. This indicates that the IS-IS neighbor relationship between RouterA and RouterB is deleted.

Configuration Files

  • Configuration file of RouterA

    #
     sysname RouterA
    #
    bfd
    #
    isis 1
     is-level level-2
     network-entity aa.1111.1111.1111.00
    #
    interface GigabitEthernet1/0/0
     ip address 10.1.1.1 255.255.255.0
     isis enable 1
     isis bfd static
    #
    bfd atob bind peer-ip 10.1.1.2 interface GigabitEthernet1/0/0
     discriminator local 1
     discriminator remote 2
     commit
    #
    return
  • Configuration file of RouterB

    #
     sysname RouterB
    #
    bfd
    #
    isis 1
     is-level level-2
     network-entity aa.2222.2222.2222.00
    #
    interface GigabitEthernet1/0/0
     ip address 10.1.1.2 255.255.255.0
     isis enable 1
     isis bfd static
    #
    interface GigabitEthernet2/0/0
     ip address 10.2.1.1 255.255.255.0
     isis enable 1
    #
    bfd btoa bind peer-ip 10.1.1.1 interface GigabitEthernet1/0/0
     discriminator local 2
     discriminator remote 1
     commit
    #
    return
  • Configuration file of RouterC

    #
     sysname RouterC
    #
    isis 1
     is-level level-2
     network-entity aa.3333.3333.3333.00
    #
    interface GigabitEthernet1/0/0
     ip address 10.2.1.2 255.255.255.0
     isis enable 1
    #
    return
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034072

Views: 111078

Downloads: 163

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