0% found this document useful (0 votes)
11 views

Prac 9

Uploaded by

4832550
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Prac 9

Uploaded by

4832550
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

CS23019 Sayed Masooma

AIM:- Implement MP-BGP

Topology

Addressing Table

Page | 1
CS23019 Sayed Masooma

Page | 2
CS23019 Sayed Masooma

Objectives
Part 1: Build the Network and Configure Basic Device Settings and Interface
Addressing
Part 2: Configure MP-BGP on all Routers
Part 3: Verify MP-BGP
Part 4: Configure and Verify IPv6 Summarization

Required Resources
 3 Routers (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
 1 PC (Choice of operating system with a terminal emulation program installed)
 Console cables to configure the Cisco IOS devices via the console ports
 Ethernet and serial cables as shown in the topology

Instructions
Part 1: Build the Network and Configure Basic Device Settings and Interface Addressing

In Part 1, you will set up the network topology and configure basic settings and interface
addressing on routers.

Step 1: Cable the network as shown in the topology.

Attach the devices as shown in the topology diagram, and cable as necessary.

Step 2: Configure basic settings for each router.

a. Console into each router, enter global configuration mode, and apply the basic settings
and interface addressing. A command list for each router is listed below to perform initial
configuration.

Router R1
conf terminal
hostname R1
no ip domain lookup
line con 0
logging sync
exec-time 0 0

Page | 3
CS23019 Sayed Masooma

exit

interface Loopback0

ip address 192.168.1.1 255.255.255.224

ipv6 address FE80::1:4 link-local

ipv6 address 2001:DB8:ACAD:1000::1/64

no shut

interface Loopback1

ip address 192.168.1.65 255.255.255.192

ipv6 address FE80::1:5 link-local

ipv6 address 2001:DB8:ACAD:1001::1/64

no shut

interface FastEthernet0/0

ip address 10.1.2.1 255.255.255.0

ipv6 address FE80::1:1 link-local

ipv6 address 2001:DB8:ACAD:1012::1/64

no shut

interface Serial5/0

ip address 10.1.3.1 255.255.255.128

ipv6 address FE80::1:2 link-local

ipv6 address 2001:DB8:ACAD:1013::1/64

no shut

interface Serial5/1

ip address 10.1.3.129 255.255.255.128

ipv6 address FE80::1:3 link-local

ipv6 address 2001:DB8:ACAD:1014::1/64

no shut
Page | 4
CS23019 Sayed Masooma

Page | 5
CS23019 Sayed Masooma

Part 2: Configure MP-BGP on all Routers

Step 1: Implement eBGP and neighbor relationships on R1 for IPv4 and IPv6.

Step 2: Implement eBGP and neighbor relationships on R2 for IPv4 and IPv6.

Page | 6
CS23019 Sayed Masooma

Step 3: Implement eBGP and neighbor relationships on R3 for IPv4 and IPv6.

Step 4: Advertise IPv4 and IPv6 prefixes on R1.

Page | 7
CS23019 Sayed Masooma

Step 5: Advertise IPv4 and IPv6 prefixes on R2.

Step 6: Advertise IPv4 and IPv6 prefixes on R3.

Part 3: Verify MP-BGP

Step 1: Display detailed neighbor adjacency information.

Use the show bgp all neighbors command on R2 to display detailed information about BGP
connections to neighbors for all (IPv4 and IPv6) address families. Each neighbor shows that it is
in the “Established” state. This indicates that the router can send and receive BGP messages. R2
has two neighbor addresses, R1 and R3, for each address family, IPv4 and IPv6.

Open configuration window

Page | 8
CS23019 Sayed Masooma

R2# show bgp all neighbors

Page | 9
CS23019 Sayed Masooma

Step 2: Display summary neighbor adjacency information.


Use the show bgp ipv4 unicast summary and show bgp ipv6 unicast summary commands on R2
to display a summary of IPv4/IPv6 peering information with R1 and R3. The information
displayed using the show bgp ipv4 unicast summary is a subset of show ip all bgp command.

Open configuration window

R2# show bgp ipv4 unicast summary

R2# show bgp ipv6 unicast summary

Page | 10
CS23019 Sayed Masooma

Step 3: Verify BGP tables for IPv4 and IPv6.

a. Use the show bgp ipv4 unicast command on R2 to display its IPv4 BGP table. This
command is equivalent to the show ip bgp command and either command can be
used. Notice that R1 shows six IPv4 networks in its IPv4 BGP table. Each network is
valid “*” and has one path which is the best path “>”. Amongst other information, the
next hop IPv4 address and the AS path are included.

R2# show bgp ipv4 unicast

Page | 11
CS23019 Sayed Masooma

b. Use the show bgp ipv6 unicast command on R2 to display similar information for its IPv6 BGP
table.

R2 show bgp ipv6 unicast

Step 4: Viewing explicit routes and path attributes.


a. Use the show bgp ipv4 unicast ipv4-prefix subnet-mask command on R2 to display all the
paths for a specific route and BGP path attributes for that route.

R2 show bgp ipv4 unicast 192.168.1.0 255.255.255.224

R2# show bgp ipv6 unicast 2001:db8:acad:1000::/64

Page | 12
CS23019 Sayed Masooma

Part 4: Configure and Verify IPv6 Route Summarization


a. Verify R2 and R3 are receiving 2001:db8:acad:1000::/64 and 2001:db8:acad:1001::/64

from R1. Open configuration window

R2 show ipv6 route bgp | section 2001

R3# show ipv6 route bgp | section 2001

b. Although AS 1000 only has two IPv6 prefixes - 2001:db8:acad:1000::/64 and


2001:db8:acad:1001::/64, this customer has been allocated the entire 2001:db8:acad:1000::/52 prefix
(2001:db8:acad:1xxx). R1 is configured using the aggregate-address command in IPv6 AF mode to
summarize its IPv6 prefixes. This is known as a summary route or aggregate route. The summary-only
option suppresses the more specific prefixes from also being advertised.
R1(config)# router bgp 1000
R1(config-router)# address-family ipv6 unicast
R1(config-router-af)# aggregate-address 2001:db8:acad:1000::/52 summary
only

c. Verify that R2 and R3 are now receiving the aggregate route and installing it in the IPv6 BGP table

Page | 13
CS23019 Sayed Masooma

R2 how bgp ipv6 unicast | begin etwork

R3# show bgp ipv6 unicast | begin Network

Router Interface Summary Table

Page | 14
CS23019 Sayed Masooma

Device Configs - Final


Router R1
R1 show running-config

Router R2

R2 show running-config

Router R3

R3 show running-config

Page | 15

You might also like