Command Manual – MPLS
Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-45
[Quidway-bgp] ipv4-family vpn-instance vrf1
[Quidway-bgp-af-vpn-instance] group ebgp external
[Quidway-bgp-af-vpn-instance] quit
[Quidway-bgp] ipv4-family vpnv4
[Quidway-bgp-af-vpn] peer ebgp vpn-instance vrf1 enable
2.1.54 peer vpn-instance group
Syntax
peer peer-address vpn-instance vpn-instance-name group group-name
undo peer peer-address vpn-instance vpn-instance-name
View
BGP-VPNv4 sub-address family view
Parameter
peer-address: IP address of a peer, in dotted decimal notation.
vpn-instance-name: Name of the VPN instance the CE peer belongs to.
group-name: Name of a peer group.
Description
Use the peer vpn-instance group command to join a CE neighbor into a BGP peer
group.
Use the undo peer vpn-instance group command to clear the CE neighbor from the
BGP peer group.
By default, a CE neighbor does not belong to any peer group.
Example
# Join a CE neighbor into a peer group.
[Quidway-bgp] ipv4-family vpn-instance vrf1
[Quidway-bgp-af-vpn-instance] peer 1.1.1.1 group ebgp as-number 600
[Quidway-bgp-af-vpn-instance] quit
[Quidway-bgp] ipv4-family vpnv4
[Quidway-bgp-af-vpn] peer 1.1.1.1 vpn-instance vrf1 group ebgp
2.1.55 peer vpn-instance route-policy import
Syntax
peer { peer-address | group-name } vpn-instance vpn-instance-name route-policy
policy-name import