Professional Documents
Culture Documents
Lab Topology
For this lab, your network design will include two pods of devices. Pod 2 will be configured upon the initial load-
ing of the lab. You will be responsible for configuring Pod 1. The Pod 2 devices will be configured with the same
IP addressing scheme as those in Pod 1. For all labs that require more than one pod, your pod will be represented
as Pod 1, and the remote pod will be Pod 2.
The Topology below represents the NetMap in the Simulator. To access each of the devices from within the Simu-
lator, select the device name from the appropriate menu in the Simulator. For example, to access P1R1, click the
eRouters button and select P1R1 from the drop-down menu.
BGP Topology
Command Summary
Command Description
router bgp autonomous_system_number enters router config mode for BGP
neighbor ip_address remote-as asn establishes a BGP neighbor relationship
neighbor ip_address next-hop-self defines the neighbor as a Next Hop Self neighbor
network address {mask mask} specifies networks to be advertised by BGP
show ip bgp summary displays summary BGP neighbor status
show ip bgp neighbor displays detailed BGP neighbor status
show ip bgp displays BGP table
clear ip bgp* resets all BGP peer connections
Lab Tasks
Task 1: Lab Preparation
1. Make sure there is no configuration on P1R1 and P1R2. If any configurations are present, erase them
and reload both routers.
2. Configure P1R1 and P1R2 with the IP addresses shown in the Lab Topology diagram.
3. Assign a clock rate of 64000 to all DCE serial interfaces.
4. On P1R1 and P1R2, enable FastEthernet 0/0, serial 0/0, and Loopback 0.
5. Use ping to verify connectivity.
Lab Solutions
Task 1: Lab Preparation
Sample base configuration for Pod 1
P1R1 Config
!
hostname P1R1
!
enable password cisco
!
interface Loopback0
ip address 192.168.1.1 255.255.255.240
!
interface FastEthernet0/0
ip address 10.100.100.1 255.255.255.0
!
interface Serial0/0
ip address 192.168.1.33 255.255.255.240
no fair-queue
clock rate 64000
!
interface Serial0/1
no ip address
shutdown
!
P1R2 Config
!
hostname P1R2
!
enable password cisco
!
interface Loopback0
ip address 192.168.1.17 255.255.255.240
!
interface FastEthernet0/0
ip address 192.168.1.49 255.255.255.240
speed auto
!
interface Serial0/0
ip address 192.168.1.34 255.255.255.240
!
5. Established
P1R1#show ip bgp neighbors
BGP neighbor is 10.100.100.2, remote AS 2, external link
BGP version 4, remote router ID 192.168.2.1
BGP state = Established, up for 00:09:55
1. P1R2(config)#router bgp 1
P1R2(config-router)#network 192.168.1.16 mask 255.255.255.240
P1R2(config-router)#network 192.168.1.32 mask 255.255.255.240
P1R2(config-router)#network 192.168.1.48 mask 255.255.255.240
2. P1R1(config)#router bgp 1
P1R1(config-router)#neighbor 192.168.1.34 remote-as 1
P1R2(config)#router bgp 1
P1R2(config-router)#neighbor 192.168.1.33 remote-as 1
3. Yes
P1R2#sh ip route
10.0.0.0/24 is subnetted, 1 subnets
B 10.100.100.0 [200/0] via 192.168.1.33, 00:16:06
192.168.1.0/28 is subnetted, 4 subnets
C 192.168.1.32 is directly connected, Serial0/0
C 192.168.1.48 is directly connected, FastEthernet0/0
B 192.168.1.0 [200/0] via 192.168.1.33, 00:16:06
C 192.168.1.16 is directly connected, Loopback0
192.168.2.0/28 is subnetted, 2 subnets
B 192.168.2.32 [200/0] via 10.100.100.2, 00:15:56
B 192.168.2.0 [200/0] via 10.100.100.2, 00:15:57