Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-41
[Quidway-bgp] ipv4-family vpnv4
[Quidway-bgp-af-vpn] peer test reflect-client
2.1.48 peer route-policy export
Syntax
peer
group-name
route-policy
policy-name
export
undo peer
group-name
route-policy
policy-name
export
View
VPNv4 subaddress family view, VPN-instance subaddress family view
Parameter
group-name
: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
policy-name
: Name of a routing policy.
Description
Use the
peer route-policy export
command to apply the routing policy to peer group
for advertised routing information.
Use the
undo peer route-policy export
command to cancel the configuration.
By default, there is no routing policy.
The
peer route-policy export
command is only used to configure peer groups.
Related command:
peer route-policy
import
.
Example
# Apply the routing policy test-policy to the outgoing routes of the peer group test.
[Quidway-bgp] ipv4-family vpnv4
[Quidway-bgp-af-vpn] peer test route-policy test-policy export
2.1.49 peer route-policy import
Syntax
peer
{
group-name
|
peer-address
}
route-policy
policy-name
import
undo
peer
{
group-name
|
peer-address
}
route-policy
policy-name
import
View
VPNv4 subaddress family view, VPN-instance subaddress family view