356
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4
address family view/BGP-VPN VPNv4 address family view/BGP VPNv6 address family view/BGP
L2VPN address family view:
peer
{
group-name
|
ip-address
}
enable
undo peer
{
group-name
|
ip-address
}
enable
In BGP IPv6 unicast address family view:
peer
{
group-name
|
ip-address
|
ipv6-address
}
enable
undo peer
{
group-name
|
ip-address
|
ipv6-address
}
enable
In BGP-VPN IPv6 unicast address family view:
peer
{
group-name
|
ipv6-address
}
enable
undo peer
{
group-name
|
ipv6-address
}
enable
Default
BGP cannot exchange routing information with a peer or peer group.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP-VPNv4 address
family view, BGP-VPN VPNv4 address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6
unicast address family view, BGP-VPNv6 address family view, BGP L2VPN address family view
Predefined user roles
network-admin
Parameters
group-name
: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address
: Specifies a peer by its IP address. The peer must have been created.
ipv6-address
: Specifies a peer by its IPv6 address. The peer must have been created.
Usage guidelines
Executing the
peer enable
command in different views enables BGP to exchange routing information for
the corresponding address families with the specified peer.
•
In BGP IPv4 unicast address family view, the command enables the capability to exchange IPv4
unicast routing information, and adds the learned routes to the BGP routing table of the public
network.
•
In BGP-VPN IPv4 unicast address family view, the command enables the capability to exchange
IPv4 unicast routing information, and adds the learned routes to the BGP routing table of the
specified VPN instance.
•
In BGP VPNv4 address family view, the command enables the capability to exchange VPNv4
routing information. In an MPLS L3VPN network, execute the command on PE devices in BGP
VPNv4 address family view.
•
In BGP-VPN VPNv4 address family view, the command enables the capability to exchange VPNv4
routing information. In a nested VPN network, execute this command on ISP PE devices in BGP-VPN
VPNv4 address family view to enable the PE devices to exchange BGP VPNv4 routing information