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

NE40E V800R010C10SPC500 Configuration Guide - IP Routing 01

This is NE40E 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).
Configuring IPv6 IS-IS to Interact with Other Routing Protocols

Configuring IPv6 IS-IS to Interact with Other Routing Protocols

If other routing protocols are configured on an IS-IS network, configure IS-IS to interact with these protocols for communication between them.

Usage Scenario

If other routing protocols are configured on an IS-IS network, note the following issues:
  • Priorities of IS-IS routes

    If multiple routes to the same destination are discovered by different routing protocols running on the same device, the route discovered by the protocol with the highest priority is selected. For example, if both OSPF and IS-IS are configured, the route discovered by OSPF is used because OSPF enjoys a higher priority than IS-IS by default.

    If you want the route discovered by IS-IS to be preferentially selected, configure a higher priority for the route.

  • Communication between areas

    If other routing protocols are configured on an IS-IS network, configure IS-IS to interact with those routing protocols so that IS-IS areas can communicate with non-IS-IS areas.
    NOTE:

    The LSDBs of different IS-IS processes on a device are independent of each other. Therefore, each IS-IS process on the device considers routes of the other IS-IS processes as external routes.

    To ensure successful traffic forwarding, configure IS-IS to import external routes on a device (such as a Level-1-2 IS-IS router) where external routes are configured. Such configuration enables all devices in IS-IS areas to learn external routes, implementing refined control over traffic forwarding.

    To ensure successful forwarding of traffic destined for IS-IS areas, enable the other routing protocols to interact with IS-IS.

Pre-configuration Tasks

Before configuring IPv6 IS-IS to interact with other routing protocols, complete the following tasks:

  • Configure the link layer protocol on interfaces.

  • Configure IP addresses for interfaces to ensure that neighboring nodes are reachable at the network layer.

  • Configure basic IPv6 IS-IS functions.

  • Configure basic functions of other routing protocols.

Configuration Procedures

Perform one or more of the following configurations as required.

Configuring a Priority Value for IPv6 IS-IS

If multiple routes to the same destination are discovered by different routing protocols, configure the highest priority value for IS-IS so that a route discovered by IS-IS can be selected preferentially.

Context

If multiple routes to the same destination are discovered by different routing protocols running on the same device, the route discovered by the protocol with the highest priority is selected.

For example, if both OSPFv3 and IS-IS are configured on a network, the route discovered by OSPFv3 is used because OSPFv3 has a higher priority than IS-IS by default.

To prefer a route discovered by IS-IS, configure a higher priority value for IS-IS. In addition, you can configure a routing policy to increase the priority of specified IS-IS routes, without affecting route selection.

Procedure

  • Configure the IS-IS priority value.
    1. Run system-view

      The system view is displayed.

    2. Run isis [ process-id ]

      The IS-IS view is displayed.

    3. Run ipv6 preference preference

      The IS-IS priority value is configured.

      NOTE:

      A smaller preference value indicates a higher preference.

    4. Run commit

      The configuration is committed.

  • Configure a priority value for specified IS-IS routes.
    1. Run system-view

      The system view is displayed.

    2. Run isis [ process-id ]

      The IS-IS view is displayed.

    3. Run ipv6 preference route-policy route-policy-name preference

      The priority value is configured for the specified IS-IS routes.

      NOTE:

      preference takes effect only on IS-IS routes that match the specified routing policy.

    4. Run commit

      The configuration is committed.

Configuring IPv6 IS-IS to Import External Routes

If devices in an IS-IS routing domain need to learn external routes, configure IS-IS on a Level-1-2 device of this routing domain to import external routes.

Context

If a Level-1-2 device is configured to advertise a default route, all traffic destined beyond the routing domain is forwarded by this Level-1-2 device because the other devices in the IS-IS routing domain do not have external routes. As a result, this Level-1-2 device will be overloaded.

If multiple Level-1-2 devices are deployed, optimal routes to other routing domains need to be selected. To ensure optimal routes are selected, all the other devices in the IS-IS routing domain must learn all or some external routes.

Routing policies can be configured to import or advertise external routes that meet specified conditions to the IS-IS routing domain.

Procedure

  • Configure IS-IS to import external routes.
    1. Run system-view

      The system view is displayed.

    2. Run isis [ process-id ]

      The IS-IS view is displayed.

    3. Configuring IS-IS to Import External IPv6 Routes

      • To import external routes and set a cost for them, run the ipv6 import-route { direct | static | | unr { ripng | isis | ospfv3 } [ process-id ] } | bgp [ permit-ibgp ] } [ cost cost | tag tag | route-policy route-policy-name | route-filter route-filter-name | [ level-1 | level-2 | level-1-2 ] ] * command.

      • To import external routes and keep the original costs, run the ipv6 import-route { { ospfv3 | ripng | isis } [ process-id ] | bgp [ permit-ibgp ] | direct | unr } inherit-cost [ tag tag | route-policy route-policy-name | route-filter route-filter-name | [ level-1 | level-2 | level-1-2 ] ] * command. When configuring IS-IS to retain the original cost value of the imported route, the source routes cannot be static.

      NOTE:

      IS-IS advertises all imported external routes to an IS-IS routing domain by default.

      If only some imported external routes need to be advertised, run the ipv6 filter-policy export command to set a filtering policy.

    4. Run commit

      The configuration is committed.

  • (Optional) Configure IS-IS to advertise some external routes to an IS-IS routing domain.
    1. Run system-view

      The system view is displayed.

    2. Run isis [ process-id ]

      The IS-IS view is displayed.

    3. Configure IS-IS to advertise specified external routes to the IS-IS routing domain.

      Run any of the following commands as required:

      • Configure a basic ACL:
        1. Run ipv6 filter-policy { acl6-number | acl6-name acl6-name } export [ protocol [ process-id ] ]

        2. Run quit

          Return to the system view.

        3. Run acl ipv6 { name basic-acl6-name { basic | [ basic ] number basic-acl6-number } | [ number ] basic-acl6-number } [ match-order { config | auto } ]

          The basic ACL view is displayed.

        4. Run rule [ rule-id ] [ name rule-name ] { deny | permit } [ fragment | source { source-ipv6-address { prefix-length | source-wildcard } | source-ipv6-address/prefix-length | any } | time-range time-name | [ vpn-instance vpn-instance-name | vpn-instance-any ] ] *

          A rule is configured for the basic ACL.

          When the rule command is run to configure rules for a named ACL, only the source address range specified by source and the time period specified by time-range are valid as the rules.

          When a filtering policy of a routing protocol is used to filter routes:
          • If the action specified in an ACL rule is permit, a route that matches the rule will be received or advertised by the system.

          • If the action specified in an ACL rule is deny, a route that matches the rule will not be received or advertised by the system.

          • If a route has not matched any ACL rules, the route will not be received or advertised by the system.

          • If an ACL does not contain any rules, all routes matching the route-policy that references the ACL will not be received or advertised by the system.

          • If the ACL referenced by the route-policy does not exist, all routes matching the route-policy will be received or advertised by the system.

          • In the configuration order, the system first matches a route with a rule that has a smaller number and then matches the route with a rule with a larger number. Routes can be filtered using a blacklist or a whitelist:

            Route filtering using a blacklist: Configure a rule with a smaller number and specify the action deny in this rule to filter out the unwanted routes. Then, configure another rule with a larger number in the same ACL and specify the action permit in this rule to receive or advertise the other routes.

            Route filtering using a whitelist: Configure a rule with a smaller number and specify the action permit in this rule to permit the routes to be received or advertised by the system. Then, configure another rule with a larger number in the same ACL and specify the action deny in this rule to filter out unwanted routes.

      • Based on the IP prefix:

        Run ipv6 filter-policy ipv6-prefix ipv6-prefix-name export [ protocol [ process-id ] ]

      • Based on the Route-Policy:

        Run ipv6 filter-policy route-policy route-policy-name export [ protocol [ process-id ] ]

      NOTE:

      After this command is run, only external routes that meet the specified conditions can be advertised to the IS-IS routing domain.

    4. Run commit

      The configuration is committed.

Verifying the Configuration of Interaction Between IPv6 IS-IS and Other Routing Protocols

After enabling IS-IS to import routes from other protocols, check the configurations.

Procedure

  • Run the display isis lsdb [ { level-1 | level-2 } | verbose | { local | lsp-id | is-name symbolic-name } ] * [ process-id | vpn-instance vpn-instance-name ] command to check IS-IS LSDB information.
  • Run the display isis route [ process-id | vpn-instance vpn-instance-name ] [ ipv6 ] [ topology topology-name ] [ verbose | [ level-1 | level-2 ] | ipv6-address [ prefix-length ] ] * [ | count ] command to check IS-IS routing information.
  • Run the display ipv6 routing-table ipv6-prefix ipv6-prefix-name [ verbose ] command to check the IP routing table.

Example

Run the display isis lsdb verbose command on the device that generates a default route. The command output shows that IS-IS has advertised a default route.

<HUAWEI> display isis lsdb verbose

Run the display isis route command on the device that receives the default route. The command output shows that the default route ::/0 with next hop address FE80::7D7E:0:22D7:1 has been added to the Level-2 IS-IS routing table.

<HUAWEI> display isis route
                         Route information for ISIS(1)
                         -----------------------------

                        ISIS(1) Level-2 Forwarding Table
                        --------------------------------

 IPV6 Dest.      ExitInterface   NextHop                       Cost       Flags
-------------------------------------------------------------------------------
 ::/0           GE1/0/0        FE80::7D7E:0:22D7:1           10         A/-/-
 13:1::/64       GE1/0/1         Direct                        10         D/L/-
 34:1::/64       GE1/0/0         Direct                        10         D/L/-
 20:1::/64       GE1/0/0         FE80::7D7E:0:22D7:1           20         A/-/-
 10:1::/64       GE1/0/1         FE80::2E0:BAFF:FE1E:8200      20         A/-/-
 44:4::/64       GE1/0/0         FE80::7D7E:0:22D7:1           10         A/-/-

     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
                               U-Up/Down Bit Set

Run the display isis route command to view the IS-IS routing table. The command output shows that the OSPFv3 route 44:4::/64 has been added to the Level-2 IS-IS routing table.

<HUAWEI> display isis route

                         Route information for ISIS(1)
                         -----------------------------

                        ISIS(1) Level-2 Forwarding Table
                        --------------------------------

 IPV6 Dest.      ExitInterface   NextHop                       Cost       Flags
-------------------------------------------------------------------------------
 13:1::/64       GE1/0/0         FE80::907D:0:103A:1           20         A/-/-
 34:1::/64       GE1/0/0         Direct                        10         D/L/-
 20:1::/64       GE1/0/1         Direct                        10         D/L/-
 10:1::/64       GE1/0/1         FE80::DC23:0:FC15:3           20         A/-/-

     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
                               U-Up/Down Bit Set


                       ISIS(1) Level-2 Redistribute Table
                       ----------------------------------

 Type IPV6 Destination                              IntCost    Tag
-------------------------------------------------------------------------------
 O    44:4::/64                                    20

             Type: D-Direct, I-ISIS, S-Static, O-OSPF, B-BGP, R-RIP

Run the display ipv6 routing-table command to view the IP routing table. The command output shows that the value of Preference of IPv6 IS-IS has been changed from its default value 15 to 20.

<HUAWEI> display ipv6 routing-table
Routing Table : Public
         Destinations : 10       Routes : 10

 Destination  : ::                              PrefixLength : 0
 NextHop      : FE80::7D7E:0:22D7:1             Preference   : 20
 Cost         : 10                              Protocol     : ISIS-L2
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet1/0/0                        Flags        : D

 Destination  : ::1                             PrefixLength : 128
 NextHop      : ::1                             Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : InLoopBack0                     Flags        : D

 Destination  : 10:1::                          PrefixLength : 64
 NextHop      : FE80::2E0:BAFF:FE1E:8200        Preference   : 20
 Cost         : 20                              Protocol     : ISIS-L2
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet1/0/1            Flags        : D

 Destination  : 13:1::                          PrefixLength : 64
 NextHop      : 13:1::2                         Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet1/0/1            Flags        : D

 Destination  : 13:1::2                         PrefixLength : 128
 NextHop      : ::1                             Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : InLoopBack0                     Flags        : D

 Destination  : 20:1::                          PrefixLength : 64
 NextHop      : FE80::7D7E:0:22D7:1             Preference   : 20
 Cost         : 20                              Protocol     : ISIS-L2
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet1/0/0                        Flags        : D

 Destination  : 34:1::                          PrefixLength : 64
 NextHop      : 34:1::1                         Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet1/0/0                        Flags        : D

 Destination  : 34:1::1                         PrefixLength : 128
 NextHop      : ::1                             Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : InLoopBack0                     Flags        : D

 Destination  : 44:4::                          PrefixLength : 64
 NextHop      : FE80::7D7E:0:22D7:1             Preference   : 20
 Cost         : 10                              Protocol     : ISIS-L2
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : GigabitEthernet1/0/0                        Flags        : D

 Destination  : FE80::                          PrefixLength : 10
 NextHop      : ::                              Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : NULL0                           Flags        : D

Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055018

Views: 49840

Downloads: 201

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