R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

210
Keywords Function
detail-suppressed
This keyword does not suppress the summary route, but it suppresses the advertisement
of all the more specific routes. To summarize only some specific routes, use the peer
filter-policy command.
suppress-policy
Used to create a summary route and suppress the advertisement of some summarized
routes. If you want to suppress some routes selectively and leave other routes still
advertised, use the if-match clause of the route-policy command.
origin-policy Selects only routes meeting the routing policy for route summarization.
attribute-policy
Sets attributes except the AS-PATH attribute for the summary route. The same work can
be done by using the peer route-policy command.
Usage guidelines
The output interface of a BGP summary route is Null 0. With route summarization, BGP advertises fewer
routes to its peers. A summary route must not be optimal. Otherwise, BGP will fail to forward the packets
matching the route. If a summarized specific route has the same mask as the summary route but has a
lower priority, the summary route becomes the optimal route. In this case, you must change the priority
of the summary or the specific route to make the specific route the optimal route.
Examples
# In BGP view, create a summary route of 192.213.0.0/16 in the BGP routing table.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] aggregate 192.213.0.0 255.255.0.0
# In BGP-VPN instance view, create a summary route of 192.213.0.0/ 16 i n BG P rout in g t abl e. ( T h e V PN
has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] aggregate 192.213.0.0 255.255.0.0
auto-refresh enable
Use auto-refresh enable to enable BGP routing policies to automatically take effect.
Use undo auto-refresh enable to disable BGP routing policies from automatically taking effect.
Syntax
auto-refresh enable
undo auto-refresh enable
Default
BGP routing policies are enabled to automatically take effect. When a BGP routing policy is changed,
BGP automatically uses the new policy to filter the incoming/outgoing routes.
Views
BGP view
Default command level
2: System level