H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-2
origin-policy route-policy-name: Selects the original routes used for aggregation.
attribute-policy route-policy-name: Sets the attributes of the aggregated route.
Description
Use the aggregate command to establish an aggregated record in the BGP routing
table.
Use the undo aggregate command to disable the function.
By default, there is no route aggregation.
The keywords are explained as follows:
Table 5-1 Description on the keywords of the aggregate command
Keywords Description
as-set
Used to produce an aggregated route whose AS path
information includes detailed routes. Use this keyword with
caution when many AS paths need to be aggregated because
frequent changes of routes may lead to route flaps.
detail-suppressed
This keyword does not establish any aggregated route, but it
restrains the advertisement of all the specific routes. If only
some specific routes are to be restrained, use the peer
filter-policy command.
suppress-policy
Create an aggregated route with this keyword; at the same
time, the advertisement of the specified route is restrained. If
you want to restrain some specific routes selectively and
leaves other routes still being advertised, use the if-match
clause of the route-policy command.
origin-policy
This keyword is used to select only the specific routes in
accordance with the route-policy to create an aggregated
route.
attribute-policy
This keyword is used to set attributes of the aggregated route.
The same work can be done by using peer route-policy, and
so on.
Examples
# Create an aggregated route in BGP routing table.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] aggregate 192.213.0.0 255.255.0.0