Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-2
suppress-policy route-policy-name
: Suppress the specific route selected.
origin-policy
route-policy-name
: Select the originate routes used for aggregation.
attribute-policy
route-policy-name:
Set the attributes of the aggregated route. The
length of
route-policy-name
parameter ranges from 1 to 16 character string.
Description
Using
aggregate
command, you can establish an aggregated record in the BGP
routing table. Using
undo aggregate
command, you can disable the function.
By default, there is no route aggregation.
The keywords is explained as follows:
Table 5-1
The use of the keywords
keywords
use
as-set
Used to produce an aggregated route whose AS path
information includes detailed routes. Use this keyword carefully
when many AS paths need to be aggregated, for the frequent
change of routes may lead to route vibration.
detail-suppress
ed
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 carefully.
suppress-polic
y
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
sub-statement of the
route-policy
command.
origin-policy
select only the specific routes that are in accordance with
route-policy to create an aggregated route.
attribute-policy
set aggregated route attributes. The same work can be done by
using
peer route-policy
, etc.
Example
# Create an aggregated record in BGP routing table.
[Quidway-bgp] aggregate 168.328.0.0 255.255.0.0
5.1.2 bgp
Syntax
bgp as-number
undo bgp
[
as-number
]