The conversation and its subject are separate choices
TCP transport describes the IP connection carrying BGP messages. The address family describes the routes inside those messages. An IPv4 TCP connection does not automatically exchange IPv6 routes, and an IPv6 peer address alone does not prove IPv6 route activation. Multiprotocol BGP, or MP-BGP, extends BGP to carry different kinds of routing information.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
The peers advertise supported families as capabilities during session establishment. For a particular family to exchange routes bidirectionally, both peers need the corresponding capability. The AFI/SAFI pair identifies the subject: IPv4 unicast is 1/1; IPv6 unicast is 2/1. Unicast here means routes towards individual destinations, rather than multicast routing information.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
One suitable BGP session can support multiple families. For clarity, this lab adds a separate IPv6-addressed peer beside the existing IPv4 eBGP peer. Cross-family transport designs need explicit next-hop handling and platform support; they are not configured by this exercise.
Add IPv6 to the existing lab cable
Keep company R1 in AS 64500 and ISP A in AS 64501, using their existing Gi0/0 cable. Add IPv6 addresses 2001:db8:12::1/64 and 2001:db8:12::2/64 to those ports. R1’s Loopback20 represents company prefix 2001:db8:100::/64; ISP A’s represents provider prefix 2001:db8:200::/64. The IPv4 settings and filters from the first lab remain in place.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
These Cisco IOS XE 17.x router examples start in global configuration mode in an isolated lab. Confirm IPv6/BGP support and interface names on the exact image. The 2001:db8:: addresses are documentation examples, not public Internet allocations. The existing dotted-decimal BGP router IDs remain identifiers; they do not become IPv6 peer addresses.
ipv6 unicast-routing
interface GigabitEthernet0/0
ipv6 address 2001:db8:12::1/64
no shutdown
exit
interface Loopback20
ipv6 address 2001:db8:100::1/64
exitR1: enable IPv6 forwarding and add the link and local destination addresses. These commands do not remove its IPv4 addresses.
ipv6 unicast-routing
interface GigabitEthernet0/0
ipv6 address 2001:db8:12::2/64
no shutdown
exit
interface Loopback20
ipv6 address 2001:db8:200::1/64
exitISP A: add the other link endpoint and a separate provider destination prefix.
In privileged EXEC, check show ipv6 interface brief and show ipv6 route. R1 should reach 2001:db8:12::2, and ISP A should reach 2001:db8:12::1. Verify the local loopback /64 is installed before requesting BGP origination. A successful peer ping does not test whether TCP 179 or BGP capabilities are correct.
Activate only the intended family and prefixes
Use ipv6 prefix-list for IPv6 routes. Each entry below permits one exact /64; without ge/le modifiers it does not permit every more-specific subnet. The neighbour’s remote-as defines its AS relationship. The activate command under IPv6 unicast enables that family for this peer.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
ipv6 prefix-list COMPANY-V6 seq 10 permit 2001:db8:100::/64
ipv6 prefix-list ISPA-V6 seq 10 permit 2001:db8:200::/64
router bgp 64500
no bgp default ipv4-unicast
neighbor 2001:db8:12::2 remote-as 64501
address-family ipv6 unicast
neighbor 2001:db8:12::2 activate
neighbor 2001:db8:12::2 prefix-list ISPA-V6 in
neighbor 2001:db8:12::2 prefix-list COMPANY-V6 out
network 2001:db8:100::/64
exit-address-familyR1: retain the existing IPv4 peer and address family, add the IPv6 peer, accept only the provider /64 and export only the company /64.
ipv6 prefix-list COMPANY-V6 seq 10 permit 2001:db8:100::/64
ipv6 prefix-list ISPA-V6 seq 10 permit 2001:db8:200::/64
router bgp 64501
no bgp default ipv4-unicast
neighbor 2001:db8:12::1 remote-as 64500
address-family ipv6 unicast
neighbor 2001:db8:12::1 activate
neighbor 2001:db8:12::1 prefix-list COMPANY-V6 in
neighbor 2001:db8:12::1 prefix-list ISPA-V6 out
network 2001:db8:200::/64
exit-address-familyISP A: activate IPv6 for R1 and apply the matching opposite-direction prefix policy.
The existing course configuration already uses no bgp default ipv4-unicast. Keeping it here makes new-neighbour activation explicit; it is not an instruction to remove the established IPv4 neighbour’s explicit activation. The IPv6 network line requests origination of a prefix with an exact matching route in the IPv6 routing table. It does not discover that route or configure an interface.
Address-family activation, local route origination and prefix filtering are separate checks. A missing advertisement can result from any one of them while basic IP reachability still works.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
NLRI means Network Layer Reachability Information: the destination prefixes being announced. MP_REACH_NLRI includes the family and next-hop information for reachable destinations; MP_UNREACH_NLRI carries withdrawals. The advertised destination /64 is different from the TCP peer address. On a directly connected IPv6 link, advertised next-hop information can also include a link-local address; inspect the actual next hop and outgoing interface.
Verify the family, the route and the return path
show bgp ipv6 unicast summary
show bgp ipv6 unicast neighbors 2001:db8:12::2
show bgp ipv6 unicast 2001:db8:200::/64
show ipv6 route 2001:db8:200::/64Privileged EXEC on R1. Check the IPv6 family and negotiated neighbour capability, then the received path and installed route. Output layout varies by image.
R1#show bgp ipv6 unicast neighbors 2001:db8:12::2 BGP neighbor is 2001:DB8:12::2, remote AS 64501, external link BGP state = Established Neighbor capabilities: Address family IPv6 Unicast: advertised and received
This excerpt proves the peer state and mutual IPv6 capability in the example; it does not prove that a prefix arrived. In the IPv6 summary, a numeric prefix count is different from a state such as Active. Zero received prefixes can coexist with an established session: check the exact local route, network statement and both peers’ filters.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
On R1, confirm the provider /64 is eligible in BGP and installed in the IPv6 routing table, with a reachable next hop. Then test ping ipv6 2001:db8:200::1 source Loopback20. On ISP A, verify a route back to 2001:db8:100::/64 and test the reverse source-loopback ping. Check the existing IPv4 summary separately so the new work does not hide a regression.
Break an advertisement without breaking its cable
- Record the IPv6 peer state, received prefix and installed route on both routers. Keep the original IPv4 checks as a separate baseline.
- On ISP A, remove only
network 2001:db8:200::/64under address-family ipv6 unicast. In this lab no other origination method supplies it. After withdrawal, R1 should lose that destination while the IPv6 peer can remain Established. - Restore the same network line, verify ISP A’s local /64 still exists, then confirm R1 learns and installs it again. Repeat the source-loopback ping and return-route check.
- If a route is absent despite a working peer, inspect activation, origination and policy before clearing the entire BGP process. Do not remove prefix filters to make a test pass.
The trade-off is additional routing policy and verification. IPv4 success is useful evidence for that family; it does not replace IPv6 neighbour discovery, routes, filters or return-path checks.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
Check your address-family reasoning
The IPv4 peer is Established. Does that prove it exchanges IPv6 unicast routes?
ISP A removes its only network 2001:db8:200::/64 line. The IPv6 peer remains Established. Is that contradictory?
A policy permits exactly 2001:db8:200::/64, without ge or le. Does it also permit 2001:db8:200:1::/64?
Protocol and platform references
See RFC 4760 for multiprotocol attributes and capability exchange, RFC 2545 for IPv6 next-hop/transport distinctions and Cisco’s IOS XE 17.x IPv6 BGP guide for the configuration model. Commands and output are authored learning examples, not router captures. Verify exact software support before running a lab.