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 Dynamic BFD for IPv6 IS-IS

Example for Configuring Dynamic BFD for IPv6 IS-IS

This section provides an example for configuring dynamic BFD to fast detect failures and trigger fast switchover of service traffic on IS-IS IPv6 networks.

Networking Requirements

Figure 9-20 shows an IS-IS IPv6 network. The primary link between Device S and Device D is Device S -> Switch -> Device D; the backup link between Device S and Device D is Device S -> Device N -> Device D.

Figure 9-20 Configuring dynamic BFD for IPv6 IS-IS

Device Name

Interface

IP Address

Device S

GE1/0/0

2001:db8:1::1/64

GE2/0/0

2001:db8:2::1/64

Device N

GE1/0/0

2001:db8:2::2/64

GE2/0/0

2001:db8:3::1/64

Device D

GE1/0/0

2001:db8:1::2/64

GE2/0/0

2001:db8:3::2/64

GE3/0/0

2001:db8:4::1/64

It is required to configure BFD for IPv6 IS-IS so that traffic between Device S and Device D can be rapidly switched to the backup path if the primary link or Switch fails.

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure basic IS-IS IPv6 functions on each ME device to ensure that IPv6 routes are reachable.

  2. Adjust the IS-IS cost on each ME device interface so that the link of Device S -> Switch -> Device D functions as the primary link and the link of Device S -> Device N -> Device D functions as the backup link.

  3. Enable BFD globally on each ME device.

  4. Enable BFD for IPv6 IS-IS in the IS-IS view of each ME device.

Data Preparation

To complete the configuration, you need the following data:

  • IS-IS process ID
  • IS-IS NET
  • Level of each ME device
  • IS-IS cost of each interface
  • Numbers of interfaces to be enabled with BFD for IPv6 IS-IS
  • Minimum interval at which BFD packets are received and sent, and BFD local detection time multiplier

Procedure

  1. Enable IPv6 and configure IPv6 addresses for all interfaces.

    # Use the configuration of Device S as an example. The configuration of any other ME device is similar to that of Device S.

    <HUAWEI> system-view
    [~HUAWEI] sysname DeviceS
    [*HUAWEI] commit
    [~DeviceS] interface gigabitethernet 1/0/0
    [~DeviceS-GigabitEthernet1/0/0] ipv6 enable
    [*DeviceS-GigabitEthernet1/0/0] ipv6 address 2001:db8:1::1/64
    [*DeviceS-GigabitEthernet1/0/0] commit
    [~DeviceS-GigabitEthernet1/0/0] quit

  2. Configure basic IS-IS IPv6 functions.

    # Configure Device S.

    [~DeviceS] isis 10
    [*DeviceS-isis-10] is-level level-2
    [*DeviceS-isis-10] network-entity 10.0000.0000.0001.00
    [*DeviceS-isis-10] ipv6 enable
    [*DeviceS-isis-10] quit
    [*DeviceS] interface gigabitethernet 1/0/0
    [*DeviceS-GigabitEthernet1/0/0] isis ipv6 enable 10
    [*DeviceS-GigabitEthernet1/0/0] quit
    [*DeviceS] interface gigabitethernet 2/0/0
    [*DeviceS-GigabitEthernet2/0/0] isis ipv6 enable 10
    [*DeviceS-GigabitEthernet2/0/0] commit
    [~DeviceS-GigabitEthernet2/0/0] quit
    

    # Configure Device N.

    [~DeviceN] isis 10
    [*DeviceN-isis-10] is-level level-2
    [*DeviceN-isis-10] network-entity 10.0000.0000.0002.00
    [*DeviceN-isis-10] ipv6 enable
    [*DeviceN-isis-10] quit
    [*DeviceN] interface gigabitethernet 1/0/0
    [*DeviceN-GigabitEthernet1/0/0] isis ipv6 enable 10
    [*DeviceN-GigabitEthernet1/0/0] quit
    [*DeviceN] interface gigabitethernet 2/0/0
    [*DeviceN-GigabitEthernet2/0/0] isis ipv6 enable 10
    [*DeviceN-GigabitEthernet2/0/0] commit
    [~DeviceN-GigabitEthernet2/0/0] quit
    

    # Configure Device D.

    [~DeviceD] isis 10
    [*DeviceD-isis-10] is-level level-2
    [*DeviceD-isis-10] network-entity 10.0000.0000.0003.00
    [*DeviceD-isis-10] ipv6 enable
    [*DeviceD-isis-10] quit
    [*DeviceD] interface gigabitethernet 1/0/0
    [*DeviceD-GigabitEthernet1/0/0] isis ipv6 enable 10
    [*DeviceD-GigabitEthernet1/0/0] quit
    [*DeviceD] interface gigabitethernet 2/0/0
    [*DeviceD-GigabitEthernet2/0/0] isis ipv6 enable 10
    [*DeviceD-GigabitEthernet2/0/0] quit
    [*DeviceD] interface gigabitethernet 3/0/0
    [*DeviceD-GigabitEthernet3/0/0] isis ipv6 enable 10
    [*DeviceD-GigabitEthernet3/0/0] commit
    [~DeviceD-GigabitEthernet3/0/0] quit

    # Run the display ipv6 routing-table command. The command output shows that ME devices have learned IPv6 routes from each other.

  3. Configure the IS-IS cost for each interface.

    # Configure Device S.

    [~DeviceS] interface gigabitethernet 1/0/0
    [~DeviceS-GigabitEthernet1/0/0] isis ipv6 cost 1 level-2
    [*DeviceS-GigabitEthernet1/0/0] quit
    [*DeviceS] interface gigabitethernet 2/0/0
    [*DeviceS-GigabitEthernet2/0/0] isis ipv6 cost 10 level-2
    [*DeviceS-GigabitEthernet2/0/0] commit
    [~DeviceS-GigabitEthernet2/0/0] quit
    

    # Configure Device N.

    [~DeviceN] interface gigabitethernet 1/0/0
    [~DeviceN-GigabitEthernet1/0/0] isis ipv6 cost 10 level-2
    [*DeviceN-GigabitEthernet1/0/0] quit
    [*DeviceN] interface gigabitethernet 2/0/0
    [*DeviceN-GigabitEthernet2/0/0] isis ipv6 cost 10 level-2
    [*DeviceN-GigabitEthernet2/0/0] commit
    [~DeviceN-GigabitEthernet2/0/0] quit
    

    # Configure Device D.

    [~DeviceD] interface gigabitethernet 1/0/0
    [~DeviceD-GigabitEthernet1/0/0] isis ipv6 cost 1 level-2
    [*DeviceD-GigabitEthernet1/0/0] quit
    [*DeviceD] interface gigabitethernet 2/0/0
    [*DeviceD-GigabitEthernet2/0/0] isis ipv6 cost 10 level-2
    [*DeviceD-GigabitEthernet2/0/0] commit
    [~DeviceD-GigabitEthernet2/0/0] quit

  4. Configure BFD for IPv6 IS-IS.

    # Enable BFD for IPv6 IS-IS globally on Device S, Device N, and Device D, set the minimum interval at which BFD packets are received and sent to 150 ms, and set the default local detection time multiplier to 3.

    # Configure Device S.

    [~DeviceS] bfd
    [*DeviceS-bfd] quit
    [*DeviceS] isis 10
    [*DeviceS-isis-10] ipv6 bfd all-interfaces enable
    [*DeviceS-isis-10] ipv6 bfd all-interfaces min-tx-interval 150 min-rx-interval 150
    [*DeviceS-isis-10] commit
    [~DeviceS-isis-10] quit
    

    # Configure Device N.

    [~DeviceN] bfd
    [*DeviceN-bfd] quit
    [*DeviceN] isis 10
    [*DeviceN-isis-10] ipv6 bfd all-interfaces enable
    [*DeviceN-isis-10] ipv6 bfd all-interfaces min-tx-interval 150 min-rx-interval 150
    [*DeviceN-isis-10] commit
    [~DeviceN-isis-10] quit
    

    # Configure Device D.

    [~DeviceD] bfd
    [*DeviceD-bfd] quit
    [*DeviceD] isis 10
    [*DeviceD-isis-10] ipv6 bfd all-interfaces enable
    [*DeviceD-isis-10] ipv6 bfd all-interfaces min-tx-interval 150 min-rx-interval 150
    [*DeviceD-isis-10] commit
    [~DeviceD-isis-10] quit

    # Run the display isis ipv6 bfd session all command on Device S or Device D. The command outputs show that the BFD parameters have taken effect. Use the command output on Device S as an example.

    [~DeviceS] display isis ipv6 bfd 10 session all
    
                        IPv6 BFD session information for ISIS(10)
                        ----------------------------------------
    
    
    
    Peer System ID : 0000.0000.0003        Type : L2
    Interface : GE1/0/0           
    IPv6 BFD State : up      TX : 150            RX : 150            Multiplier : 3     
    LocDis : 16386      Local IPv6 Address: FE80::E0:2F47:B103:1
    RemDis : 16386      Peer IPv6 Address : FE80::E0:2F47:B107:1
    Diag : No diagnostic information
    
    Peer System ID : 0000.0000.0002        Type : L2
    Interface : GE2/0/0           
    IPv6 BFD State : up      TX : 150            RX : 150            Multiplier : 3     
    LocDis : 16386      Local IPv6 Address: FE80::C964:0:B203:1
    RemDis : 16386      Peer IPv6 Address : FE80::C964:0:B8B6:1
    Diag : No diagnostic information
    
     Total BFD session(s): 2

  5. Verify the configuration

    # Run the display ipv6 routing-table 2001:db8:4::1 64 command on Device S to view the IPv6 routing table. The next hop address is FE80::E0:2F47:B107:1; the outbound interface is GE 1/0/0.

    [~DeviceS] display ipv6 routing-table 2001:db8:4::1 64
    Routing Table : public
    Summary Count : 1
    
    Destination  : 2001:db8:4::                            PrefixLength : 64
    NextHop      : FE80::E0:2F47:B107:1                    Preference   : 15
    Cost         : 11                                      Protocol     : ISIS
    RelayNextHop : ::                                      TunnelID     : 0x0
    Interface    : GigabitEthernet1/0/0                    Flags        : D   

    # Run the shutdown command on GE 1/0/0 of Device D to simulate a fault in the primary link.

    [~DeviceD] interface gigabitethernet 1/0/0
    [~DeviceD-GigabitEthernet1/0/0] shutdown
    [*DeviceD-GigabitEthernet1/0/0] commit

    # Run the display ipv6 routing-table2004::1 64 command on Device S to view the IPv6 routing table.

    [~DeviceS] display ipv6 routing-table 2001:db8:4::1 64
    Routing Table : public
    Summary Count : 1
    
    Destination  : 2001:db8:4::                            PrefixLength : 64
    NextHop      : FE80::C964:0:B8B6:1                     Preference   : 15
    Cost         : 20                                      Protocol     : ISIS
    RelayNextHop : ::                                      TunnelID     : 0x0
    Interface    : GigabitEthernet2/0/0                    Flags        : D   

    Based on the routing table, after the primary link fails, the backup link takes effect. The next hop address of the route to 2001:db8:4::/64 changes to FE80::C964:0:B8B6:1; the outbound interface changes to GE 2/0/0; the route cost also changes.

    # Run the display isis ipv6 bfd session all command on Device S. The command output shows that only one BFD session is Up between Device S and Device N.

    [~DeviceS] display isis ipv6 bfd 10 session all
    
                        IPv6 BFD session information for ISIS(10)
                        ----------------------------------------
    
    
    
    Peer System ID : 0000.0000.0002        Type : L2
    Interface : GE2/0/0           
    IPv6 BFD State : up      TX : 10            RX : 10            Multiplier : 3     
    LocDis : 16386      Local IPv6 Address: FE80::C964:0:B203:1
    RemDis : 16386      Peer IPv6 Address : FE80::C964:0:B8B6:1
    Diag : No diagnostic information
    
     Total BFD session(s): 1

Configuration Files

  • Device S configuration file

    #
    sysname DeviceS
    #
    bfd
    #
    isis 10
     is-level level-2
     network-entity 10.0000.0000.0001.00
     #
     ipv6 enable topology standard
     ipv6 bfd all-interfaces enable
     ipv6 bfd all-interfaces min-tx-interval 150 min-rx-interval 150
     #
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1::1/64
     isis ipv6 enable 10
     isis ipv6 cost 1 level-2
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2::1/64
     isis ipv6 enable 10
     isis ipv6 cost 10 level-2
     #
    return
    
  • Device N configuration file

    #
    sysname DeviceN
    #
    bfd
    #
    isis 10
     is-level level-2
     network-entity 10.0000.0000.0002.00
     #
     ipv6 enable topology standard
     ipv6 bfd all-interfaces enable
     ipv6 bfd all-interfaces min-tx-interval 150 min-rx-interval 150
     #
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2::2/64
     isis ipv6 enable 10
     isis ipv6 cost 10 level-2
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:3::1/64
     isis ipv6 enable 10
     isis ipv6 cost 10 level-2
    #
    return
    
  • Device D configuration file

    #
    sysname DeviceD
    #
    bfd
    #
    isis 10
     is-level level-2
     network-entity 10.0000.0000.0003.00
     #
     ipv6 enable topology standard
     ipv6 bfd all-interfaces enable
     ipv6 bfd all-interfaces min-tx-interval 150 min-rx-interval 150
     #
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1::2/64
     isis ipv6 enable 10
     isis ipv6 cost 1 level-2
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:3::2/64
     isis ipv6 enable 10
     isis ipv6 cost 10 level-2
     #
    interface GigabitEthernet3/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:4::1/64
     isis ipv6 enable 10
     #
    return
    
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 22441

Downloads: 15

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