-
Access global configuration
mode.
device# configure terminal
-
Access BGP configuration mode.
device(config)# router bgp
-
Create a peer group.
device(config-bgp-router)# neighbor p1 peer-group
This example shows the neighbor command,
the peer group name (p1), and the peer-group
keyword.
-
Specify the autonomous system
number (ASN) of the peer group.
device(config-bgp-router)# neighbor p1 remote-as 11
This example associates ASN 11
to the new peer group.
-
Associate an IPv6 neighbor with
the peer group.
device(config-bgp-router)# neighbor 2001:2018:8192::124 peer-group p1
This example shows the neighbor command,
the IPv6 address of the neighbor, the peer-group keyword,
and the name of the peer group (p1).
-
Associate an IPv4 neighbor with
the peer group.
device(config-bgp-router)# neighbor 10.0.0.1 peer-group p1
This example shows the neighbor command, the IPv4 address
of the neighbor, the peer-group keyword, and the name of the
peer group (p1).
-
Repeat steps 5 and 6 as needed to associate more neighbors with the peer
group.
-
Access IPv6 address family
configuration mode.
device(config-bgp-router)# address-family ipv6 unicast
-
Activate an IPv6 BGP session
with the new peer group.
device(config-bgp-ipv6u)# neighbor p1 activate
Example
The following example summarizes the commands in
this procedure.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor p1 peer-group
device(config-bgp-router)# neighbor p1 remote-as 11
device(config-bgp-router)# neighbor 2001:2018:8192::124 peer-group p1
device(config-bgp-router)# neighbor 10.0.0.1 peer-group p1
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor p1 activate