Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-46
[Quidway-bgp] peer test reflect-client
5.1.53 peer route-policy export
Syntax
peer
group-name
route-policy
route-policy-name
export
undo peer
group-name
route-policy
route-policy-name
export
View
BGP view
Parameter
group-name
: Name of peer group.
route-policy-name
: The specified Route-policy.
Description
Use the
peer route-policy
export
command to assign the Route-policy to the routes
advertised to the peer group.
Use the
undo peer route-policy
export
command to delete the specified
Route-policy.
By default, the peer/peer group has no Route-policy association.
The
peer route-policy export
command only applies to peer groups.
Related command:
peer route-policy import
.
Example
# Apply the Route-policy named test-policy to the route going out of the peer group test.
[Quidway-bgp] peer test route-policy test-policy export
5.1.54 peer route-policy import
Syntax
peer
{
group-name
|
peer-address
}
route-policy
route-policy-name
import
undo peer
{
group-name
|
peer-address
}
route-policy
route-policy-name
import
View
BGP view
Parameter
group-name
: Name of peer group.
peer-address:
IP address of the peer.