beautypg.com

Controlling route distribution and reception, Configuration prerequisites, Configuring bgp route summarization – H3C Technologies H3C SR8800 User Manual

Page 229: Configuring automatic route summarization, Configuring manual route summarization

background image

213

Step Command

Remarks

3.

Enable route redistribution
from a routing protocol into

BGP.

import-route protocol [ { process-id
| all-processes } [ allow-direct |

med med-value | route-policy
route-policy-name
] * ]

Not redistributed by default.
The allow-direct keyword is
available only when the specified

routing protocol is OSPF.

4.

Enable default route
redistribution into BGP.

default-route imported

Optional.
Not enabled by default.

Controlling route distribution and reception

Configuration prerequisites

BGP connections have been created.

Configuring BGP route summarization

To reduce the routing table size on medium and large BGP networks, configure route summarization on

BGP routers. BGP supports two summarization modes: automatic and manual. Manual summary routes

have a higher priority than automatic ones.

Configuring automatic route summarization

After automatic route summarization is configured, BGP summarizes redistributed IGP subnets to
advertise only natural networks. Routes injected with the network command cannot be summarized.
To configure automatic route summarization:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Configure automatic route
summarization.

summary automatic

Not configured by
default

Configuring manual route summarization

By configuring manual route summarization, you can summarize both redistributed routes and routes
injected using the network command and determine the mask length for a summary route as needed.
To configure BGP manual route summarization:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A