201
Step Command Remarks
5. (Optional.) Configure a
description for the peer
group.
peer
group-name
description
description-text
By default, no description is
configured for the peer group.
6. Create the BGP IPv4 unicast
address family or BGP-VPN
IPv4 unicast address family
and enter its view.
address-family ipv4
[
unicast
]
By default, the BGP IPv4 unicast
address family or BGP-VPN IPv4
unicast address family is not
created.
7. Enable the router to
exchange IPv4 unicast
routing information with
peers in the specified peer
group.
peer
group-name
enable
By default, the router cannot
exchange IPv4 unicast routing
information with the peers.
To configure an EBGP peer group by using Method 3 (IPv6):
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. Add a peer into the EBGP
peer group.
peer
ipv6-address [ prefix-length ]
group
group-name
as-number
as-number
By default, no peer exists in the
peer group.
BGP can use an IPv6 link-local
address to establish a peer
relationship with a peer when the
following conditions exist:
• The IPv6 link-local address
belongs to the interface
directly connected to the
local router.
• The peer connect-interface
command is configured on
the peer to specify the
interface as the source
interface.
5. (Optional.) Configure a
description for the peer
group.
peer
group-name
description
description-text
By default, no description is
configured for the peer group.
6. Create the BGP IPv6 unicast
address family or BGP-VPN
IPv6 unicast address family
and enter its view.
address-family ipv6
[
unicast
]
By default, the BGP IPv6 unicast
address family or BGP-VPN IPv6
unicast address family is 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.