This is something new and not documented so thought i’d post up here.
Prerequisites
-
- This assumes you have an underlying MPLS LDP setup already
- All core facing interfaces need ‘ipv6 enable’ set on them
- The routing model needs changing to ArBGP by running “service routing protocols model multi-agent”. Before doing so, note this will drop all OSPF and BGP sessions
- Needs EOS 4.21.1F or later
Configuration
Rtr1: service routing protocols model multi-agent interface Ethernet1 no switchport ip address 192.168.2.1/30 ipv6 enable interface Loopback0 ip address 192.168.1.1/32 ! interface Loopback1 ipv6 address 2001:abc::1/64 ip routing ! ipv6 unicast-routing ! mpls ip ! mpls ldp router-id interface Loopback0 no shutdown ! router bgp 65535 neighbor 192.168.1.2 remote-as 65535 neighbor 192.168.1.2 update-source Loopback0 neighbor 192.168.1.2 maximum-routes 80000 ! address-family ipv6 neighbor 192.168.1.2 activate 6pe network 2001:abc::/64
Rtr2: service routing protocols model multi-agent interface Ethernet1 no switchport ip address 192.168.3.1/30 ipv6 enable interface Loopback0 ip address 192.168.1.2/32 ! ip routing ! ipv6 unicast-routing ! mpls ip ! mpls ldp router-id interface Loopback0 no shutdown ! router bgp 65535 neighbor 192.168.1.1 remote-as 65535 neighbor 192.168.1.1 update-source Loopback0 neighbor 192.168.1.1 maximum-routes 80000 ! address-family ipv6 neighbor 192.168.1.1 activate 6pe
Confirm with the below, the command ‘show bgp neighbors’ is only present if you enable multi-agent routing:-
sw1(config)#show bgp neighbors| i 6PE
Multiprotocol IPv6 6PE: advertised
IPv6 6PE: advertised
IPv6 6PE: 0 0
If ‘activate 6pe’ is not visible, you need a later version of EOS.