197
Step Command Remarks
3. Create an IPv4 BGP peer and
specify its AS number.
peer ip-address as-number
as-number
By default, no IPv4 BGP peer is
created.
4. (Optional.) Configure a
description for a peer.
peer ip-address description
description-text
By default, no description is
configured for a peer.
5. 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.
6. Enable the router to exchange
IPv4 unicast routing
information with the specified
peer.
peer ip-address enable
By default, the router cannot
exchange IPv4 unicast routing
information with the peer.
Configuring an IPv6 BGP peer
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 IPv6 BGP peer and
specify its AS number.
peer ipv6-address as-number
as-number
By default, no IPv6 BGP peer is
created.
4. (Optional.) Configure a
description for a peer.
peer ipv6-address description
description-text
By default, no description is
configured for a peer.
5. 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.
6. Enable the router to exchange
IPv6 unicast routing
information with the specified
peer.
peer ipv6-address enable
By default, the router cannot
exchange IPv6 unicast routing
information with the peer.
Configuring a BGP peer group
The peers in a peer group use the same route selection policy.
In a large-scale network, many peers can use the same route selection policy. You can configure a peer
group and add these peers into this group. When you change the policy for the group, the modification
also applies to the peers in the group.
A peer group is an IBGP peer group if peers in it belong to the local AS, and is an EBGP peer group if
peers in it belong to different ASs.