Switch 7700 Command reference Guide, v2.0

Table Of Contents
BGP Configuration Commands 189
attribute-policy route_policy_name: Set the attributes of the aggregated
route.
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:
Example
Create an aggregated record in BGP routing table.
[SW7700-bgp]aggregate 168.328.0.0 255.255.0.0
bgp Syntax
bgp as_number
undo bgp [as_number ]
View
System view
Parameter
as_number: The specified local AS number.
Description
Use the bgp command to enable BGP and enter the BGP view.
Use the undo bgp command to disable BGP.
By default, the system does not run BGP.
Table 8 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-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 carefully.
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 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