OcNOS-SP : Layer 3 Guide : Layer 3 Unicast Configuration Guide : BGP IPv4 Additional Paths Configuration
BGP IPv4 Additional Paths Configuration
Overview
The Border Gateway Protocol (BGP) ADDPATH feature allows the advertisement of multiple paths through the same peering session for a given prefix without the new paths implicitly replacing any previous paths. This behavior promotes path diversity and reduces the severity of a network failure, thereby improving the control plane convergence in case of network failures.
Normal BGP Behavior
By default, all BGP routers and Route-Reflectors propagate only their best paths over their sessions. In case they advertise any route with the same NLRI as a previously advertised route, the latest one implicitly replaces the previous advertisement, which is known as an Implicit Withdraw. The Implicit Withdraw can achieve better scaling, but at the cost of path diversity.
The use of route-reflectors (or confederations), thus has significant effect on redundancy by hiding alternate paths. Using full-mesh is not an option, so a mechanism is needed to allow the propagation of multiple alternate paths in an RR/Confederation environment. Such mechanism is already available in BGP/MPLS VPN scenarios, where multiple point of attachments for CE sites could utilize different RD values to differentiate the same routes advertised from different connection points. However, a generic solution is required, allowing for advertising multiple alternate paths with IPv4 or any other address-family.
The “Advertisement of Multiple Paths in BGP” or “BGP Add-Path” as the feature is usually called is a BGP extension that allows the advertisement of multiple paths for the same address prefix without the new paths implicitly replacing any previously advertised ones.
BGP Behavior with ADDPATH
The advertisement of multiple paths in BGP is made possible by sending a BGP OPEN message to the neighbor with a BGP capability code of 69, which identifies the BGP ADD-PATH Capability.
Address Family Identifier(AFI)
2 octets
Subsequent Address Family Identifier(SAFI)
1 octet
Send/Receive
1 octet
The send/receive field in the BGP Capability TLV indicates whether for a given <AFI, SAFI>, the sender is able to:
Receive multiple paths from its peer (value 1)
Send multiple paths to its peer (value 2), or
both (value 3)
Each alternate path is identified by a Path Identifier in addition to the address prefix
Path Identifier
4 octets
Length
1 octet
Prefix
variable
In the event of a next-hop failure, the BGP Add-Path feature hence improves the BGP control plane convergence
Topology
BGPv4 Additional Path Topology
Initial Configuration
R1
 
#configure terminal
Enter the Configure mode.
(config)#interface eth3
Enter interface mode for interface eth3
(config-if)#ip address 11.1.1.2/24
Configure IP address for the interface eth3
(config-if)#exit
Exit the interface mode
(config)#interface eth4
Enter interface mode for interface eth4
(config-if)#ip address 12.1.1.2/24
Configure IP address for the interface eth4
(config-if)#exit
Exit the interface mode
(config)#interface eth6
Enter interface mode for interface eth6
(config-if)#ip address 13.1.1.2/24
Configure IP address for the interface eth6
(config-if)#exit
Exit the interface mode
(config)#interface eth7
Enter interface mode for interface eth7
(config-if)#ip address 14.1.1.2/24
Configure IP address for the interface eth7
(config-if)#exit
Exit the interface mode
(config)#interface lo
Enter interface mode for loopback lo
(config-if)#ip address 100.1.1.2/24
Configure IP address for Loopback interface lo
(config-if)#exit
Exit the interface mode
(config)#router bgp 200
Enter the router BGP mode
(config-router)#neighbor 11.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R2
(config-router)#neighbor 12.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R2
(config-router)#neighbor 13.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R2
(config-router)#neighbor 14.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R2
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router)#network 100.1.1.0/24
Specify the network to announce via BGP
(config-router-af)#neighbor 11.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 12.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 13.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 14.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and enter the config mode
(config)#commit
Apply commit
(config)#exit
Exit the config mode
R2
 
#configure terminal
Enter the Configure mode.
(config)#interface eth2
Enter interface mode for interface eth2
(config-if)#ip address 10.1.1.1/24
Configure IP address for the interface eth2
(config-if)#exit
Exit the interface mode
(config)#interface eth3
Enter interface mode for interface eth3
(config-if)#ip address 11.1.1.1/24
Configure IP address for the interface eth3
(config-if)#exit
Exit the interface mode
(config)#interface eth4
Enter interface mode for interface eth4
(config-if)#ip address 12.1.1.1/24
Configure IP address for the interface eth4
(config-if)#exit
Exit the interface mode
(config)#interface eth6
Enter interface mode for interface eth6
(config-if)#ip address 13.1.1.1/24
Configure IP address for the interface eth6
(config-if)#exit
Exit the interface mode
(config)#interface eth7
Enter interface mode for interface eth7
(config-if)#ip address 14.1.1.1/24
Configure IP address for the interface eth7
(config-if)#exit
Exit the interface mode
(config)#interface lo
Enter interface mode for loopback lo
(config-if)#ip address 100.1.1.2/24
Configure IP address for Loopback interface lo
(config-if)#exit
Exit the interface mode
(config)#router bgp 100
Enter the router BGP mode
(config-router)#neighbor 10.1.1.2 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R3
(config-router)#neighbor 11.1.1.2 remote-as 200
Configure the neighbor address and remote-as for the eBGP peer on R1
(config-router)#neighbor 12.1.1.2 remote-as 200
Configure the neighbor address and remote-as for the eBGP peer on R1
(config-router)#neighbor 13.1.1.2 remote-as 200
Configure the neighbor address and remote-as for the eBGP peer on R1
(config-router)#neighbor 14.1.1.2 remote-as 200
Configure the neighbor address and remote-as for the eBGP peer on R1
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 11.1.1.2 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 12.1.1.2 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 13.1.1.2 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 14.1.1.2 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and enter the config mode
(config)#router ospf 100
Configure an OSPF instance 100
(config-router)#network 10.1.1.0/24 area 0
Configure OSPF network for area 0
(config-router)#redistribute connected
Configure Redistribution of Connected networks into OSPF
(config-router)#exit
Exit the router BGP mode and enter the config mode
(config)#commit
Apply commit
(config)#exit
Exit the config mode
R3
 
#configure terminal
Enter the Configure mode.
(config)#interface eth1
Enter interface mode for interface eth1
(config-if)#ip address 10.1.1.2/24
Configure IP address for the interface eth1
(config-if)#exit
Exit the interface mode
(config)#interface eth2
Enter interface mode for interface eth2
(config-if)#ip address 21.1.1.1/24
Configure IP address for the interface eth2
(config-if)#exit
Exit the interface mode
(config)#interface eth5
Enter interface mode for interface eth5
(config-if)#ip address 22.1.1.1/24
Configure IP address for the interface eth5
(config-if)#exit
Exit the interface mode
(config)#interface eth6
Enter interface mode for interface eth6
(config-if)#ip address 23.1.1.1/24
Configure IP address for the interface eth6
(config-if)#exit
Exit the interface mode
(config)#interface eth7
Enter interface mode for interface eth7
(config-if)#ip address 24.1.1.1/24
Configure IP address for the interface eth7
(config-if)#exit
Exit the interface mode
(config)#router bgp 100
Enter the router BGP mode
(config-router)#neighbor 21.1.1.2 remote-as 300
Configure the neighbor address and remote-as for the eBGP peer on R4
(config-router)#neighbor 22.1.1.2 remote-as 300
Configure the neighbor address and remote-as for the eBGP peer on R4
(config-router)#neighbor 23.1.1.2 remote-as 300
Configure the neighbor address and remote-as for the eBGP peer on R4
(config-router)#neighbor 24.1.1.2 remote-as 300
Configure the neighbor address and remote-as for the eBGP peer on R4
(config-router)#neighbor 10.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the iBGP peer on R2
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 21.1.1.2 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 22.1.1.2 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 23.1.1.2 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 24.1.1.2 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 10.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP mode
(config)#router ospf 100
Configure an OSPF instance 100
(config-router)#network 10.1.1.0/24 area 0
Configure OSPF network for area 0
(config-router)#redistribute connected
Configure Redistribution of Connected networks into OSPF
(config-router)#exit
Exit the router BGP mode and return to configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
R4
 
#configure terminal
Enter the Configure mode.
(config)#interface eth2
Enter interface mode for interface eth2
(config-if)#ip address 21.1.1.2/24
Configure IP address for the interface eth2
(config-if)#exit
Exit the interface mode
(config)#interface eth3
Enter interface mode for interface eth3
(config-if)#ip address 22.1.1.2/24
Configure IP address for the interface eth3
(config-if)#exit
Exit the interface mode
(config)#interface eth4
Enter interface mode for interface eth4
(config-if)#ip address 23.1.1.2/24
Configure IP address for the interface eth4
(config-if)#exit
Exit the interface mode
(config)#interface eth5
Enter interface mode for interface eth5
(config-if)#ip address 24.1.1.2/24
Configure IP address for the interface eth5
(config-if)#exit
Exit the interface mode
(config)#interface lo
Enter interface mode for loopback lo
(config-if)#ip address 200.1.1.2/24
Configure IP address for Loopback interface lo
(config-if)#exit
Exit the interface mode
(config)#router bgp 300
Enter the router BGP mode
(config-router)#neighbor 21.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R3
(config-router)#neighbor 22.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R3
(config-router)#neighbor 23.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R3
(config-router)#neighbor 24.1.1.1 remote-as 100
Configure the neighbor address and remote-as for the eBGP peer on R3
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router)#network 200.1.1.0/24
Specify the network to announce via BGP
(config-router-af)#neighbor 21.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 22.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 23.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#neighbor 24.1.1.1 activate
Activate the IPv4 iBGP neighbors on RR for the IPv4 address family
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Additional Paths at the AF Level
Configure R2 to Send All Additional Paths and R3 to Receive all Additional Paths
R2
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#bgp additional-paths send
Configure R2 to send additional paths to all iBGP neighbors
(config-router-af)#bgp additional-paths select all
Configure R2 to select all available paths to send to all iBGP neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
 
R3
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#bgp additional-paths receive
Configure R3 to receive additional paths from all iBGP neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Validation
R2
#show ip bgp neighbors 10.1.1.2
BGP neighbor is 10.1.1.2, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:00:26
Last read 00:00:26, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 26 messages, 1 notifications, 0 in queue
Sent 27 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 17, neighbor version 17
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : advertised
Add-Path Receive Capability : received
Community attribute sent to this neighbor (both)
1 accepted prefixes
1 announced prefixes
 
Connections established 3; dropped 2
Local host: 10.1.1.1, Local port: 50428
Foreign host: 10.1.1.2, Foreign port: 179
Nexthop: 10.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:00:31, due to BGP Notification received
Notification Error Message: (Cease/Other Configuration Change.)
 
#show ip bgp
BGP table version is 21, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* 12.1.1.2 0 100 0 200 i
* 13.1.1.2 0 100 0 200 i
* 14.1.1.2 0 100 0 200 i
*>i 200.1.1.0 21.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
 
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
12.1.1.2 13.1.1.2 14.1.1.2
200
11.1.1.2 from 11.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:02:02 2017
 
200
12.1.1.2 from 12.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:02:10 2017
 
200
13.1.1.2 from 13.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:01:48 2017
 
200
14.1.1.2 from 14.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 3
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:01:51 2017
R3
#show ip bgp neighbors 10.1.1.1
BGP neighbor is 10.1.1.1, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 2.2.2.2
BGP state = Established, up for 00:00:36
Last read 00:00:36, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 167 messages, 12 notifications, 0 in queue
Sent 171 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 91, neighbor version 91
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : received
Add-Path Receive Capability : advertised
Community attribute sent to this neighbor (both)
1 accepted prefixes
1 announced prefixes
 
Connections established 15; dropped 14
Local host: 10.1.1.2, Local port: 179
Foreign host: 10.1.1.1, Foreign port: 50428
Nexthop: 10.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:00:36, due to BGP Notification sent
Notification Error Message: (Cease/Other Configuration Change.)
 
#show ip bgp
BGP table version is 93, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>i 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* i 14.1.1.2 0 100 0 200 i
* i 13.1.1.2 0 100 0 200 i
* i 12.1.1.2 0 100 0 200 i
*> 200.1.1.0 21.1.1.2 0 100 0 300 i
* 22.1.1.2 0 100 0 300 i
* 23.1.1.2 0 100 0 300 i
* 24.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
 
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
21.1.1.2 22.1.1.2 23.1.1.2 24.1.1.2
200
11.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal, best
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Fri Jan 6 06:12:52 2017
 
200
14.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 3 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:13:03 2017
 
200
13.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:13:03 2017
 
200
12.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:13:03 2017
 
Configure R2 and R3 to Send and Receive All Additional Paths
R2
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#bgp additional-paths send-receive
Configure R2 to send additional paths to and receive additional paths from all iBGP neighbors
(config-router-af)#bgp additional-paths select all
Configure R2 to select all available paths to send to all iBGP neighbors
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
R3
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#bgp additional-paths send-receive
Configure R3 to send additional paths to and receive additional paths from all iBGP neighbors
(config-router-af)#bgp additional-paths select all
Configure R3 to select all available paths to send to all iBGP neighbors
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
 
Validation
Verify that R2 sends all 4 paths to the route 100.1.1.0/24 to R3 and receives all 4 paths to the route 200.1.1.0/24 from R3
Verify that rx path_ids of all 4 paths to 200.1.1.0/24 received from R3 match the tx path_ids of 200.1.1.0/24 on R3
Verify that R3 sends all 4 paths to the route 200.1.1.0/24 to R2 and receives all 4 paths to the route 100.1.1.0/24 from R2
Verify that rx path_ids of all 4 paths to 100.1.1.0/24 received from R3 match the tx path_ids of 100.1.1.0/24 on R3
R2
#show ip bgp neighbors 10.1.1.2
BGP neighbor is 10.1.1.2, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:09:32
Last read 00:09:32, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 25 messages, 0 notifications, 0 in queue
Sent 25 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 12, neighbor version 12
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : advertised and received
Add-Path Receive Capability : advertised and received
Community attribute sent to this neighbor (both)
4 accepted prefixes
4 announced prefixes
 
Connections established 1; dropped 0
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 51842
Nexthop: 10.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
#show ip bgp
BGP table version is 41, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* 12.1.1.2 0 100 0 200 i
* 13.1.1.2 0 100 0 200 i
* 14.1.1.2 0 100 0 200 i
*>i 200.1.1.0 21.1.1.2 0 100 0 300 i
* i 22.1.1.2 0 100 0 300 i
* i 23.1.1.2 0 100 0 300 i
* i 24.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
12.1.1.2 13.1.1.2 14.1.1.2
200
11.1.1.2 from 11.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 05:36:35 2017
 
200
12.1.1.2 from 12.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 05:36:40 2017
 
200
13.1.1.2 from 13.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 05:36:43 2017
 
200
14.1.1.2 from 14.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 3
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 05:36:46 2017
 
#show ip bgp 200.1.1.0
BGP routing table entry for 200.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
11.1.1.2 12.1.1.2 13.1.1.2 14.1.1.2
300
21.1.1.2 (metric 20) from 10.1.1.2 (3.3.3.3)
Origin IGP, metric 0, localpref 100, valid, internal, best
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Fri Jan 6 05:40:21 2017
 
300
22.1.1.2 (metric 20) from 10.1.1.2 (3.3.3.3)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 1 tx path_id: 1
Not advertised to any peer
Last update: Fri Jan 6 05:40:25 2017
 
300
23.1.1.2 (metric 20) from 10.1.1.2 (3.3.3.3)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 2 tx path_id: 2
Not advertised to any peer
Last update: Fri Jan 6 05:40:29 2017
 
300
24.1.1.2 (metric 20) from 10.1.1.2 (3.3.3.3)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 3 tx path_id: 3
Not advertised to any peer
Last update: Fri Jan 6 05:40:29 2017
R3
#show ip bgp neighbors 10.1.1.1
BGP neighbor is 10.1.1.1, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 2.2.2.2
BGP state = Established, up for 00:12:40
Last read 00:12:40, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 31 messages, 0 notifications, 0 in queue
Sent 31 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 17, neighbor version 17
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : advertised and received
Add-Path Receive Capability : advertised and received
Community attribute sent to this neighbor (both)
4 accepted prefixes
4 announced prefixes
 
Connections established 1; dropped 0
Local host: 10.1.1.2, Local port: 51842
Foreign host: 10.1.1.1, Foreign port: 179
Nexthop: 10.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
#show ip bgp
BGP table version is 42, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>i 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* i 12.1.1.2 0 100 0 200 i
* i 13.1.1.2 0 100 0 200 i
* i 14.1.1.2 0 100 0 200 i
*> 200.1.1.0 21.1.1.2 0 100 0 300 i
* 22.1.1.2 0 100 0 300 i
* 23.1.1.2 0 100 0 300 i
* 24.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
 
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
21.1.1.2 22.1.1.2 23.1.1.2 24.1.1.2
200
11.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal, best
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Fri Jan 6 05:36:49 2017
 
200
12.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 1 tx path_id: 1
Not advertised to any peer
Last update: Fri Jan 6 05:36:53 2017
 
200
13.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 2 tx path_id: 2
Not advertised to any peer
Last update: Fri Jan 6 05:36:57 2017
 
200
14.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 3 tx path_id: 3
Not advertised to any peer
Last update: Fri Jan 6 05:37:00 2017
 
#show ip bgp 200.1.1.0
BGP routing table entry for 200.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
22.1.1.2 23.1.1.2 24.1.1.2
300
21.1.1.2 from 21.1.1.2 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
10.1.1.1
Last update: Fri Jan 6 05:40:30 2017
 
300
22.1.1.2 from 22.1.1.2 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
10.1.1.1
Last update: Fri Jan 6 05:40:34 2017
 
300
23.1.1.2 from 23.1.1.2 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
10.1.1.1
Last update: Fri Jan 6 05:40:37 2017
 
300
24.1.1.2 from 24.1.1.2 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 3
Advertised to non peer-group peers:
10.1.1.1
Last update: Fri Jan 6 05:40:40 2017
Additional Paths at the Neighbor Level
Configure R2 to send all Additional Paths and R3 to receive all Additional Paths
R2
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 10.1.1.2 additional-paths send
Configure R2 to send additional paths to the iBGP neighbor R3
(config-router-af)#neighbor 10.1.1.2 advertise additional-paths all
Configure R2 to advertise all available paths to the iBGP neighbor R3
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
R3
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 10.1.1.1 additional-paths receive
Configure R3 to receive additional paths from the iBGP neighbor R2
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Validation
Verify that R2 sends all 4 paths to the route 100.1.1.0/24 to R3
R2
#show ip bgp neighbors 10.1.1.2
BGP neighbor is 10.1.1.2, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:00:26
Last read 00:00:26, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 26 messages, 1 notifications, 0 in queue
Sent 27 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 17, neighbor version 17
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : advertised
Add-Path Receive Capability : received
Community attribute sent to this neighbor (both)
1 accepted prefixes
1 announced prefixes
 
Connections established 3; dropped 2
Local host: 10.1.1.1, Local port: 50428
Foreign host: 10.1.1.2, Foreign port: 179
Nexthop: 10.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:00:31, due to BGP Notification received
Notification Error Message: (Cease/Other Configuration Change.)
 
#show ip bgp
BGP table version is 21, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* 12.1.1.2 0 100 0 200 i
* 13.1.1.2 0 100 0 200 i
* 14.1.1.2 0 100 0 200 i
*>i 200.1.1.0 21.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
 
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
12.1.1.2 13.1.1.2 14.1.1.2
200
11.1.1.2 from 11.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:02:02 2017
 
200
12.1.1.2 from 12.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:02:10 2017
 
200
13.1.1.2 from 13.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:01:48 2017
 
200
14.1.1.2 from 14.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 3
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:01:51 2017
R3
#show ip bgp neighbors 10.1.1.1
BGP neighbor is 10.1.1.1, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 2.2.2.2
BGP state = Established, up for 00:00:36
Last read 00:00:36, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 167 messages, 12 notifications, 0 in queue
Sent 171 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 91, neighbor version 91
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : received
Add-Path Receive Capability : advertised
Community attribute sent to this neighbor (both)
1 accepted prefixes
1 announced prefixes
 
Connections established 15; dropped 14
Local host: 10.1.1.2, Local port: 179
Foreign host: 10.1.1.1, Foreign port: 50428
Nexthop: 10.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:00:36, due to BGP Notification sent
Notification Error Message: (Cease/Other Configuration Change.)
 
#show ip bgp
BGP table version is 93, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>i 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* i 14.1.1.2 0 100 0 200 i
* i 13.1.1.2 0 100 0 200 i
* i 12.1.1.2 0 100 0 200 i
*> 200.1.1.0 21.1.1.2 0 100 0 300 i
* 22.1.1.2 0 100 0 300 i
* 23.1.1.2 0 100 0 300 i
* 24.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
 
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
21.1.1.2 22.1.1.2 23.1.1.2 24.1.1.2
200
11.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal, best
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Fri Jan 6 06:12:52 2017
 
200
14.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 3 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:13:03 2017
 
200
13.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:13:03 2017
 
200
12.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:13:03 2017
Configure R2 and R3 to Send and Receive all Additional Paths
R2
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 10.1.1.2 additional-paths send-receive
Configure R2 to send additional paths to and receive additional paths from the iBGP neighbor R3
(config-router-af)#neighbor 10.1.1.2 advertise additional-paths all
Configure R2 to advertise all available paths to the iBGP neighbor R3
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
R3
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 10.1.1.1 additional-paths send-receive
Configure R3 to send additional paths to and receive additional paths from the iBGP neighbor R2
(config-router-af)#neighbor 10.1.1.1 advertise additional-paths all
Configure R3 to advertise all available paths to the iBGP neighbor R2
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Validation
Verify that R2 sends all 4 paths to the route 100.1.1.0/24 to R3 and receives all 4 paths to the route 200.1.1.0/24 from R3
Verify that rx path_ids of all 4 paths to 200.1.1.0/24 received from R3 match the tx path_ids of 200.1.1.0/24 on R3
Verify that R3 sends all 4 paths to the route 200.1.1.0/24 to R2 and receives all 4 paths to the route 100.1.1.0/24 from R2
Verify that rx path_ids of all 4 paths to 100.1.1.0/24 received from R3 match the tx path_ids of 100.1.1.0/24 on R3
R2
#show ip bgp neighbors 10.1.1.2
BGP neighbor is 10.1.1.2, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:09:32
Last read 00:09:32, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 25 messages, 0 notifications, 0 in queue
Sent 25 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 12, neighbor version 12
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : advertised and received
Add-Path Receive Capability : advertised and received
Community attribute sent to this neighbor (both)
4 accepted prefixes
4 announced prefixes
 
Connections established 1; dropped 0
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 51842
Nexthop: 10.1.1.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
#show ip bgp
BGP table version is 41, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* 12.1.1.2 0 100 0 200 i
* 13.1.1.2 0 100 0 200 i
* 14.1.1.2 0 100 0 200 i
*>i 200.1.1.0 21.1.1.2 0 100 0 300 i
* i 22.1.1.2 0 100 0 300 i
* i 23.1.1.2 0 100 0 300 i
* i 24.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
 
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
12.1.1.2 13.1.1.2 14.1.1.2
200
11.1.1.2 from 11.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 05:36:35 2017
 
200
12.1.1.2 from 12.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 05:36:40 2017
 
200
13.1.1.2 from 13.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 05:36:43 2017
 
200
14.1.1.2 from 14.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 3
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 05:36:46 2017
 
#show ip bgp 200.1.1.0
BGP routing table entry for 200.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
11.1.1.2 12.1.1.2 13.1.1.2 14.1.1.2
300
21.1.1.2 (metric 20) from 10.1.1.2 (3.3.3.3)
Origin IGP, metric 0, localpref 100, valid, internal, best
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Fri Jan 6 05:40:21 2017
 
300
22.1.1.2 (metric 20) from 10.1.1.2 (3.3.3.3)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 1 tx path_id: 1
Not advertised to any peer
Last update: Fri Jan 6 05:40:25 2017
 
300
23.1.1.2 (metric 20) from 10.1.1.2 (3.3.3.3)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 2 tx path_id: 2
Not advertised to any peer
Last update: Fri Jan 6 05:40:29 2017
 
300
24.1.1.2 (metric 20) from 10.1.1.2 (3.3.3.3)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 3 tx path_id: 3
Not advertised to any peer
Last update: Fri Jan 6 05:40:29 2017
R3
#show ip bgp neighbors 10.1.1.1
BGP neighbor is 10.1.1.1, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 2.2.2.2
BGP state = Established, up for 00:12:40
Last read 00:12:40, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 31 messages, 0 notifications, 0 in queue
Sent 31 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 17, neighbor version 17
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : advertised and received
Add-Path Receive Capability : advertised and received
Community attribute sent to this neighbor (both)
4 accepted prefixes
4 announced prefixes
 
Connections established 1; dropped 0
Local host: 10.1.1.2, Local port: 51842
Foreign host: 10.1.1.1, Foreign port: 179
Nexthop: 10.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
#show ip bgp
BGP table version is 42, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>i 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* i 12.1.1.2 0 100 0 200 i
* i 13.1.1.2 0 100 0 200 i
* i 14.1.1.2 0 100 0 200 i
*> 200.1.1.0 21.1.1.2 0 100 0 300 i
* 22.1.1.2 0 100 0 300 i
* 23.1.1.2 0 100 0 300 i
* 24.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
 
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
21.1.1.2 22.1.1.2 23.1.1.2 24.1.1.2
200
11.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal, best
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Fri Jan 6 05:36:49 2017
 
200
12.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 1 tx path_id: 1
Not advertised to any peer
Last update: Fri Jan 6 05:36:53 2017
 
200
13.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 2 tx path_id: 2
Not advertised to any peer
Last update: Fri Jan 6 05:36:57 2017
 
200
14.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 3 tx path_id: 3
Not advertised to any peer
Last update: Fri Jan 6 05:37:00 2017
 
#show ip bgp 200.1.1.0
BGP routing table entry for 200.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
22.1.1.2 23.1.1.2 24.1.1.2
300
21.1.1.2 from 21.1.1.2 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
10.1.1.1
Last update: Fri Jan 6 05:40:30 2017
 
300
22.1.1.2 from 22.1.1.2 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
10.1.1.1
Last update: Fri Jan 6 05:40:34 2017
 
300
23.1.1.2 from 23.1.1.2 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
10.1.1.1
Last update: Fri Jan 6 05:40:37 2017
 
300
24.1.1.2 from 24.1.1.2 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 3
Advertised to non peer-group peers:
10.1.1.1
Last update: Fri Jan 6 05:40:40 2017
Additional Path Selection (Best2/Best3)
Selection of additional paths can be done at AF or at NEIGHBOR level. In case of selection configured at both levels, Neighbor level selection takes preference over Global Level selection.
Selection of Best 2 Additional Paths at Global Level
R2
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#bgp additional-paths send
Configure R2 to send additional paths to the iBGP neighbor R3
(config-router-af)#bgp additional-paths select best 2
Configure R2 to select best 2 out of all available paths to all iBGP neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Selection of Best 2 Additional Paths at Neighbor Level
R3
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 10.1.1.2 additional-paths send
Configure R2 to send additional paths to the iBGP neighbor R3
(config-router-af)#neighbor 10.1.1.2 advertise additional-paths best 2
Configure R2 to advertise best 2 out of all available paths to R3
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Validation
Verify that R2 sends only the best 2 paths out of 4 paths available for the route 100.1.1.0/24 to R3.
Verify on R2 that Transmit path ids(tx path_id) are allocated only for the best 2 paths to 100.1.1.0/24.
Verify on R2 that paths not selected have a tx path_id of ‘-1’
Verify that Receive path ids(rx path_id) on R3 match the tx path_ids on R2
R2
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
12.1.1.2 13.1.1.2 14.1.1.2
200
11.1.1.2 from 11.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:02:02 2017
 
200
12.1.1.2 from 12.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:02:10 2017
 
200
13.1.1.2 from 13.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:01:48 2017
 
200
14.1.1.2 from 14.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:01:51 2017
R3
#show ip bgp
BGP table version is 168, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>i 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* i 12.1.1.2 0 100 0 200 i
*> 200.1.1.0 21.1.1.2 0 100 0 300 i
* 22.1.1.2 0 100 0 300 i
* 23.1.1.2 0 100 0 300 i
* 24.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (2 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
21.1.1.2 22.1.1.2 23.1.1.2 24.1.1.2
200
11.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal, best
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Fri Jan 6 07:26:06 2017
 
200
12.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 07:27:02 2017
Selection of Best 3 Additional Paths at AF Level
R2
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router)#bgp additional-paths send
Configure R2 to send additional paths to the iBGP neighbor R3
(config-router)#bgp additional-paths select best 3
Configure R2 to select best 3 out of all available paths to all iBGP neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Selection of Best 3 Additional Paths at Neighbor Level
R2
 
#configure terminal
Enter the Configure mode.
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router)#neighbor 10.1.1.2 additional-paths send
Configure R2 to send additional paths to the iBGP neighbor R3
(config-router)#neighbor 10.1.1.2 advertise additional-paths best 3
Configure R2 to advertise best 3 out of all available paths to R3
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Validation
Verify that R2 sends only the best 3 paths out of 4 paths available for the route 100.1.1.0/24 to R3.
Verify on R2 that Transmit path ids(tx path_id) are allocated only for the best 3 paths to 100.1.1.0/24.
Verify that paths not selected have a tx path_id of ‘-1’
Verify that Receive path ids(rx path_id) on R3 match the tx path_ids on R2
R2
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (4 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
12.1.1.2 13.1.1.2 14.1.1.2
200
11.1.1.2 from 11.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:02:02 2017
 
200
12.1.1.2 from 12.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:02:10 2017
 
200
13.1.1.2 from 13.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
10.1.1.2
Last update: Fri Jan 6 06:01:48 2017
 
200
14.1.1.2 from 14.1.1.2 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, external
rx path_id: -1 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 06:01:51 2017
R3
#show ip bgp
BGP table version is 170, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>i 100.1.1.0/24 11.1.1.2 0 100 0 200 i
* i 13.1.1.2 0 100 0 200 i
* i 12.1.1.2 0 100 0 200 i
*> 200.1.1.0 21.1.1.2 0 100 0 300 i
* 22.1.1.2 0 100 0 300 i
* 23.1.1.2 0 100 0 300 i
* 24.1.1.2 0 100 0 300 i
 
Total number of prefixes 2
 
#show ip bgp 100.1.1.0
BGP routing table entry for 100.1.1.0/24
Paths: (3 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
21.1.1.2 22.1.1.2 23.1.1.2 24.1.1.2
200
11.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal, best
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Fri Jan 6 07:29:38 2017
 
200
13.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 07:30:05 2017
 
200
12.1.1.2 (metric 20) from 10.1.1.1 (2.2.2.2)
Origin IGP, metric 0, localpref 100, valid, internal
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Jan 6 07:30:05 2017
Verify that R2 sends all 4 paths to 100.1.1.0/24 to R3 with the BGP local preference path attribute set to 140
Verify that R2 sends only the best path to 100.1.1.0/24 to R3 with the BGP local preference path attribute set to 110
BGP Additional Paths for VPNv4
Overview
The Border Gateway Protocol (BGP) ADDPATH feature allows the advertisement of multiple paths through the same peering session for a given prefix without the new paths implicitly replacing any previous paths. This behavior promotes path diversity and reduces the severity of a network failure, thereby improving the control plane convergence in case of network failures.
Normal BGP Behavior
By default, all BGP routers and Route-Reflectors propagate only their best paths over their sessions. In case they advertise any route with the same NLRI as a previously advertised route, the latest one implicitly replaces the previous advertisement, which is known as an Implicit Withdraw. The Implicit Withdraw can achieve better scaling, but at the cost of path diversity.
The use of route-reflectors (or confederations), thus has significant effect on redundancy by hiding alternate paths. Using full-mesh is not an option, so a mechanism is needed to allow the propagation of multiple alternate paths in an RR/Confederation environment. Such mechanism is already available in BGP/MPLS VPN scenarios, where multiple point of attachments for CE sites could utilize different RD values to differentiate the same routes advertised from different connection points. However, a generic solution is required, allowing for advertising multiple alternate paths with IPv4 or any other address-family.
The “Advertisement of Multiple Paths in BGP” or “BGP Add-Path” as the feature is usually called is a BGP extension that allows the advertisement of multiple paths for the same address prefix without the new paths implicitly replacing any previously advertised ones.
BGP Behavior with ADDPATH
The advertisement of multiple paths in BGP is made possible by
Sending a BGP OPEN message to the neighbor with a BGP capability code of 69, which identifies the BGP ADD-PATH Capability.
Address Family Identifier (AFI)
2 octets
Subsequent Address Family Identifier (SAFI)
1 octet
Send/Receive
1 octet
The send/receive field in the BGP Capability TLV indicates whether for a given <AFI, SAFI>, the sender is able to :
Receive multiple paths from its peer (value 1)
Send multiple paths to its peer (value 2), or
both (value 3)
Each alternate path is identified by a Path Identifier in addition to the address prefix
Path Identifier
4 octets
Length
1 octet
Prefix
variable
In the event of a next-hop failure, the BGP Add-Path feature hence improves the BGP control plane convergence
Topology
BGP Add-Path VPNv4 Topology
Initial Configuration
CE1
 
#configure terminal
Enter configure mode
(config)#interface eth2
Enter Interface mode for eth2.
(config-if)#ip address 10.0.11.1/24
Assign IP address.
(config-if)#exit
Exit interface mode.
(config)#interface lo
Enter Interface mode for lo.
(config-if)#ip address 100.1.1.2/24
Assign IP address.
(config-if)#exit
Exit interface mode.
(config)#router bgp 65001
Enter BGP router mode.
(config-router)#neighbor 10.0.11.2 remote-as 100
Configure an eBGP neighbor on PE1
(config-router)#network 100.1.1.0/24
Announce the network 100.1.1.0/24 into BGP
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 10.0.11.2 activate
Activate eBGP neighbor on PE1
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
PE1
 
#configure terminal
Enter configure mode
(config)#ip vrf vrf1
Configure a VRF vrf1
(config-vrf)#rd 100:1
Configure the Route-Distinguisher ie., RD for vrf1
(config-vrf)#route-target both 200:1
Configure the Route-Target ie., RT to import and export the VPNv4 routes
(config-vrf)#exit
Exit the configure VRF mode
(config)#interface eth2
Configure the interface eth2
(config-if)#ip vrf forwarding vrf1
Configure the interface eth2 for IP VRF forwarding for vrf1
(config-if)#ip address 10.0.11.2/24
Configure the IP address for interface eth2
(config-if)#exit
Exit the interface mode for interface eth2
(config)#interface eth1
Configure the interface eth1
(config-if)#ip address 192.168.11.2/24
Configure the IP address for interface eth1
(config-if)#exit
Exit the interface mode for eth1
(config)#router bgp 100
Configure the BGP routing instance 100
(config-router)#neighbor 192.168.11.1 remote-as 100
Configure the neighbor address and remote-as for the 4 iBGP neighbors on RR
(config-router)#address-family vpnv4 unicast
Configure the address family VPNv4 under router BGP
(config-router-af)#neighbor 192.168.11.1 activate
Activate the IPv4 iBGP neighbors on RR for the VPNv4 address family
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#address-family ipv4 vrf vrf1
Configure the address family IPv4 VRF vrf1 under router BGP
(config-router-af)#neighbor 10.0.11.1 remote-as 65002
Configure the neighbor address and remote-as for the eBGP neighbor on CE1
(config-router-af)#neighbor 10.0.11.1 activate
Activate the eBGP neighbor on CE1 for the address family IPv4 VRF vrf1
(config-router-af)#exit
Exit the router BGP mode and return to the configure terminal mode
(config)#router ospf 100
Configure an OSPF routing instance
(config-router)#network 192.168.11.0/24 area 0
Define the interface eth1 to run OSPF and associate the area ID 0 with interface eth1
(config-router)#exit
Exit the router OSPF mode and return to the configure terminal mode
(config)#router ldp
Enter Router mode for LDP
(config-router)#exit
Exit the Router mode for LDP and return to the configure terminal mode
(config)#interface eth1
Enter interface mode for interfacec eth1
(config-if)#label-switching
Enable label-switching for interface eth1
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth1
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
RR
 
#configure terminal
Enter configure mode
(config)#interface eth2
Enter interface mode for interface eth2
(config-if)#ip address 192.168.11.1/24
Configure IP address for the interface eth2
(config-if)#exit
Exit the interface mode for eth2
(config)#interface eth6
Enter interface mode for interface eth6
(config-if)#ip address 192.168.21.1/24
Configure IP address for the interface eth6
(config-if)#exit
Exit the interface mode for eth6
(config)#interface eth10
Enter interface mode for interface eth10
(config-if)#ip address 192.168.22.1/24
Configure IP address for the interface eth10
(config-if)#exit
Exit the interface mode for eth10
(config)#interface eth11
Enter interface mode for interface eth11
(config-if)#ip address 192.168.23.1/24
Configure IP address for the interface eth11
(config-if)#exit
Exit the interface mode for eth11
(config)#interface eth12
Enter interface mode for interface eth12
(config-if)#ip address 192.168.24.1/24
Configure IP address for the interface eth12
(config-if)#exit
Exit the interface mode for eth12
(config)#router bgp 100
Enter the router BGP mode
(config-router)#neighbor 192.168.11.2 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on PE1
(config-router)#neighbor 192.168.21.2 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on interface eth1 of PE2
(config-router)#neighbor 192.168.22.2 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on interface eth3 of PE2
(config-router)#neighbor 192.168.23.2 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on interface eth4 of PE2
(config-router)#neighbor 192.168.24.2 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on interface eth5 of PE2
(config-router)#address-family vpnv4 unicast
Configure the address family VPNv4 under router BGP
(config-router-af)#neighbor 192.168.11.2 activate
Activate the IPv4 iBGP neighbor on PE1 for the VPNv4 address family
(config-router-af)#neighbor 192.168.21.2 activate
Activate the IPv4 iBGP neighbor on interface eth1 of PE2 for the VPNv4 address family
(config-router-af)#neighbor 192.168.22.2 activate
Activate the IPv4 iBGP neighbor on interface eth3 of PE2 for the VPNv4 address family
(config-router-af)#neighbor 192.168.23.2 activate
Activate the IPv4 iBGP neighbor on interface eth4 of PE2 for the VPNv4 address family
(config-router-af)#neighbor 192.168.24.2 activate
Activate the IPv4 iBGP neighbor on interface eth5 of PE2 for the VPNv4 address family
(config-router-af)#neighbor 192.168.11.2 route-reflector-client
Configure the VPNv4 neighbor on PE1 as route-reflector-client
(config-router-af)#neighbor 192.168.21.2 route-reflector-client
Configure the VPNv4 neighbor on interface eth1 of PE2 as route-reflector-client
(config-router-af)#neighbor 192.168.22.2 route-reflector-client
 
 
Configure the VPNv4 neighbor on interface eth3 of PE2 as route-reflector-client
(config-router-af)#neighbor 192.168.23.2 route-reflector-client
Configure the VPNv4 neighbor on interface eth4 of PE2 as route-reflector-client
(config-router-af)#neighbor 192.168.24.2 route-reflector-client
Configure the VPNv4 neighbor on interface eth5 of PE2 as route-reflector-client
(config-router-af)#exit
Exit the router BGP mode
(config)#router ospf 100
Configure an OSPF instance 100
(config-router)#network 192.168.11.0/24 area 0
Define the interface eth2 connected to PE1 to run OSPF and associate it with the backbone area ID 0
(config-router)#network 192.168.21.0/24 area 0
Define the interface eth6 connected to PE2 to run OSPF and associate it with the backbone area ID 0
(config-router)#network 192.168.22.0/24 area 0
Define the interface eth10 connected to PE2 to run OSPF and associate it with the backbone area ID 0
(config-router)#network 192.168.23.0/24 area 0
Define the interface eth11 connected to PE2 to run OSPF and associate it with the backbone area ID 0
(config-router)#network 192.168.24.0/24 area 0
Define the interface eth12 connected to PE2 to run OSPF and associate it with the backbone area ID 0
(config-router)#exit
Exit the router OSPF mode
(config)#router ldp
Enter Router mode for LDP
(config-router)#exit
Exit the Router mode for LDP
(config)#interface eth1
Enter interface mode for interface eth2
(config-if)#label-switching
Enable label-switching for interface eth2
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth2
(config-if)#exit
Exit the interface mode for eth2
(config)#interface eth6
Enter interface mode for interface eth6
(config-if)#label-switching
Enable label-switching for interface eth6
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth6
(config-if)#exit
Exit the interface mode for eth6
(config)#interface eth10
Enter interface mode for interface eth10
(config-if)#label-switching
Enable label-switching for interface eth10
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth10
(config-if)#exit
Exit the interface mode for eth10
(config)#interface eth11
Enter interface mode for interface eth11
(config-if)#label-switching
Enable label-switching for interface eth11
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth11
(config-if)#exit
Exit the interface mode for eth11
(config)#interface eth12
Enter interface mode for interface eth12
(config-if)#label-switching
Enable label-switching for interface eth12
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth12
(config)#commit
Apply commit
(config)#exit
exit the global mode
PE2
 
#configure terminal
Enter configure mode
(config)#ip vrf vrf1
Configure a VRF vrf1
(config-vrf)#rd 100:1
Configure the Route-Distinguisher ie., RD for vrf1
(config-vrf)#route-target both 200:1
Configure the Route-Target ie., RT to import and export the VPNv4 routes
(config-vrf)#exit
Exit the configure VRF mode
(config)#interface eth2
Configure the interface eth2
(config-if)#ip vrf forwarding vrf1
Configure the interface eth2 for IP VRF forwarding for vrf1
(config-if)#ip address 10.0.22.2/24
Configure the IP address for interface eth2
(config-if)#exit
Exit the interface mode for eth2
(config)#interface eth1
Configure the interface eth1
(config-if)#ip address 192.168.21.2/24
Configure the IP address for interface eth1
(config-if)#exit
Exit the interface mode for eth1
(config)#interface eth3
Configure the interface eth3
(config-if)#ip address 192.168.22.2/24
Configure the IP address for interface eth3
(config-if)#exit
Exit the interface mode for eth3
(config)#interface eth4
Configure the interface eth4
(config-if)#ip address 192.168.23.2/24
Configure the IP address for interface eth4
(config-if)#exit
Exit the interface mode for eth4
(config)#interface eth5
Configure the interface eth5
(config-if)#ip address 192.168.24.2/24
Configure the IP address for interface eth5
(config-if)#exit
Exit the interface mode for eth5
(config)#router bgp 100
Configure the BGP routing instance 100
(config-router)#neighbor 192.168.21.1 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on interface eth6 of PE2
(config-router)#neighbor 192.168.22.1 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on interface eth10 of PE2
(config-router)#neighbor 192.168.23.1 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on interface eth11 of PE2
(config-router)#neighbor 192.168.24.1 remote-as 100
Configure the neighbor address and remote-as for the iBGP neighbor on interface eth12 of PE2
(config-router)#address-family vpnv4 unicast
Configure the address family VPNv4 under router BGP
(config-router-af)#neighbor 192.168.21.1 activate
Activate the IPv4 iBGP neighbor on interface eth6 of PE2 for the VPNv4 address family
(config-router-af)#neighbor 192.168.22.1 activate
Activate the IPv4 iBGP neighbor on interface eth10 of PE2 for the VPNv4 address family
(config-router-af)#neighbor 192.168.23.1 activate
Activate the IPv4 iBGP neighbor on interface eth11 of PE2 for the VPNv4 address family
(config-router-af)#neighbor 192.168.24.1 activate
Activate the IPv4 iBGP neighbor on interface eth12 of PE2 for the VPNv4 address family
(config-router-af)#exit
Exit the router BGP address family VPNv4 mode
(config)#router bgp 100
Enter the router BGP mode
(config-router)#address-family ipv4 vrf vrf1
Configure the address family IPv4 VRF vrf1 under router BGP
(config-router-af)#neighbor 10.0.22.1 remote-as 65002
Configure the neighbor address and remote-as for the eBGP neighbor on CE2
(config-router-af)#neighbor 10.0.22.1 activate
Activate the 4 eBGP neighbor on CE2 for the address family IPv4 VRF vrf1
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config)#router ospf 100
Configure an OSPF instance 100
(config-router)#network 192.168.21.0/24 area 0
Define the interface eth1 connected to PE2 to run OSPF and associate it with the backbone area ID 0
(config-router)#network 192.168.22.0/24 area 0
Define the interface eth3 connected to PE2 to run OSPF and associate it with the backbone area ID 0
(config-router)#network 192.168.23.0/24 area 0
Define the interface eth4 connected to PE2 to run OSPF and associate it with the backbone area ID 0
(config-router)#network 192.168.24.0/24 area 0
Define the interface eth5 connected to PE2 to run OSPF and associate it with the backbone area ID 0
(config-router)#exit
Exit the router OSPF mode
(config)#router ldp
Enter Router mode for LDP
(config-router)#exit
Exit the Router mode for LDP
(config)#interface eth1
Enter interface mode for interface eth1
(config-if)#label-switching
Enable label-switching for interface eth1
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth1
(config-if)#exit
Exit the interface mode for eth1
(config)#interface eth3
Enter interface mode for interface eth3
(config-if)#label-switching
Enable label-switching for interface eth3
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth3
(config-if)#exit
Exit the interface mode for eth3
(config)#interface eth4
Enter interface mode for interface eth4
(config-if)#label-switching
Enable label-switching for interface eth4
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth4
(config-if)#exit
Exit the interface mode for eth4
(config)#interface eth5
Enter interface mode for interface eth5
(config-if)#label-switching
Enable label-switching for interface eth5
(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth5
(config-if)#exit
Return to the global mode
(config)#commit
Apply commit
(config)#exit
exit the global mode
CE2
 
#configure terminal
Enter configure mode
(config)#interface eth2
Enter Interface mode for eth2.
(config-if)#ip address 10.0.22.1/24
Assign IP address.
(config-if)#exit
Exit interface mode.
(config)#interface lo
Enter Interface mode for lo.
(config-if)#ip address 200.1.1.2/24
Assign IP address.
(config-if)#exit
Exit interface mode.
(config)#router bgp 65002
Enter BGP router mode.
(config-router)#neighbor 10.0.22.2 remote-as 100
Configure an eBGP neighbor on PE1
(config-router)#address-family ipv4 unicast
Configure the address family ipv4 under router BGP
(config-router-af)#neighbor 10.0.22.2 activate
Activate eBGP neighbor on PE1
(config-router-af)#network 200.1.1.0/24
Announce the network 200.1.1.0/24 into BGP
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Additional Paths Capability Send/Receive/Send-Receive and Additional Paths Selection All/Best 2/Best 3
Configure RR to Send All And Pe1 To Receive All Additional Paths at Address Family Vpnv4 Level
RR
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#bgp additional-paths send
Configure RR to send additional paths to all the VPNv4 neighbors
(config-router-af)#bgp additional-paths select all
Configure RR to select all available paths to send to all VPNv4 neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
PE1
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#bgp additional-paths receive
Configure PE1 to receive additional paths from all the VPNv4 neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit the router BGP mode and return to the configure mode
(config)#commit
Apply commit
(config)#exit
Exit the configure mode
Configure Rr To Send All and Pe1 To Receive All Additional Paths at Neighbor Level Address Family VPNv4
RR
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#neighbor 192.168.11.2 additional-paths send
Configure RR to send additional paths to the VPNv4 neighbor on PE1
(config-router-af)#neighbor 192.168.11.2 advertise additional-paths all
Configure RR to advertise all available paths to the VPNv4 neighbor on PE1
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
PE1
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#neighbor 192.168.11.1 additional-paths receive
Configure PE1 to receive additional paths from RR
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
Validation
RR
#show ip bgp neighbors 192.168.11.2
BGP neighbor is 192.168.11.2, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 192.168.11.2
BGP state = Established, up for 00:03:21
Last read 00:03:21, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family VPNv4 Unicast: advertised and received
Received 90 messages, 1 notifications, 0 in queue
Sent 94 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: VPNv4 Unicast
BGP table version 49, neighbor version 49
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : advertised
Add-Path Receive Capability : received
Route-Reflector Client
Community attribute sent to this neighbor (both)
1 accepted prefixes
4 announced prefixes
 
Connections established 3; dropped 2
Local host: 192.168.11.1, Local port: 179
Foreign host: 192.168.11.2, Foreign port: 53977
Nexthop: 192.168.11.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:03:26, due to BGP Notification received
Notification Error Message: (Cease/Other Configuration Change.)
 
#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1
*>i 100.1.1.0/24 192.168.11.2 0 100 0 65001 i
*>i 200.1.1.0 192.168.21.2 0 100 0 65002 i
* i 200.1.1.0 192.168.22.2 0 100 0 65002 i
* i 200.1.1.0 192.168.23.2 0 100 0 65002 i
* i 200.1.1.0 192.168.24.2 0 100 0 65002 i
Announced routes count = 0
Accepted routes count = 5
 
#show ip bgp vpnv4 all 200.1.1.0
Route Distinguisher: 100:1
65002, (Received from a RR-client)
192.168.21.2 from 192.168.21.2 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
192.168.11.2
Last update: Mon Jan 9 05:27:09 2017
 
65002, (Received from a RR-client)
192.168.22.2 from 192.168.22.2 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
192.168.11.2
Last update: Mon Jan 9 05:27:09 2017
 
65002, (Received from a RR-client)
192.168.23.2 from 192.168.23.2 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
192.168.11.2
Last update: Mon Jan 9 05:27:09 2017
 
65002, (Received from a RR-client)
192.168.24.2 from 192.168.24.2 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 3
Advertised to non peer-group peers:
192.168.11.2
Last update: Mon Jan 9 05:27:09 2017
PE1
#show ip bgp neighbors 192.168.11.1
BGP neighbor is 192.168.11.1, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 10.12.48.36
BGP state = Established, up for 00:46:03
Last read 00:46:03, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family VPNv4 Unicast: advertised and received
Received 179 messages, 1 notifications, 0 in queue
Sent 176 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP table version 83, neighbor version 82
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: VPNv4 Unicast
BGP table version 9, neighbor version 9
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : received
Add-Path Receive Capability : advertised
Community attribute sent to this neighbor (both)
4 accepted prefixes
0 announced prefixes
 
Connections established 3; dropped 2
Local host: 192.168.11.2, Local port: 53977
Foreign host: 192.168.11.1, Foreign port: 179
Nexthop: 192.168.11.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:46:08, due to BGP Notification sent
Notification Error Message: (Cease/Other Configuration Change.)
 
#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1 (Default for VRF vrf1)
*> 100.1.1.0/24 10.0.11.1 0 100 0 65001 i
*>i 200.1.1.0 192.168.24.2 0 100 0 65002 i
Announced routes count = 1
Accepted routes count = 1
Route Distinguisher: 100:1
*>i 200.1.1.0 192.168.24.2 0 100 0 65002 i
* i 200.1.1.0 192.168.23.2 0 100 0 65002 i
* i 200.1.1.0 192.168.22.2 0 100 0 65002 i
* i 200.1.1.0 192.168.21.2 0 100 0 65002 i
Announced routes count = 0
Accepted routes count = 4
 
#show ip bgp vpnv4 all 200.1.1.0
Route Distinguisher: 100:1 (Default for VRF vrf1)
65002
192.168.24.2 (metric 2) from 192.168.11.1 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
Originator: 192.168.24.2, Cluster list: 10.12.48.36
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Mon Jan 9 05:28:04 2017
 
Route Distinguisher: 100:1
65002
192.168.24.2 (metric 2) from 192.168.11.1 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
Originator: 192.168.24.2, Cluster list: 10.12.48.36
rx path_id: 3 tx path_id: 1
Not advertised to any peer
Last update: Mon Jan 9 05:28:04 2017
 
65002
192.168.23.2 (metric 2) from 192.168.11.1 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
Originator: 192.168.24.2, Cluster list: 10.12.48.36
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Mon Jan 9 05:28:04 2017
 
65002
192.168.22.2 (metric 2) from 192.168.11.1 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
Originator: 192.168.24.2, Cluster list: 10.12.48.36
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Mon Jan 9 05:28:04 2017
 
65002
192.168.21.2 (metric 2) from 192.168.11.1 (192.168.24.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
Originator: 192.168.24.2, Cluster list: 10.12.48.36
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Mon Jan 9 05:27:30 2017
Configure RR to Send Best 2 and Pe1 To Receive All Additional Paths at Address Family VPNv4 Level
RR
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#bgp additional-paths send
Configure RR to send additional paths to all the VPNv4 neighbors
(config-router-af)#bgp additional-paths select best 2
Configure RR to select best 2 available paths to send to all VPNv4 neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
PE1
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#bgp additional-paths receive
Configure PE1 to receive additional paths from all the VPNv4 neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
Configure RR to Send Best 2 and Pe1 To Receive All Additional Paths at Neighbor Level Address Family VPNv4
RR
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#neighbor 192.168.11.2 additional-paths send
Configure RR to send additional paths to the VPNv4 neighbor on PE1
(config-router-af)#neighbor 192.168.11.2 advertise additional-paths best 2
Configure RR to advertise best 2 out of all available paths to the VPNv4 neighbor on PE1
(config-router-af)#end
Return to the global mode
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
PE1
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#neighbor 192.168.11.1 additional-paths receive
Configure PE1 to receive additional paths from RR
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
Validation
RR
#show ip bgp vpnv4 all 200.1.1.0
Route Distinguisher: 100:1
65002, (Received from a RR-client)
192.168.21.2 from 192.168.21.2 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
192.168.11.2
Last update: Wed Jan 11 06:03:50 2017
 
65002, (Received from a RR-client)
192.168.22.2 from 192.168.22.2 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
192.168.11.2
Last update: Wed Jan 11 06:02:10 2017
 
65002, (Received from a RR-client)
192.168.23.2 from 192.168.23.2 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 1
Not advertised to any peer
Last update: Wed Jan 11 06:02:10 2017
 
65002, (Received from a RR-client)
192.168.24.2 from 192.168.24.2 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: -1
Not advertised to any peer
Last update: Wed Jan 11 06:02:10 2017
PE1
#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1 (Default for VRF vrf1)
*> 100.1.1.0/24 10.0.11.1 0 100 0 65001 i
*>i 200.1.1.0 192.168.21.2 0 100 0 65002 i
Announced routes count = 1
Accepted routes count = 1
Route Distinguisher: 100:1
*>i 200.1.1.0 192.168.21.2 0 100 0 65002 i
* i 200.1.1.0 192.168.22.2 0 100 0 65002 i
Announced routes count = 0
Accepted routes count = 2
 
#show ip bgp vpnv4 all 200.1.1.0
Route Distinguisher: 100:1 (Default for VRF vrf1)
65002
192.168.21.2 (metric 2) from 192.168.11.1 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
Originator: 192.168.21.2, Cluster list: 10.12.48.36
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Wed Jan 11 06:03:43 2017
 
Route Distinguisher: 100:1
65002
192.168.21.2 (metric 2) from 192.168.11.1 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
Originator: 192.168.21.2, Cluster list: 10.12.48.36
rx path_id: 2 tx path_id: 1
Not advertised to any peer
Last update: Wed Jan 11 06:03:43 2017
 
65002
192.168.22.2 (metric 2) from 192.168.11.1 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
Originator: 192.168.21.2, Cluster list: 10.12.48.36
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Wed Jan 11 06:02:05 2017
Configure RR to Send Best 3 and Pe1 to Receive All Additional Paths at Address Family VPNv4 Level
RR
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#bgp additional-paths send
Configure RR to send additional paths to all the VPNv4 neighbors
(config-router-af)#bgp additional-paths select best 3
Configure RR to select best 3 available paths to send to all VPNv4 neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
PE1
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#bgp additional-paths receive
Configure PE1 to receive additional paths from all the VPNv4 neighbors
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
Configure RR to Send Best 3 and Pe1 to Receive All Additional Paths at Neighbor Level Address Family VPNv4
RR
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#neighbor 192.168.11.2 additional-paths send
Configure RR to send additional paths to the VPNv4 neighbor on PE1
(config-router-af)#neighbor 192.168.11.2 advertise additional-paths best 3
Configure RR to advertise best 3 out of all available paths to the VPNv4 neighbor on PE1
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
PE1
 
#configure terminal
Enter configure mode
(config)#router bgp 100
Enter BGP router mode
(config-router)#address-family vpnv4 unicast
Enter address family VPNv4 unicast mode
(config-router-af)#neighbor 192.168.11.1 additional-paths receive
Configure PE1 to receive additional paths from RR
(config-router-af)#exit-address-family
Exit Address Family mode and return to Router mode.
(config-router)#exit
Exit Router BGP and Configure mode.
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
Validation
RR
#show ip bgp vpnv4 all 200.1.1.0
Route Distinguisher: 100:1
65002, (Received from a RR-client)
192.168.21.2 from 192.168.21.2 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
192.168.11.2
Last update: Wed Jan 11 06:03:50 2017
 
65002, (Received from a RR-client)
192.168.22.2 from 192.168.22.2 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
192.168.11.2
Last update: Wed Jan 11 06:02:10 2017
 
65002, (Received from a RR-client)
192.168.23.2 from 192.168.23.2 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
192.168.11.2
Last update: Wed Jan 11 06:02:10 2017
 
65002, (Received from a RR-client)
192.168.24.2 from 192.168.24.2 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
rx path_id: -1 tx path_id: -1
Not advertised to any peer
Last update: Wed Jan 11 06:02:10 2017
PE1
#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1 (Default for VRF vrf1)
*> 100.1.1.0/24 10.0.11.1 0 100 0 65001 i
*>i 200.1.1.0 192.168.23.2 0 100 0 65002 i
Announced routes count = 1
Accepted routes count = 1
Route Distinguisher: 100:1
*>i 200.1.1.0 192.168.23.2 0 100 0 65002 i
* i 200.1.1.0 192.168.22.2 0 100 0 65002 i
* i 200.1.1.0 192.168.21.2 0 100 0 65002 i
Announced routes count = 0
Accepted routes count = 3
 
#show ip bgp vpnv4 all 200.1.1.0
Route Distinguisher: 100:1 (Default for VRF vrf1)
65002
192.168.23.2 (metric 2) from 192.168.11.1 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
Originator: 192.168.21.2, Cluster list: 10.12.48.36
rx path_id: 0 tx path_id: 0
Not advertised to any peer
Last update: Wed Jan 11 06:24:47 2017
 
Route Distinguisher: 100:1
65002
192.168.23.2 (metric 2) from 192.168.11.1 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal, best
Extended Community: RT:200:1
Originator: 192.168.21.2, Cluster list: 10.12.48.36
rx path_id: 1 tx path_id: 1
Not advertised to any peer
Last update: Wed Jan 11 06:24:47 2017
 
65002
192.168.22.2 (metric 2) from 192.168.11.1 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
Originator: 192.168.21.2, Cluster list: 10.12.48.36
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Wed Jan 11 06:24:47 2017
 
65002
192.168.21.2 (metric 2) from 192.168.11.1 (192.168.21.2)
Origin IGP, metric 0, localpref 100, label 24320, valid, internal
Extended Community: RT:200:1
Originator: 192.168.21.2, Cluster list: 10.12.48.36
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Wed Jan 11 06:24:00 2017
Additional Paths for 6PE
This section contains the configuration of additional paths group best for 6PE.
Topology
Additional paths group best for 6PE
CE1: Interface
 
CE1#configure terminal
Enter configure mode.
CE1(config)#hostname CE1
Configure the hostname to CE1
CE1(config)#interface eth2
Enter the Interface mode for interface eth2.
CE1(config-if)#ipv6 address 1001::1/64
Configure IPV6 address for interface eth2
(config)#commit
Apply commit
(config)#exit
Exit Router BGP and Configure mode.
CE1: BGP
 
CE1(config)#router bgp 200
Enter BGP router mode
CE1(config-router)#neighbor 1001::2 remote-as 100
Configure BGP ipv6 neighbor on PE1
CE1(config-router)#address-family ipv6 unicast
Enter the address family ipv6
CE1(config-router-af)#neighbor 1001::2 activate
Activate neighbor under address family ipv6
CE1(config-router-af)#exit-address-family
Exit address family ipv6 unicast mode
CE1(config-router)#exit
Exit BGP router mode
CE1(config)#commit
Apply commit
CE1#clear bgp 1001::2
Clear BGP peer PE1
PE1: Interface
 
PE1#configure terminal
Enter configure mode.
PE1(config)#hostname PE1
Configure the hostname to PE1
PE1(config)#interface eth2
Enter the Interface mode for interface eth2
PE1(config-if)#ipv6 address 1001::2/64
Configure the IPv6 address for interface eth2
PE1(config-if)#exit
Exit interface mode
PE1(config)#interface lo
Enter the Interface mode for the loopback interface.
PE1(config-if)#ip address 1.1.1.1/32
Configure IPV4 address for loopback interface.
PE1(config-if)#exit
Exit interface mode
PE1(config)#interface eth1
Enter the Interface mode for interface eth1
PE1(config-if)#ip address 10.1.1.1/24
Configure the IP address for interface eth1
(config-if)#exit
Exit the interface level
(config)#commit
Apply commit
(config)#exit
Exit.
PE1: OSPF
 
PE1(config)#router ospf 1
Configure an OSPF instance 1
PE1(config-router)#network 10.1.1.0/24 area 0
Advertise the network towards P in Area 0
PE1(config-router)#network 1.1.1.1/32 area 0
Advertise the Loopback network in Area 0
PE1(config-router)#exit
Exit OSPF router mode
PE1(config)#commit
Apply commit
PE1(config)#exit
Exit the global mode
PE1: MPLS
 
PE1(config)#router ldp
Enable LDP Process
PE1(config-router)#transport-address ipv4 1.1.1.1
Configure Transport address for LDP
PE1(config-router)#exit
Exit router ldp mode
PE1(config)#interface eth1
Enter the interface mode for interface eth1
PE1(config-if)#label-switching
Enable label-switching on interface eth1
PE1(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth1
PE1(config-if)#exit
Exit the interface mode
PE1(config)#commit
Apply commit
PE1(config)#exit
Exit the global mode
PE1: BGP
 
PE1(config)#router bgp 100
Configure router bgp mode
PE1(config)#bgp router-id 1.1.1.1
Configure BGP router-id
PE1(config-router)#neighbor 2.2.2.2 remote-as 100
Configure BGP IPv4 neighbor on PE2
PE1(config-router)#neighbor 2.2.2.2 update-source 1.1.1.1
Configure the routing update source for RR as PE1's Loopback
PE1(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled unicast mode
PE1(config-router-af)#neighbor 2.2.2.2 activate
Activate the neighbor RR for address-family ipv6 labeled-unicast unicast
PE1(config-router-af)#exit-address-family
Exit address-family ipv6 labeled-unicast mode
PE1(config-router)#address-family ipv6 unicast
Enter BGP address-family ipv6 unocast mode
PE1(config-router)#neighbor 1001::1 remote-as 200
Configure BGP IPv6 neighbor on CE1
PE1(config-router-af)#exit-address-family
Exit address-family ipv6 unicast mode
PE1(config-router)#exit
Exit router bgp mode
PE1(config)#exit
Exit configure mode
PE1(config)#commit
Apply commit
RR: Interface
 
RR#configure terminal
Enter configure mode.
RR(config)#hostname RR
Configure hostname as RR
RR(config)#interface eth1
Enter interface mode for interface eth1
RR(config-if)#ip address 10.1.1.2/24
Configure IPv4 address for interface eth1
RR(config-if)#exit
Exit interface mode
RR(config)#interface eth2
Enter interface mode for interface eth2
RR(config-if)#ip address 20.1.1.2/24
Configure IPv4 address for interface eth2
RR(config-if)#exit
Exit interface mode
RR(config)#interface eth3
Enter interface mode for interface eth3
RR(config-if)#ip address 30.1.1.2/24
Configure IPv4 address for interface eth3
RR(config-if)#exit
Exit interface mode
RR(config)#interface eth4
Enter interface mode for interface eth4
RR(config-if)#ip address 40.1.1.2/24
Configure IPv4 address for interface eth4
RR(config-if)#exit
Exit interface mode
RR(config)#interface lo
Enter Interface mode for the loopback interface.
RR(config-if)#ip address 2.2.2.2/32
Configure IPV4 address for loopback interface.
RR(config-if)#exit
Exit Interface mode.
PE1(config)#commit
Apply commit
RR: OSPF
 
RR(config)#router ospf 1
Configure router OSPF instance 1
RR(config-router)#network 10.1.1.0/24 area 0
Advertise the network towards PE1 in area 0
RR(config-router)#network 20.1.1.0/24 area 0
Advertise the network towards PE2 in area 0
RR(config-router)#network 30.1.1.0/24 area 0
Advertise the network towards PE3 in area 0
RR(config-router)#network 40.1.1.0/24 area 0
Advertise the network towards PE4 in area 0
RR(config-router)#network 2.2.2.2/32 area 0
Advertise the Loopback network in area 0
RR(config-router)#exit
Exit the router ospf mode
RR(config)#commit
Apply commit
RR: MPLS
 
RR(config)#router ldp
Enable LDP Process
RR(config-router)#transport-address ipv4 2.2.2.2
Configure Transport address for LDP
RR(config-router)#exit
Exit router ldp mode
RR(config)#interface eth1
Enter the interface mode for interface eth1
RR(config-if)#label-switching
Enable label-switching on interface eth1
RR(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth1
RR(config-if)#exit
Exit interface mode
RR(config)#interface eth2
Enter the interface mode for interface eth2
RR(config-if)#label-switching
Enable label-switching on interface eth2
RR(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth2
RR(config-if)#exit
Exit interface mode
RR(config)#interface eth3
Enter the interface mode for interface eth3
RR(config-if)#label-switching
Enable label-switching on interface eth3
RR(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth3
RR(config-if)#exit
Exit interface mode
RR(config)#interface eth4
Enter the interface mode for interface eth4
RR(config-if)#label-switching
Enable label-switching on interface eth4
RR(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth4
RR(config-if)#exit
Exit interface mode
RR(config)#commit
Apply commit
RR(config)#exit
Exit the configure terminal mode
RR: BGP
 
RR(config)#router bgp 100
Configure router bgp mode
RR(config)#bgp router-id 2.2.2.2
Configure BGP router-id
RR(config-router)#neighbor 1.1.1.1 remote-as 100
Configure BGP neighbor on PE1
RR(config-router)#neighbor 1.1.1.1 update-source 2.2.2.2
Configure the routing update source for PE1 as RR's Loopback
RR(config-router)#neighbor 3.3.3.3 remote-as 100
Configure BGP neighbor on PE2
RR(config-router)#neighbor 3.3.3.3 update-source 2.2.2.2
Configure the routing update source for PE2 as RR's Loopback
RR(config-router)#neighbor 4.4.4.4 remote-as 100
Configure BGP neighbor on PE3
RR(config-router)#neighbor 4.4.4.4 update-source 2.2.2.2
Configure the routing update source for PE3 as RR's Loopback
RR(config-router)#neighbor 5.5.5.5 remote-as 100
Configure BGP neighbor on PE4
RR(config-router)#neighbor 5.5.5.5 update-source 2.2.2.2
Configure the routing update source for PE4 as RR's Loopback
RR(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled unicast mode
RR(config-router-af)#neighbor 1.1.1.1 activate
Activate the neighbor PE1 for address-family ipv6 lu unicast
RR(config-router-af)#neighbor 1.1.1.1 route-reflector-client
Configure PE1 as route-reflector-client
RR(config-router-af)#neighbor 3.3.3.3 activate
Activate the neighbor PE2 for address-family ipv6 lu unicast
RR(config-router-af)#neighbor 3.3.3.3 route-reflector-client
Configure PE2 as route-reflector-client
RR(config-router-af)#neighbor 4.4.4.4 activate
Activate the neighbor PE3 for address-family ipv6 lu unicast
RR(config-router-af)#neighbor 4.4.4.4 route-reflector-client
Configure PE3 as route-reflector-client
RR(config-router-af)#neighbor 5.5.5.5 activate
Activate the neighbor PE4 for address-family ipv6 lu unicast
RR(config-router-af)#neighbor 5.5.5.5 route-reflector-client
Configure PE4 as route-reflector-client
RR(config-router-af)#exit-address-family
Exit BGP address-family ipv6 lu unicast mode
RR(config-router)#exit
Exit router bgp mode
RR(config)#commit
Apply commit
RR(config)#exit
Exit configure mode
PE2: Interface
 
PE2#configure terminal
Enter configure mode.
PE2(config)#hostname PE2
Configure the hostname to PE2
PE2(config)#interface eth1
Enter the Interface mode for interface eth1
PE2(config-if)#ipv6 address 2001::1/64
Configure the IPv6 address for interface eth1
PE2(config-if)#exit
Exit interface mode
PE2(config)#interface lo
Enter the Interface mode for the loopback interface.
PE2(config-if)#ip address 3.3.3.3/32
Configure IPV4 address for loopback interface.
PE2(config-if)#exit
Exit interface mode
PE2(config)#interface eth2
Enter the Interface mode for interface eth2
PE2(config-if)#ip address 20.1.1.1/24
Configure the IP address for interface eth2
PE2(config-if)#exit
Exit configure mode
PE2(config)#commit
Apply commit
PE2: OSPF
 
PE2(config)#router ospf 1
Configure an OSPF instance 1
PE2(config-router)#network 20.1.1.0/24 area 0
Advertise the network towards RR in Area 0
PE2(config-router)#network 3.3.3.3/32 area 0
Advertise the Loopback network in Area 0
PE2(config-router)#exit
Exit OSPF router mode
PE2(config)#commit
Apply commit
PE2: MPLS
 
PE2(config)#router ldp
Enable LDP Process
PE2(config-router)#transport-address ipv4 3.3.3.3
Configure Transport address for LDP
PE2(config-router)#exit
Exit router ldp mode
PE2(config)#interface eth2
Enter the interface mode for interface eth2
PE2(config-if)#label-switching
Enable label-switching on interface eth2
PE2(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth2
PE2(config-if)#exit
Exit interface mode
PE2(config)#commit
Apply commit
PE2: BGP
 
PE2(config)#router bgp 100
Configure router bgp mode
PE2(config)#bgp router-id 3.3.3.3
Configure BGP router-id
PE2(config-router)#neighbor 2.2.2.2 remote-as 100
Configure BGP IPv4 neighbor on RR
PE2(config-router)#neighbor 2.2.2.2 update-source 3.3.3.3
Configure the routing update source for RR as PE2's Loopback
PE2(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
PE2(config-router-af)#neighbor 2.2.2.2 activate
Activate the neighbor RR for address-family ipv6 labeled-unicast
PE2(config-router-af)#exit-address-family
Exit address-family ipv6 labeled-unicast mode
PE2(config-router)#address-family ipv6 unicast
Enter BGP address-family ipv6 unicast mode
PE2(config-router)#neighbor 2001::2 remote-as 300
Configure BGP IPv6 neighbor on CE2
PE2(config-router-af)#exit-address-family
Exit address-family ipv6 unicast mode
PE2(config-router)#exit
Exit router bgp mode
PE2(config)#commit
Apply commit
PE2(config)#exit
Exit configure mode
PE2#clear bgp ipv6 unicast 2001::2 unicast
Clear BGP neighbor CE2
PE3: Interface
 
PE3#configure terminal
Enter configure mode.
PE3(config)#hostname PE3
Configure the hostname to PE3
PE3(config)#interface eth1
Enter the Interface mode for interface eth1
PE3(config-if)#ipv6 address 3001::1/64
Configure the IPv6 address for interface eth1
PE3(config-if)#exit
Exit interface mode
PE3(config)#interface lo
Enter the Interface mode for the loopback interface.
PE3(config-if)#ip address 4.4.4.4/32
Configure IPV4 address for loopback interface.
PE3(config-if)#exit
Exit interface mode
PE3(config)#interface eth3
Enter the Interface mode for interface eth3
PE3(config-if)#ip address 30.1.1.1/24
Configure the IP address for interface eth3
PE3(config-if)#exit
Exit interface mode
PE3(config)#commit
Apply commit
PE3: OSPF
 
PE3(config)#router ospf 1
Configure an OSPF instance 1
PE3(config-router)#network 30.1.1.0/24 area 0
Advertise the network towards RR in Area 0
PE3(config-router)#network 4.4.4.4/32 area 0
Advertise the Loopback network in Area 0
PE3(config-router)#exit
Exit OSPF router mode
PE3(config)#commit
Apply commit
PE3: MPLS
 
PE3(config)#router ldp
Enable LDP Process
PE3(config-router)#transport-address ipv4 4.4.4.4
Configure Transport address for LDP
PE3(config-router)#exit
Exit router ldp mode
PE3(config)#interface eth3
Enter the interface mode for interface eth3
PE3(config-if)#label-switching
Enable label-switching on interface eth3
PE3(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth3
PE3(config-if)#exit
Exit interface mode
PE3(config)#commit
Apply commit
PE3: BGP
 
PE3(config)#router bgp 100
Configure router bgp mode
PE3(config)#bgp router-id 4.4.4.4
Configure BGP router-id
PE3(config-router)#neighbor 2.2.2.2 remote-as 100
Configure BGP IPv4 neighbor on RR
PE3(config-router)#neighbor 2.2.2.2 update-source 4.4.4.4
Configure the routing update source for RR as PE3's Loopback
PE3(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
PE3(config-router-af)#neighbor 2.2.2.2 activate
Activate the neighbor RR for address-family ipv6 labeled-unicast
PE3(config-router-af)#exit-address-family
Exit address-family ipv6 labeled-unicast mode
PE3(config-router)#address-family ipv6 unicast
Enter BGP address-family ipv6 unicast mode
PE3(config-router)#neighbor 3001::2 remote-as 300
Configure BGP IPv6 neighbor on CE2
PE3(config-router-af)#exit-address-family
Exit address-family ipv6 unicast mode
PE3(config-router)#exit
Exit router bgp mode
PE3(config)#commit
Apply commit
PE3(config)#exit
Exit configure mode
PE4: Interface
 
PE4#configure terminal
Enter configure mode.
PE4(config)#hostname PE4
Configure the hostname to PE4
PE4(config)#interface eth1
Enter the Interface mode for interface eth1
PE4(config-if)#ipv6 address 4001::1/64
Configure the IPv6 address for interface eth1
PE4(config-if)#exit
Exit interface mode
PE4(config)#interface lo
Enter the Interface mode for the loopback interface.
PE4(config-if)#ip address 5.5.5.5/32
Configure IPV4 address for loopback interface.
PE4(config-if)#exit
Exit interface mode
PE4(config)#interface eth4
Enter the Interface mode for interface eth4
PE4(config-if)#ip address 40.1.1.1/24
Configure the IP address for interface eth4
PE4(config-if)#exit
Exit interface mode
PE4(config)#commit
Apply commit
 
PE4: OSPF
 
PE4(config)#router ospf 1
Configure an OSPF instance 1
PE4(config-router)#network 40.1.1.0/24 area 0
Advertise the network towards RR in Area 0
PE4(config-router)#network 5.5.5.5/32 area 0
Advertise the Loopback network in Area 0
PE4(config-router)#exit
Exit OSPF router mode
PE4(config)#commit
Apply commit
PE4: MPLS
 
PE4(config)#router ldp
Enable LDP Process
PE4(config-router)#transport-address ipv4 5.5.5.5
Configure Transport address for LDP
PE4(config-router)#exit
Exit router ldp mode
PE4(config)#interface eth4
Enter the interface mode for interface eth4
PE4(config-if)#label-switching
Enable label-switching on interface eth4
PE4(config-if)#enable-ldp ipv4
Enable LDP for IPv4 on interface eth4
PE4(config-if)#exit
Exit interface mode
PE4(config)#commit
Apply commit
PE4: BGP
 
PE4(config)#router bgp 100
Configure router bgp mode
PE4(config)#bgp router-id 5.5.5.5
Configure BGP router-id
PE4(config-router)#neighbor 2.2.2.2 remote-as 100
Configure BGP IPv4 neighbor on RR
PE4(config-router)#neighbor 2.2.2.2 update-source 5.5.5.5
Configure the routing update source for RR as PE4's Loopback
PE4(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
PE4(config-router-af)#neighbor 2.2.2.2 activate
Activate the neighbor RR for address-family ipv6 labeled-unicast
PE4(config-router-af)#exit-address-family
Exit address-family ipv6 labeled-unicast mode
PE4(config-router)#address-family ipv6 unicast
Enter BGP address-family ipv6 unicast mode
PE4(config-router)#neighbor 4001::2 remote-as 300
Configure BGP IPv6 neighbor on CE2
PE4(config-router-af)#exit-address-family
Exit address-family ipv6 unicast mode
PE4(config-router)#exit
Exit router bgp mode
PE4(config)#commit
Apply commit
PE4(config)#exit
Exit configure mode
CE2: Interface
 
CE2#configure terminal
Enter configure mode.
CE2(config)#hostname CE2
Configure the hostname to CE2
CE2(config)#interface eth1
Enter the Interface mode for interface eth1
CE2(config-if)#ipv6 address 2001::2/64
Configure IPV6 address for interface eth1
CE2(config-if)#exit
Exit Interface mode.
CE2(config)#interface eth2
Enter the Interface mode for interface eth2
CE2(config-if)#ipv6 address 3001::2/64
Configure IPV6 address for interface eth2
CE2(config-if)#exit
Exit Interface mode.
CE2(config)#interface eth3
Enter the Interface mode for interface eth3
CE2(config-if)#ipv6 address 4001::2/64
Configure IPV6 address for interface eth3
CE2(config-if)#exit
Exit Interface mode.
CE2(config)#interface lo
Enter the Interface mode for interface Loopback
CE2(config-if)#ipv6 address 2222::2/128
Configure IPV6 address for interface Loopback
CE2(config-if)#exit
Exit Interface mode.
CE2(config)#commit
Apply commit
CE2: BGP
 
CE2(config)#router bgp 300
Enter BGP router mode
CE2(config-router)#neighbor 2001::1 remote-as 100
Configure BGP ipv6 neighbor on PE2
CE2(config-router)#neighbor 3001::1 remote-as 100
Configure BGP ipv6 neighbor on PE3
CE2(config-router)#neighbor 4001::1 remote-as 100
Configure BGP ipv6 neighbor on PE4
CE2(config-router)#address-family ipv6 unicast
Enter the address family ipv6
CE2(config-router-af)#neighbor 2001::1 activate
Activate neighbor under address family ipv6
CE2(config-router-af)#neighbor 3001::1 activate
Activate neighbor under address family ipv6
CE2(config-router-af)#neighbor 4001::1 activate
Activate neighbor under address family ipv6
CE2(config-router-af)#network 2222::2/128
Advertise the IPv6 prefix of Loopback into BGP
CE2(config-router-af)#exit-address-family
Exit address family ipv6 unicast mode
CE2(config-router)#exit
Exit BGP router mode
CE2(config)#commit
Apply commit
CE2(config)#exit
Exit configure mode
BGP Addpath Capability for ipv6 labeled-unicast Unicast Address-family
RR
 
RR(config)#router bgp 100
Configure router bgp mode
RR(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
RR(config-router-af)#bgp additional-paths select all
Configure RR to select all addpaths
RR(config-router-af)#bgp additional-paths send
Configure BGP addpath send capability under address-family ipv6 labeled-unicast
(config-router-af)#exit-address-family
Exit bgp address-family mode.
(config-router)#exit
Exit Router BGP mode.
(config)#commit
Apply commit
(config)#exit
Exit Configure mode.
PE1
 
PE1(config)#router bgp 100
Configure router bgp mode
PE1(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
PE1(config-router-af)#neighbor 2.2.2.2 additional-paths receive
Configure BGP addpath receive capability for the 6pe-neighbor RR under address-family ipv6 labeled-unicast
PE1(config-router-af)#neighbor 2.2.2.2 additional-paths receive
 
Configure BGP addpath receive capability for the 6pe-neighbor RR under address-family ipv6 labeled-unicast
PE1(config-router-af)#exit-address-family
Exit bgp address-family mode.
PE1(config-router)#exit
Exit Router BGP mode.
PE1(config)#commit
Apply commit
PE1(config)#exit
Exit Configure mode.
PE2
 
PE2(config)#router bgp 100
Configure router bgp mode
PE2(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
PE2(config-router-af)#bgp additional-paths receive
Configure BGP addpath receive capability under address-family ipv6 labeled-unicast
(config-router-af)#exit-address-family
Exit bgp address-family mode.
(config-router)#exit
Exit Router BGP mode.
(config)#commit
Apply commit
(config)#exit
Exit Configure mode.
PE3
 
PE3(config)#router bgp 100
Configure router bgp mode
PE3(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
PE3(config-router-af)#bgp additional-paths receive
Configure BGP addpath receive capability under address-family ipv6 labeled-unicast
PE3(config-router-af)#exit-address-family
Exit bgp address-family mode.
PE3(config-router)#exit
Exit Router BGP mode.
PE3(config)#commit
Apply commit
PE3(config)#exit
Exit Configure mode.
PE4
 
PE4(config)#router bgp 100
Configure router bgp mode
PE4(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
PE4(config-router-af)#bgp additional-paths receive
Configure BGP addpath receive capability under address-family ipv6 labeled-unicast
PE4(config-router-af)#exit-address-family
Exit bgp address-family mode.
PE4(config-router)#exit
Exit Router BGP mode.
PE4(config)#commit
Apply commit
PE4(config)#exit
Exit Configure mode.
Validation
RR
Add-Path Send Capability Advertised to and Received From 6pe Peers:
 
RR#show bgp neighbors 1.1.1.1
BGP neighbor is 1.1.1.1, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 1.1.1.1
BGP state = Established, up for 00:03:03
Last read 00:03:03, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family IPv6 Labeled-Unicast Unicast: advertised and received
Received 35 messages, 0 notifications, 0 in queue
Sent 41 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is 2.2.2.2
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
AIGP is enabled
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: IPv6 Labeled-Unicast Unicast
BGP table version 6, neighbor version 6
Index 1, Offset 0, Mask 0x2
AF-dependant capabilities:
Add-Path Send Capability : advertised
Add-Path Receive Capability : received
Route-Reflector Client
Community attribute sent to this neighbor (both)
0 accepted prefixes
3 announced prefixes
 
Connections established 2; dropped 1
Local host: 2.2.2.2, Local port: 57154
Foreign host: 1.1.1.1, Foreign port: 179
Nexthop: 2.2.2.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:03:08, due to BGP Notification sent
Notification Error Message: (Cease/Other Configuration Change.)
RR#
 
 
RR#show bgp neighbors 3.3.3.3
BGP neighbor is 3.3.3.3, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:05:20
Last read 00:05:20, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family IPv6 Labeled-Unicast Unicast: advertised and received
Received 41 messages, 0 notifications, 0 in queue
Sent 44 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is 2.2.2.2
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 2, Offset 0, Mask 0x4
AIGP is enabled
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: IPv6 Labeled-Unicast Unicast
BGP table version 6, neighbor version 6
Index 2, Offset 0, Mask 0x4
AF-dependant capabilities:
Add-Path Send Capability : advertised
Add-Path Receive Capability : received
Route-Reflector Client
Community attribute sent to this neighbor (both)
1 accepted prefixes
2 announced prefixes
 
Connections established 2; dropped 1
Local host: 2.2.2.2, Local port: 179
Foreign host: 3.3.3.3, Foreign port: 32841
Nexthop: 2.2.2.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:05:25, due to BGP Notification sent
Notification Error Message: (Cease/Other Configuration Change.)
RR#
 
 
RR#show bgp neighbors 4.4.4.4
BGP neighbor is 4.4.4.4, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 4.4.4.4
BGP state = Established, up for 00:05:47
Last read 00:05:47, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family IPv6 Labeled-Unicast Unicast: advertised and received
Received 42 messages, 0 notifications, 0 in queue
Sent 46 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is 2.2.2.2
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 3, Offset 0, Mask 0x8
AIGP is enabled
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: IPv6 Labeled-Unicast Unicast
BGP table version 6, neighbor version 6
Index 3, Offset 0, Mask 0x8
AF-dependant capabilities:
Add-Path Send Capability : advertised
Add-Path Receive Capability : received
Route-Reflector Client
Community attribute sent to this neighbor (both)
1 accepted prefixes
2 announced prefixes
 
Connections established 2; dropped 1
Local host: 2.2.2.2, Local port: 179
Foreign host: 4.4.4.4, Foreign port: 42015
Nexthop: 2.2.2.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:05:47, due to BGP Notification received
Notification Error Message: (Cease/Administratively Reset.)
RR#
 
 
RR#show bgp neighbors 5.5.5.5
BGP neighbor is 5.5.5.5, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 5.5.5.5
BGP state = Established, up for 00:07:58
Last read 00:07:58, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family IPv6 Labeled-Unicast Unicast: advertised and received
Received 47 messages, 0 notifications, 0 in queue
Sent 49 messages, 1 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is 2.2.2.2
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 4, Offset 0, Mask 0x10
AIGP is enabled
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: IPv6 Labeled-Unicast Unicast
BGP table version 6, neighbor version 6
Index 4, Offset 0, Mask 0x10
AF-dependant capabilities:
Add-Path Send Capability : advertised
Add-Path Receive Capability : received
Route-Reflector Client
Community attribute sent to this neighbor (both)
1 accepted prefixes
2 announced prefixes
 
Connections established 2; dropped 1
Local host: 2.2.2.2, Local port: 52433
Foreign host: 5.5.5.5, Foreign port: 179
Nexthop: 2.2.2.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:08:03, due to BGP Notification sent
Notification Error Message: (Cease/Other Configuration Change.)
IPV6 LABELED-UNICAST Prefix Advertised to All 6pe Peers With All Addpaths:
 
RR#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
*ail ::ffff:4.4.4.4 0 100 0 300 i
*ail ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 3
RR#
 
RR#show bgp ipv6 labeled-unicast2222::2
 
300, (Received from a RR-client)
::ffff:3.3.3.3 (metric 11) from 3.3.3.3 (3.3.3.3)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
1.1.1.1 4.4.4.4 5.5.5.5
Last update: Fri Mar 15 04:09:48 2019
 
300, (Received from a RR-client)
::ffff:4.4.4.4 (metric 11) from 4.4.4.4 (4.4.4.4)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, add-path
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
1.1.1.1 3.3.3.3 5.5.5.5
Last update: Fri Mar 15 04:09:48 2019
 
300, (Received from a RR-client)
::ffff:5.5.5.5 (metric 11) from 5.5.5.5 (5.5.5.5)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, add-path
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
1.1.1.1 3.3.3.3 4.4.4.4
Last update: Fri Mar 15 04:09:48 2019
PE1
 
PE1#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 3
PE1#
PE2
 
PE2#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>il 2222::2/128 ::ffff:4.4.4.4 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 2
PE2#
PE2#show bgp ipv6 labeled-unicast 2222::2
300
2001::2(fe80::5054:ff:fe18:619a) from 2001::2 (10.12.65.71)
(fe80::5054:ff:fe18:619a)
Origin IGP, metric 0, localpref 100, valid, external, best
Not advertised to any peer
Last update: Fri Mar 15 03:57:09 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:10:00 2019
 
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:10:00 2019
 
300
::ffff:5.5.5.5 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 5.5.5.5, Cluster list: 2.2.2.2
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:10:00 2019
PE3
 
PE3#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 2
PE3#
PE3#show bgp ipv6 labeled-unicast 2222::2
BGP routing table entry for 2222::2
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:09:56 2019
 
300
::ffff:5.5.5.5 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 5.5.5.5, Cluster list: 2.2.2.2
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:10:00 2019
PE4
 
PE4#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 1
PE4#
PE4#show bgp ipv6 labeled-unicast 2222::2
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:09:57 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:09:57 2019
CE1
 
CE1#show bgp ipv6
BGP table version is 2, local router ID is 10.12.65.70
Status codes: s suppressed, d damped, h history, a add-path, g group-best, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 2222::2/128 1001::2(fe80::5054:ff:feaa:791f)
0 100 0 100 300 i
 
Total number of prefixes 1
BGP Addpath Selection Configuration Best 2 Under Address-family ipv6 labeled-unicast
RR
 
RR(config)#router bgp 100
Configure router bgp mode
RR(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
RR(config-router-af)#no bgp additional-paths select all
Unconfigure RR to select All addpaths
RR(config-router-af)#bgp additional-paths select best 2
Configure RR to select best 2 addpaths
RR(config-router-af)#exit-address-family
Exit bgp address-family mode.
RR(config-router)#exit
Exit Router BGP mode.
RR(config)#commit
Apply commit
RR(config)#exit
Exit Configure mode.
Validation
RR
 
RR#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
*ail ::ffff:4.4.4.4 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 3
RR#
RR#
RR#show bgp ipv6 labeled-unicast2222::2
 
300, (Received from a RR-client)
::ffff:3.3.3.3 (metric 11) from 3.3.3.3 (3.3.3.3)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
1.1.1.1 4.4.4.4 5.5.5.5
Last update: Fri Mar 15 04:09:48 2019
 
300, (Received from a RR-client)
::ffff:4.4.4.4 (metric 11) from 4.4.4.4 (4.4.4.4)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, add-path
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
1.1.1.1 3.3.3.3 5.5.5.5
Last update: Fri Mar 15 04:09:48 2019
 
300, (Received from a RR-client)
::ffff:5.5.5.5 (metric 11) from 5.5.5.5 (5.5.5.5)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Not advertised to any peer
Last update: Fri Mar 15 04:09:48 2019
PE1
 
PE1#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
(Default for Unicast)
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 1
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 2
PE1#
PE1#show bgp ipv6 labeled-unicast2222::2
(Default for Unicast)
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:10:00 2019
 
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:36:25 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:37:00 2019
PE2
 
PE2#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
(Default for Unicast)
*> 2222::2/128 2001::2(fe80::5054:ff:fe18:619a)
0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
Announced routes count = 1
Accepted routes count = 1
 
*>il 2222::2/128 ::ffff:4.4.4.4 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 1
PE2#
PE2#show bgp ipv6 labeled-unicast2222::2
 
300
2001::2(fe80::5054:ff:fe18:619a) from 2001::2 (10.12.65.71)
(fe80::5054:ff:fe18:619a)
Origin IGP, metric 0, localpref 100, valid, external, best
Not advertised to any peer
Last update: Fri Mar 15 03:57:09 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:37:00 2019
 
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:37:00 2019
PE3
 
PE3#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 1
PE3#
PE3#show bgp ipv6 labeled-unicast2222::2
 
300
3001::2(fe80::5054:ff:feee:e4fc) from 3001::2 (10.12.65.71)
(fe80::5054:ff:feee:e4fc)
Origin IGP, metric 0, localpref 100, valid, external, best
Not advertised to any peer
Last update: Fri Mar 15 03:56:59 2019
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 04:09:56 2019
 
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:36:22 2019
PE4
 
PE4#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 2
PE4#
PE4#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:36:26 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:36:59 2019
BGP Addpath Selection Configuration Best 3 Under Address-family ipv6 labeled-unicast
RR
 
RR(config)#router bgp 100
Configure router bgp mode
RR(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
RR(config-router-af)#no bgp additional-paths select best
Unconfigure RR to select Best 2 addpaths
RR(config-router-af)#bgp additional-paths select best 3
Configure RR to select best 3 addpaths
RR(config-router-af)#exit-address-family
Exit bgp address-family mode.
RR(config-router)#exit
Exit Router BGP mode.
RR(config)#commit
Apply commit
RR(config)#exit
Exit Configure mode.
Validation
RR
 
RR#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
*ail ::ffff:4.4.4.4 0 100 0 300 i
*ail ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 3
RR#
RR#show bgp ipv6 labeled-unicast2222::2
 
300, (Received from a RR-client)
::ffff:3.3.3.3 (metric 11) from 3.3.3.3 (3.3.3.3)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
1.1.1.1 4.4.4.4 5.5.5.5
Last update: Fri Mar 15 04:09:48 2019
 
300, (Received from a RR-client)
::ffff:4.4.4.4 (metric 11) from 4.4.4.4 (4.4.4.4)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, add-path
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
1.1.1.1 3.3.3.3 5.5.5.5
Last update: Fri Mar 15 04:09:48 2019
 
300, (Received from a RR-client)
::ffff:5.5.5.5 (metric 11) from 5.5.5.5 (5.5.5.5)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, add-path
rx path_id: -1 tx path_id: 2
Advertised to non peer-group peers:
1.1.1.1 3.3.3.3 4.4.4.4
Last update: Fri Mar 15 04:09:48 2019
PE1
 
PE1#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 3
PE1#
PE1#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:27 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:58 2019
 
300
::ffff:5.5.5.5 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 5.5.5.5, Cluster list: 2.2.2.2
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:58 2019
PE2
 
PE2#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
 
*>il 2222::2/128 ::ffff:4.4.4.4 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 2
PE2#
PE2#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:59 2019
 
300
::ffff:5.5.5.5 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 5.5.5.5, Cluster list: 2.2.2.2
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:59 2019
PE3
 
PE3#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 2
PE3#
PE3#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:26 2019
 
300
::ffff:5.5.5.5 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 5.5.5.5, Cluster list: 2.2.2.2
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:57 2019
PE4
 
PE4#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 2
PE4#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:28 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 05:55:59 2019
BGP Addpath Selection Configuration all At Neighbor-level under Address-family ipv6 labeled-unicast
RR
 
RR(config)#router bgp 100
Configure router bgp mode
RR(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
RR(config-router-af)#neighbor 1.1.1.1 advertise additional-paths all
Configure RR to advertise All addpaths to PE1
RR(config-router-af)#exit-address-family
Exit bgp address-family mode.
RR(config-router)#exit
Exit Router BGP mode.
RR(config)#commit
Apply commit
RR(config)#exit
Exit Configure mode.
Validation
PE1
 
PE1#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 3
PE1#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 06:12:37 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 06:12:57 2019
 
300
::ffff:5.5.5.5 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 5.5.5.5, Cluster list: 2.2.2.2
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 06:12:57 2019
BGP Addpath Selection Configuration Best 2 at Neighbor-level under Address-family ipv6 labeled-unicast
RR
 
RR(config)#router bgp 100
Configure router bgp mode
RR(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
RR(config-router-af)#no neighbor 1.1.1.1 advertise additional-paths all
Configure RR to advertise All addpaths to PE1
RR(config-router-af)#neighbor 1.1.1.1 advertise additional-paths best 2
Configure RR to advertise Best 2 addpaths to PE1
RR(config-router-af)#exit-address-family
Exit bgp address-family mode.
RR(config-router)#exit
Exit Router BGP mode.
RR(config)#commit
Apply commit
RR(config)#exit
Exit Configure mode.
Validation
PE1
 
PE1#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 2
PE1#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 06:19:18 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 06:19:58 2019
BGP Addpath Selection Configuration Best 3 At Neighbor-level under Address-family ipv6 labeled-unicast
RR
 
RR(config)#router bgp 100
Configure router bgp mode
RR(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
RR(config-router-af)#no neighbor 1.1.1.1 advertise additional-paths best
Configure RR to advertise All addpaths to PE1
RR(config-router-af)#neighbor 1.1.1.1 advertise additional-paths best 3
Configure RR to advertise Best 3 addpaths to PE1
RR(config-router-af)#exit-address-family
Exit bgp address-family mode.
RR(config-router)#exit
Exit Router BGP mode.
RR(config)#commit
Apply commit
RR(config)#exit
Exit Configure mode.
Validation
PE1
 
PE1#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
* il ::ffff:4.4.4.4 0 100 0 300 i
* il ::ffff:5.5.5.5 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 3
PE1#
PE1#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
rx path_id: 0 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 06:21:35 2019
 
300
::ffff:4.4.4.4 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 4.4.4.4, Cluster list: 2.2.2.2
rx path_id: 1 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 06:22:01 2019
 
300
::ffff:5.5.5.5 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal
Originator: 5.5.5.5, Cluster list: 2.2.2.2
rx path_id: 2 tx path_id: -1
Not advertised to any peer
Last update: Fri Mar 15 06:22:01 2019
Disable BGP Addpath for a Specific 6pe Neighbor
RR
 
RR(config)#router bgp 100
Configure router bgp mode
RR(config-router)#address-family ipv6 labeled-unicast
Enter BGP address-family ipv6 labeled-unicast mode
RR(config-router-af)#no neighbor 1.1.1.1 advertise additional-paths best
Configure RR to advertise All addpaths to PE1
RR(config-router-af)#neighbor 1.1.1.1 additional-paths disable
Configure RR to Disable Addpath for the 6pe neighbor PE1
RR(config-router-af)#exit-address-family
Exit bgp address-family mode.
RR(config-router)#exit
Exit Router BGP mode.
RR(config)#commit
Apply commit
RR(config)#exit
Exit Configure mode.
Validation
PE1
 
PE1#show bgp ipv6 labeled-unicast
Status codes: s suppressed, d damped, h history, a add-path, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
 
*>il 2222::2/128 ::ffff:3.3.3.3 0 100 0 300 i
Announced routes count = 0
Accepted routes count = 1
PE1#show bgp ipv6 labeled-unicast2222::2
 
300
::ffff:3.3.3.3 (metric 12) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, label 24960, valid, internal, best
Originator: 3.3.3.3, Cluster list: 2.2.2.2
Not advertised to any peer
Last update: Fri Mar 15 06:25:58 2019
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Validation
CE1
CE1#show bgp ipv6 summary
BGP router identifier 10.12.65.66, local AS number 200
BGP table version is 1
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
1001::2 4 100 5 6 1 0 0 00:01:40 0
 
Total number of neighbors 1
Total number of Established sessions 1
CE1#
 
CE1#show bgp ipv6
BGP table version is 1, local router ID is 10.12.65.66
Status codes: s suppressed, d damped, h history, a add-path, g group-best, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 1111::/64 :: 0 100 32768 i
 
Total number of prefixes 1
CE1#
 
CE2
CE2#show bgp ipv6 summary
BGP router identifier 10.12.65.67, local AS number 300
BGP table version is 1
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
2002::2 4 100 7 8 1 0 0 00:02:44 0
 
Total number of neighbors 1
 
Total number of Established sessions 1
CE2#
 
CE2#show bgp ipv6
BGP table version is 1, local router ID is 10.12.65.67
Status codes: s suppressed, d damped, h history, a add-path, g group-best, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 1111::/64 :: 0 100 32768 i
 
Total number of prefixes 1
CE2#
 
PE1
PE1#show bgp ipv6
BGP table version is 2, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, a add-path, g group-best, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 1111::/64 1001::1(fe80::5054:ff:fe88:95f3)
0 100 0 200 i
 
Total number of prefixes 1
PE1#
PE1#show mpls ilm-table
Codes: > - installed ILM, * - selected ILM, p - stale ILM
K - CLI ILM,T - MPLS-TP, F - FRR ILM, u - FRR ILM In Use
 
Code FEC ILM-ID In-Label Out-Label In-Intf Out-Intf Nexthop LSP-Type
> 1111::/64 1 24960 N/A N/A N/A 127.0.0.1 LSP_DEFAULT
PE1#
 
PE2
PE2#show bgp ipv6
BGP table version is 2, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, a add-path, g group-best, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 1111::/64 2002::1(fe80::5054:ff:fe92:a520)
0 100 0 300 i
 
Total number of prefixes 1
PE2#
PE2#show mpls ilm-table
Codes: > - installed ILM, * - selected ILM, p - stale ILM
K - CLI ILM,T - MPLS-TP, F - FRR ILM, u - FRR ILM In Use
 
Code FEC ILM-ID In-Label Out-Label In-Intf Out-Intf Nexthop LSP-Type
> 1111::/64 1 24960 N/A N/A N/A 127.0.0.1 LSP_DEFAULT
PE2#
 
RR
RR#show bgp ipv6 labeled-unicast all summary
BGP router identifier 3.3.3.3, local AS number 100
BGP table version is 1
2 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 100 10 9 1 0 0 00:03:36 1
2.2.2.2 4 100 9 8 1 0 0 00:03:01 1
4.4.4.4 4 100 9 11 1 0 0 00:03:36 0
 
Total number of neighbors 3
Total number of Established sessions 3
RR#
 
 
RR#show bgp ipv6 labeled-unicast all
Status codes: s suppressed, d damped, h history, a add-path, gb group-best, * valid, > best, i - internal, S - stale
Network Next Hop In Label Out Label
*>gi 1111::/64 ::ffff:1.1.1.1 - 24960
*agi ::ffff:2.2.2.2 - 24960
RR#
 
RR#show bgp ipv6 labeled-unicast 1111::1/64
BGP routing table entry for 1111::/64
Paths: (2 available, best #1, table Default-IP-Routing-Table)
Not advertised to any peer
200
::ffff:1.1.1.1 (metric 11) from 1.1.1.1 (1.1.1.1)
Origin IGP, metric 0, localpref 100, Out-label 24960, In-label NA , valid, internal, group-best, best
rx path_id: -1 tx path_id: 0
Advertised to non peer-group peers:
4.4.4.4
Last update: Tue Dec 3 01:50:54 2019
 
300
::ffff:2.2.2.2 (metric 11) from 2.2.2.2 (2.2.2.2)
Origin IGP, metric 0, localpref 100, Out-label 24960, In-label NA , valid, internal, group-best, add-path
rx path_id: -1 tx path_id: 1
Advertised to non peer-group peers:
4.4.4.4
Last update: Tue Dec 3 01:51:29 2019
RR#
 
RR#show bgp neighbors 4.4.4.4
BGP neighbor is 4.4.4.4, remote AS 100, local AS 100, internal link
BGP version 4, remote router ID 4.4.4.4
BGP state = Established, up for 00:04:02
Last read 00:04:02, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family IPv6 Labeled Unicast: advertised and received
Received 10 messages, 0 notifications, 0 in queue
Sent 12 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is 3.3.3.3
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 3, Offset 0, Mask 0x8
AIGP is enabled
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: IPv6 Labeled-Unicast
BGP table version 1, neighbor version 1
Index 3, Offset 0, Mask 0x8
AF-dependant capabilities:
Add-Path Send Capability : advertised
Add-Path Receive Capability : received
Route-Reflector Client
Community attribute sent to this neighbor (both)
0 accepted prefixes
2 announced prefixes
 
Connections established 1; dropped 0
Local host: 3.3.3.3, Local port: 60367
Foreign host: 4.4.4.4, Foreign port: 179
Nexthop: 3.3.3.3
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
RR#
 
PE3
PE3#show bgp ipv6 labeled-unicast all
 
Status codes: s suppressed, d damped, h history, a add-path, gb group-best, * valid, > best, i - internal, S - stale
Network Next Hop In Label Out Label
*>i 1111::/64 ::ffff:1.1.1.1 - 24960
* i ::ffff:2.2.2.2 - 24960
PE3#
 
PE3#show bgp ipv6
BGP table version is 1, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, a add-path, g group-best, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*>il 1111::/64 ::ffff:1.1.1.1 0 100 0 200 i
* il ::ffff:2.2.2.2 0 100 0 300 i
Total number of prefixes 1
PE3#
 
CE3
CE3#show bgp ipv6 summary
BGP router identifier 10.12.65.69, local AS number 400
BGP table version is 2
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
3003::1 4 100 3 2 1 0 0 00:00:15 1
 
Total number of neighbors 1
 
Total number of Established sessions 1
CE3#
 
CE3#show bgp ipv6
BGP table version is 2, local router ID is 10.12.65.69
Status codes: s suppressed, d damped, h history, a add-path, g group-best, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
*> 1111::/64 3003::1(fe80::5054:ff:fef2:c8dc)
0 100 0 100 200 i
 
Total number of prefixes 1
CE3#
Additional Paths for 6VPE
This section explains how to configure the 6VPE additional path feature to enable advertising additional paths for a 6VPE prefix, over a 6VPE session.
Topology
The topology below illustrates CE1 and CE2 as customer edge routers connected to the Provider Edge routers PE1 and PE2 respectively over a non-default VRF. CE2 is advertising the IPv6 prefix 2222::2/128 over non-default VRF to PE2, PE3, and PE4 which further advertises the prefix to RR over 6VPE sessions. RR has the 6VPE prefix 2222::2/128 with 3 next-hops PE2, PE3, and PE4. In a normal scenario, RR advertises the 6VPE prefix 2222::2/128 to PE1 with only one path (the next-hop which is marked the “best”). But with 6VPE addpath configured on RR and PE1, RR can be made to advertise the 6VPE prefix with additional-paths to PE1
Additional Paths for 6VPE
Configuration
CE1: Interface
 
CE1#configure terminal
Enter configur