![Huawei S6700 Series Configuration Manual Download Page 411](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517411.webp)
–
To filter routes based on an ACL, run the
peer
{
ipv4-address
|
group-name
}
filter-policy
{
acl-number
|
acl-name
acl-name
}
export
command.
–
To filter routes based on an IP prefix list, run the
peer
{
ipv4-address
|
group-
name
}
ip-prefix
ip-prefix-name
export
command.
–
To filter routes based on an AS_Path filter, run the
peer
{
ipv4-address
|
group-
name
}
as-path-filter
{
as-path-filter-number
|
as-path-filter-name
}
export
command.
–
To filter routes based on a route-policy, run the
peer
{
ipv4-address
|
group-
name
}
route-policy
route-policy-name
export
command.
A peer group and its members can use different export policies to filter routes. Each
peer can select its policy when advertising routes.
----End
7.5.4 Configuring BGP Soft Reset
BGP soft reset allows the system to refresh a BGP routing table dynamically without tearing
down any BGP connection if routing policies are changed.
Context
After changing a BGP import policy, you must reset BGP connections for the new import policy
to take effect, interrupting these BGP connections temporarily. BGP route-refresh allows the
system to refresh a BGP routing table dynamically without tearing down any BGP connection
if routing policies are changed.
l
If a device's peer supports route-refresh, the
refresh bgp
command can be used on the
device to softly reset the BGP connection with the peer and update the BGP routing table.
l
If a device's peer does not support route-refresh, the
peer keep-all-routes
command can
be used on the device to remain all routing updates received from the peer so that the device
can refresh its routing table without closing the connection with the peer.
Perform the following steps on a BGP switch:
Procedure
l
If the device's peers support route-refresh, perform the following operations:
1.
(Optional) Enable route-refresh.
a.
Run:
system-view
The system view is displayed.
b.
Run:
bgp
as-number
The BGP view is displayed.
c.
Run:
peer
{
ipv4-address
|
group-name
}
capability-advertise
route-refresh
Route-refresh is enabled.
By default, route-refresh is enabled.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
7 BGP Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
392