![Huawei Quidway S8500 Series Command Manual Download Page 784](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479784.webp)
Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-46
undo peer
{
peer-address | group-name
}
vpn-instance
vpn-instance-name
route-policy
policy-name
import
View
BGP-VPNv4 sub-address family view
Parameter
peer-address
: IP address of a peer, in dotted decimal.
group-name: Name of a peer group.
vpn-instance-name
: Name of the VPN instance the CE peer belongs to.
policy-name
: Name of the routing policy to be applied.
Description
Use the
peer vpn-instance route-policy import
command to configure the routing
policy applied by the CE peer to VPNv4 routes it received.
Use the
undo peer vpn-instance route-policy import
command to cancel the
configuration.
By default, no routing policy is configured.
The ingress routing policy configured for a peer takes precedence over the
configuration for the peer group.
Example
# Configure the peer group ebgp to apply the routing policy named comtest to the
ingress routes.
[Quidway-bgp-af-vpn] peer ebgp vpn-instance vrf1 route-policy comtest import
2.1.56 peer vpn-instance substitute-as
Syntax
peer
group-name vpn-instance
vpn-instance-name
substitute-as
undo peer group-name
vpn-instance
vpn-instance-name substitute-as
View
BGP-VPNv4 sub-address family view
Parameter
group-name: Name of a peer group.
vpn-instance-name
: Name of the VPN instance the CE peer belongs to.
policy-name
: Name of the routing policy to be applied.