
192
Step Command
Remarks
6.
Create and enter BGP IPv6
unicast address family view or
BGP-VPN IPv6 unicast
address family view.
address-family ipv6
[
unicast
]
By default, the BGP IPv6 unicast
address family view and BGP-VPN
IPv6 unicast address family view
are not created.
7.
Enable the router to exchange
IPv6 unicast routing
information with peers in the
specified peer group.
peer
group-name
enable
By default, the router cannot
exchange IPv6 unicast routing
information with the peers.
Configuring an EBGP peer group
If peers in an EBGP group belong to the same external AS, the EBGP peer group is a pure EBGP peer
group. If not, it is a mixed EBGP peer group.
Use one of the following methods to configure an EBGP peer group:
•
Method 1
—Create an EBGP peer group, specify its AS number, and add peers into it. All the
added peers have the same AS number. All peers in the peer group have the same AS number as
the peer group. You can specify an AS number for a peer before adding it into the peer group. The
AS number must be the same as that of the peer group.
•
Method 2
—Create an EBGP peer group, specify an AS number for a peer, and add the peer into
the peer group. Peers added in the group can have different AS numbers.
•
Method 3
—Create an EBGP peer group and add a peer with an AS number into it. Peers added
in the group can have different AS numbers.
To configure an EBGP peer group by using Method 1 (IPv4):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view or BGP-VPN
instance view.
•
Enter BGP view:
bgp
as-number
•
Enter BGP-VPN instance view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
N/A
3.
Create an EBGP peer group.
group
group-name
external
By default, no EBGP peer group is
created.
4.
Specify the AS number for the
group.
peer
group-name
as-number
as-number
By default, no AS number is
specified.
If a peer group contains peers, you
cannot remove or change its AS
number.
5.
Add a peer into the EBGP
peer group.
peer
ip-address
group
group-name
[
as-number
as-number
]
By default, no peer exists in the
peer group.
The
as-number
as-number
option,
if used, must specify the same AS
number as the
peer
group-name
as-number
as-number
command.