© Copyright IBM Corp. 2011
Chapter 21. Border Gateway Protocol
251
Aggregating Routes
Aggregation is the process of combining several different routes in such a way that
a single route can be advertised, which minimizes the size of the routing table. You
can configure aggregate routes in BGP either by redistributing an aggregate route
into BGP or by creating an aggregate entry in the BGP routing table.
To define an aggregate route in the BGP routing table, use the following commands:
An example of creating a BGP aggregate route is shown in
and Route Aggregation Example” on page 254
.
Redistributing Routes
In addition to running multiple routing protocols simultaneously, N/OS software can
redistribute information from one routing protocol to another. For example, you can
instruct the switch to use BGP to re-advertise static routes. This applies to all of the
IP-based routing protocols.
You can also conditionally control the redistribution of routes between routing
domains by defining a method known as route maps between the two domains. For
more information on route maps, see
“What is a Route Map?” on page 247
Redistributing routes is another way of providing policy control over whether to
export OSPF routes, fixed routes, and static routes. For an example configuration,
“Default Redistribution and Route Aggregation Example” on page 254
Default routes can be configured using the following methods:
•
Import
•
Originate—The router sends a default route to peers if it does not have any
default routes in its routing table.
•
Redistribute—Default routes are either configured through the default gateway
or learned via other protocols and redistributed to peer routers. If the default
routes are from the default gateway, enable the static routes because default
routes from the default gateway are static routes. Similarly, if the routes are
learned from another routing protocol, make sure you enable that protocol for
redistribution.
•
None
BGP Attributes
The following two BGP attributes are discussed in this section: Local preference and
metric (Multi-Exit Discriminator).
Local Preference Attribute
When there are multiple paths to the same destination, the local preference attribute
indicates the preferred path. The path with the higher preference is preferred (the
default value of the local preference attribute is 100). Unlike the weight attribute,
which is only relevant to the local router, the local preference attribute is part of the
routing update and is exchanged among routers in the same AS.
>> #
router bgp
>> (config-router-bgp)#
aggregate-address
<1-16>
<IPv4 address>
<mask>
>> (config-router-bgp)#
aggregate-address
<1-16>
enable
Содержание RackSwitch G8000
Страница 1: ...RackSwitch G8000 Application Guide...
Страница 2: ......
Страница 3: ...RackSwitch G8000 Application Guide...
Страница 16: ...16 RackSwitch G8000 Application Guide...
Страница 22: ...20 RackSwitch G8000 Application Guide...
Страница 23: ...Copyright IBM Corp 2011 21 Part 1 Getting Started...
Страница 24: ...22 RackSwitch G8000 Application Guide...
Страница 54: ...52 RackSwitch G8000 Application Guide...
Страница 55: ...Copyright IBM Corp 2011 53 Part 2 Securing the Switch...
Страница 56: ...54 RackSwitch G8000 Application Guide...
Страница 92: ...90 RackSwitch G8000 Application Guide...
Страница 94: ...92 RackSwitch G8000 Application Guide...
Страница 144: ...142 RackSwitch G8000 Application Guide...
Страница 145: ...Copyright IBM Corp 2011 143 Part 4 Advanced Switch ing Features...
Страница 146: ...144 RackSwitch G8000 Application Guide...
Страница 148: ...146 RackSwitch G8000 Application Guide...
Страница 182: ...180 RackSwitch G8000 Application Guide...
Страница 184: ...182 RackSwitch G8000 Application Guide...
Страница 212: ...210 RackSwitch G8000 Application Guide...
Страница 258: ...256 RackSwitch G8000 Application Guide...
Страница 286: ...284 RackSwitch G8000 Application Guide...
Страница 294: ...292 RackSwitch G8000 Application Guide...
Страница 298: ...296 RackSwitch G8000 Application Guide...
Страница 310: ...308 RackSwitch G8000 Application Guide...
Страница 311: ...Copyright IBM Corp 2011 309 Part 7 Network Management...
Страница 312: ...310 RackSwitch G8000 Application Guide...
Страница 320: ...318 RackSwitch G8000 Application Guide...
Страница 332: ...330 RackSwitch G8000 Application Guide...
Страница 334: ...332 RackSwitch G8000 Application Guide...
Страница 345: ...Copyright IBM Corp 2011 343 Part 9 Appendices...
Страница 346: ...344 RackSwitch G8000 Application Guide...
Страница 357: ...Copyright IBM Corp 2011 Appendix C Notices 355 Taiwan Class A compliance statement...
Страница 358: ...356 RackSwitch G8000 Application Guide...