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

Configuration Guide - IP Unicast Routing

S7700 and S9700 V200R011C10

This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, and provides 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).
Configuring BGP Route Summarization

Configuring BGP Route Summarization

Pre-configuration Tasks

Before configuring BGP route summarization, configure basic BGP functions.

Procedure

  • Configure automatic route summarization.
    1. Run system-view

      The system view is displayed.

    2. Run bgp { as-number-plain | as-number-dot }

      The BGP view is displayed.

    3. Run ipv4-family { unicast | multicast }

      The IPv4 address family view is displayed.

    4. Run summary automatic

      BGP summarizes subnet routes based on natural mask.

      NOTE:

      The command summarizes the routes imported by BGP. These routes can be direct routes, static routes, RIP routes, OSPF routes, or IS-IS routes. The command, however, is invalid for the routes imported using the network command.

  • Configure manual route summarization.
    1. Run system-view

      The system view is displayed.

    2. Run bgp { as-number-plain | as-number-dot }

      The BGP view is displayed.

    3. Enter the corresponding address family view based on network type to configure BGP devices on networks.

      • Run ipv4-family { unicast | multicast }

        The IPv4 address family view is displayed.

      • Run ipv6-family [ unicast ]

        The IPv6 address family view is displayed.

    4. Perform any of the following operations to configure manual route summarization.

      • To advertise the summarized routes and specific routes, run the aggregate ipv4-address { mask | mask-length } or the aggregate ipv6-address prefix-length command.

      • To advertise only the summarized routes, run the aggregate ipv4-address { mask | mask-length } detail-suppressed or the aggregate ipv6-address prefix-length detail-suppressed command.

      • To advertise the summarized routes and specific routes that meet the specified route-policy, run the aggregate ipv4-address { mask | mask-length } suppress-policy route-policy-name or the aggregate ipv6-address prefix-length suppress-policy route-policy-name command.

      • To advertise the summarized routes of which the AS_Set attribute helps detect routing loops, run the aggregate ipv4-address { mask | mask-length } as-set or the aggregate ipv6-address prefix-length as-set command.

      • To set attributes for the summarized routes, run the aggregate ipv4-address { mask | mask-length } attribute-policy route-policy-name or the aggregate ipv6-address prefix-length attribute-policy route-policy-name command.

      • To summarize the specific routes that meet the specified route-policy, run the aggregate ipv4-address { mask | mask-length } origin-policy route-policy-name or the aggregate ipv6-address prefix-length origin-policy route-policy-name command.

      NOTE:

      Manual route summarization is valid for the routes in the local BGP routing table. For example, if the local BGP routing table does not contain routes with mask longer than 16 bits, such as 10.1.1.1/24, BGP will not generate an aggregated route for it even if the aggregate 10.1.1.1 16 command is used.

Verifying the Configuration

  • Run the display bgp routing-table [ ipv4-address [ { mask | mask-length } [ longer-prefixes ] ] ] command to check information about summarized routes.

  • Run the display bgp multicast routing-table [ ip-address [ mask-length [ longer-prefixes ] | mask [ longer-prefixes ] ] ] command to check the MBGP routing table.
Translation
Download
Updated: 2019-04-01

Document ID: EDOC1000178324

Views: 223534

Downloads: 194

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