Implementation of BGP, OSPF, RIP protocols on a 2500 cisco routers.

Cisco Router Configuration Project
Configuration of Routing protocols (RIP, OSPF, BGP)
on Cisco Router
Project 1
CS 526
Team
Bhavani Prasad Sangannagari
Bindu chunduru
Amit Jhamb
Prof. Deep Medhi
SICE Dept.
University of Missouri-Kansas City
1
Cisco Router Configuration Project
INDEX
1. Building up the network…………………………………………………………………………….3
2. Static route configuration………………………………………………………………………….5
Show ip route…………………………………………………………………………………
Trace route results…………………………………………………………………………
3. RIP configuration……………………………………………………………………………………….7
Show ip route…………………………………………………………………………………
Show ip protocols………………………………………………………………………….
4. OSPF configuration…………………………………………………………………………………….8
Show ip route…………………………………………………………………………………
Show ospf database……………………………………………….……………………..
Show ip protocols…………………………………………………………………………..
5. BGP configuration…………………………………………………………………………………….10
Show ip route……………………………………………………………………………….
Show ip bgp………………………………………………………………………………….
Show ip protocols…………………………………………………………………………
2
Cisco Router Configuration Project
BUILDING UP THE NETWORK.
Introduction:
Routers are accessed through the console port of the routers with the help of hyper
terminal. Router has different modes of operation, user EXEC mode (router >),
privileged EXEC mode (router#), global Configuration mode router (confg)# interface
configuration mode router (confg-if)#, etc. All the steps of the configuration are
show below.
To load the configuration files, first Ethernet port address of the router is changed to
the same network IP address of the console port, and then TFTP application is used
for loading the configuration files from and to the routers.
Hardware Connections:
Server (192.168.1.1) is connected to router R1 through Ethernet E0.
Serial port S0 of router R1 is connected to S1 serial port of Router R2.
Serial port S0 of router R2 is connected to Serial port S1 of router R3.
Client machine (172.16.1.10) is connected to router R3 through the Ethernet E0 of
router R3 is connected to Router
IP Addresses used for building up network :
Server IP address
Router R1
E0
Router R1
S0
Router R2
S1
Router R2
S0
Router R3
S1
Router R3
E0
Client IP address
Console IP address
192.168.1.1
192.168.1.10
11.1.1.1
11.1.1.2
10.1.1.1
10.1.1.2
172.16.1.1
172.16.1.10
192.168.1.100
3
Cisco Router Configuration Project
Command Summary:
Router R1
Configuring Ethernet E0 interface
r1#config
r1(config)# interface e0
r1(config-if)# ip address 192.168.1.10
255.255.255.0
r1(config-if)# no shutdown
r1(config-if)#Control-Z
Configuring Serial S0 interface
r1#config
r1(config)# interface s0
r1(config-if)# ip address 10.1.1.1 255.0.0.0
r1(config-if)# clockrate 1300000
r1(config-if)# no shutdown
r1(config-if)#Control-Z
Router R2
Configuring Serial S1 interface
r2#config
r2(config)# interface s1
r2(config-if)# ip address 10.1.1.2 255.0.0.0
r2(config-if)# clockrate 1300000
r2(config-if)# no shutdown
R2(config-if)#Control-Z
Configuring Serial S0 interface
r2#config
r2(config)# interface s0
r2(config-if)# ip address 11.1.1.1 255.0.0.0
r2(config-if)# clockrate 1300000
r2(config-if)# no shutdown
r2(config-if)#Control-Z
Router R3
Configuring Ethernet E0 interface
r3#config
r3(config)# interface e0
r3(config-if)# ip address 172.16.1.1
255.255.0.0
r3(config-if)# no shutdown
r3(config-if)#Control-Z
Configuring Serial S1 interface
r3# config
r3(config)# interface s1
r3(config-if)# ip address 11.1.1.2 255.0.0.0
r3(config-if)# clockrate 1300000
r3(config-if)# no shutdown
r3(config-if)#Control-Z
4
Cisco Router Configuration Project
Static Routes Configuration
Static routes can be given from the global configuration mode of the Cisco router.
ip route command is used to fix the static routes.
Command Summary :
Router R1 :
r1(config)# ip route 11.0.0.0 255.0.0.0 s1
r1(config)# ip route 172.16.0.0 255.255.0.0 s1
Router R2 :
r2(config)# ip route 172.16.0.0 255.255.0.0 s0
r2(config)# ip route 192.168.1.0 255.255.255.0 s1
Router R3:
r3(config)# ip route 10.0.0.0 255.0.0.0 s1
r3(config)# ip route 192.168.1.0 255.255.255.0 s1
Show ip route :
Router R1:
r1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
S
C
C
S
10.0.0.0/8 is directly connected, Serial0
11.0.0.0/8 is directly connected, Serial0
192.168.1.0/24 is directly connected, Ethernet0
172.16.0.0/16 is directly connected, Serial0
5
Cisco Router Configuration Project
Router R2
r2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
S
C
C
S
172.16.0.0/16 is directly connected, Serial0
10.0.0.0/8 is directly connected, Serial0
11.0.0.0/8 is directly connected, Serial1
192.168.1.0/24 is directly connected, Serial1
Router R3
r3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
C
S
S
C
10.0.0.0/8 is directly connected, Serial1
11.0.0.0/8 is directly connected, Serial1
192.168.1.0/24 is directly connected, Serial1
172.16.0.0/16 is directly connected, Ethernet0
Traceroute Results:
The output obtained through command traceroute 192.168.1.1 at the client
machine command prompt is
[cs526@linuxws1 cs526]$ traceroute 192.168.1.1
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 38 byte packets
1 172.16.1.1 (172.16.1.1) 5.842 ms 2.177 ms 2.140 ms
2 10.1.1.1 (10.1.1.1) 5.141 ms 5.049 ms 5.066 ms
3 11.1.1.1 (11.1.1.1) 8.785 ms 8.805 ms 8.862 ms
4 192.168.1.1 (192.168.1.1) 10.517 ms 10.510 ms 10.420 ms
The output obtained through command ping 192.168.1.1 at the client machine
command prompt is
[cs526@linuxws1 cs526]$ ping 192.168.1.1
ping 192.168.1.1 (192.168.1.1) from 172.16.1.10 : 56(84) bytes of data
64 bytes from 192.168.1.1 icmp_seq=0 ttl=252 time=8.063 msecs
64 bytes from 192.168.1.1 icmp_seq=1 ttl=252 time=9.908 msecs
64 bytes from 192.168.1.1 icmp_seq=2 ttl=252 time=9.910 msecs
6
Cisco Router Configuration Project
Routing Information Protocol (RIP) Configuration
As the first step all the static routes can be removed no ip route command.
At global configuration mode router rip command places in router configuration mode
from the global mode. In this mode we have to associate the networks connected to
this router through the network command.
Router R1:
r1(config)# no ip route 10.0.0.0 255.0.0.0
r1(config)# no ip route 172.16.0.0 255.255.0.0
r1(config)# router rip
r1(config-router)# network 11.0.0.0
r1(config-router)# network 192.168.1.0
r1(config-router)# control Z
Router R2 :
r2(config)# no ip route 192.168.1.0 255.255.255.0
r2(config)# no ip route 172.16.0.0 255.255.0.0
r2(config)# router rip
r2(config-router)# network 11.0.0.0
r2(config-router)# network 10.0.0.0
r2(config-router)# control Z
Router R3 :
r3(config)# no ip route 192.168.1.0 255.255.255.0
r3(config)# no ip route 11.0.0.0 255.0.0.0
r3(config)# router rip
r3(config-router)# network 11.0.0.0
r3(config-router)# network 10.0.0.0
r3(config-router)# control Z
Show ip route:
Router R1:
r1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
7
Cisco Router Configuration Project
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
R
C
C
R
10.0.0.0/8 [120/1] via 11.1.1.2, 00:00:28, Serial0
11.0.0.0/8 is directly connected, Serial0
192.168.1.0/24 is directly connected, Ethernet0
172.16.0.0/16 [120/2] via 11.1.1.2, 00:00:00, Serial0
Router R2:
r2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
R
C
C
R
172.16.0.0/16 [120/1] via 10.1.1.2, 00:00:11, Serial0
10.0.0.0/8 is directly connected, Serial0
11.0.0.0/8 is directly connected, Serial1
192.168.1.0/24 [120/1] via 11.1.1.1, 00:00:10, Serial1
Router R3:
r3# sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
C
R
R
C
10.0.0.0/8 is directly connected, Serial1
11.0.0.0/8 [120/1] via 10.1.1.1, 00:00:19, Serial1
192.168.1.0/24 [120/2] via 10.1.1.1, 00:00:19, Serial1
172.16.0.0/16 is directly connected, Ethernet0
Show ip protocols:
Router R1:
r1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 14 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface
Send Recv Key-chain
8
Cisco Router Configuration Project
Ethernet0
1
12
Serial0
1
12
Routing for Networks:
11.0.0.0
192.168.1.0
Routing Information Sources:
Gateway
Distance
Last Update
11.1.1.2
120
00:00:27
Distance: (default is 120)
Router R2:
r2#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 0 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface
Send Recv Triggered RIP Key-chain
Serial0
1
12
Serial1
1
12
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
11.0.0.0
Routing Information Sources:
Gateway
Distance
Last Update
10.1.1.2
120
00:00:18
11.1.1.1
120
00:00:17
Distance: (default is 120)
Router R3:
r3#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 8 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface
Send Recv Key-chain
Ethernet0
1
12
Serial0
1
12
Serial1
1
12
Routing for Networks:
172.16.0.0
10.0.0.0
Routing Information Sources:
Gateway
Distance
Last Update
10.1.1.1
120
00:00:03
Distance: (default is 120)
9
Cisco Router Configuration Project
Open Shortest Path First (OSPF) configuration
Definition of Area in an Autonomous system is required for implementing ospf.
Router R1 and serial interface S0 of router R2 are considered in area 0. Router 2
serial interface s1 with Router R3 are considered to be in area 1. Definition of areas
can be clearly seen from the above diagram. Whole network is considered as single
autonomous system.
OSPF can be configured along with RIP. This has been done for this assignment,
which can be seen form show ip protocols command.
Router R1 :
r1(config)#router ospf 1
r1(config-router)#network 11.0.0.0 0.255.255.255 area 0
r1(config-router)#network 192.168.1.0 0.0.0.255 area 0
r1(config-router)#control Z
Router R2 :
r2(config)#router ospf 2
r2(config-router)#network 11.0.0.0 0.255.255.255 area 0
r2(config-router)#network 10.0.0.0 0.255.255.255 area 1
r2(config-router)#control Z
Router R3 :
r3(config)#router ospf 3
r3(config-router)#network 172.16.0.0 0.0.255.255 area 1
r3(config-router)#network 10.0.0.0 0.255.255.255 area 1
r3(config-router)#control Z
Show ip route :
Router R1:
r1# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
10
Cisco Router Configuration Project
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
O IA 10.0.0.0/8 [110/128] via 11.1.1.2, 00:12:44, Serial0
C 11.0.0.0/8 is directly connected, Serial0
C 192.168.1.0/24 is directly connected, Ethernet0
O IA 172.16.0.0/16 [110/138] via 11.1.1.2, 00:07:08, Serial0
Router R2:
r2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
O
C
C
O
172.16.0.0/16 [110/74] via 10.1.1.2, 00:04:19, Serial0
10.0.0.0/8 is directly connected, Serial0
11.0.0.0/8 is directly connected, Serial1
192.168.1.0/24 [110/74] via 11.1.1.1, 00:00:21, Serial1
Router R3:
r3# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
C 10.0.0.0/8 is directly connected, Serial1
O IA 11.0.0.0/8 [110/128] via 10.1.1.1, 00:00:29, Serial1
O IA 192.168.1.0/24 [110/138] via 10.1.1.1, 00:00:29, Serial1
C 172.16.0.0/16 is directly connected, Ethernet0
Show ospf database:
Router R1:
r1#show ip ospf database
OSPF Router with ID (192.168.1.10) (Process ID 1)
Router Link States (Area 0)
Link ID
ADV Router
Age Seq#
Checksum Link count
11.1.1.2
11.1.1.2
1052 0x80000002 0x866F 2
192.168.1.10 192.168.1.10 1049 0x80000003 0x5FCD 3
11
Cisco Router Configuration Project
Summary Net Link States (Area 0)
Link ID
10.0.0.0
172.16.0.0
ADV Router
11.1.1.2
11.1.1.2
Age
1203
459
Seq#
Checksum
0x80000001 0xBD8
0x80000001 0x6CBA
Router R2:
r2#show ip ospf database
OSPF Router with ID (11.1.1.2) (Process ID 2)
Router Link States (Area 0)
Link ID
ADV Router
Age
Seq#
Checksum Link count
11.1.1.2
11.1.1.2
870
0x80000002 0x866F 2
192.168.1.10 192.168.1.10 869
0x80000003 0x5FCD 3
Summary Net Link States (Area 0)
Link ID
10.0.0.0
172.16.0.0
ADV Router
11.1.1.2
11.1.1.2
Age
1021
276
Seq#
Checksum
0x80000001 0xBD8
0x80000001 0x6CBA
Router Link States (Area 1)
Link ID
11.1.1.2
172.16.1.1
ADV Router
Age
11.1.1.2
282
172.16.1.1
282
Seq#
Checksum Link count
0x80000005 0xA803 2
0x80000002 0x642 3
Summary Net Link States (Area 1)
Link ID
ADV Router
11.0.0.0
11.1.1.2
192.168.1.0
11.1.1.2
Age
1011
868
Seq#
Checksum
0x80000001 0xFDE4
0x80000001 0x3544
Router R3:
r3#show ip ospf database
OSPF Router with ID (172.16.1.1) (Process ID 3)
Router Link States (Area 1)
Link ID
11.1.1.2
172.16.1.1
ADV Router
Age Seq#
Checksum Link count
11.1.1.2
52
0x80000005 0xA803 2
172.16.1.1
50
0x80000002 0x642 3
Summary Net Link States (Area 1)
Link ID
ADV Router
11.0.0.0
11.1.1.2
192.168.1.0
11.1.1.2
Age Seq#
Checksum
780 0x80000001 0xFDE4
635 0x80000001 0x3544
12
Cisco Router Configuration Project
Show ip protocols:
Router R1:
r1#show ip protocols
Routing Protocol is "ospf 1"
Sending updates every 0 seconds
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: ospf 1
Routing for Networks:
192.168.1.0
11.0.0.0
Routing Information Sources:
Gateway
Distance
Last Update
11.1.1.2
110
00:07:23
Distance: (default is 110)
Router R2:
r2#show ip protocols
Routing Protocol is "ospf 2"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 11.1.1.2
It is an area border router
Number of areas in this router is 2. 2 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
10.0.0.0 0.255.255.255 area 1 11.0.0.0 0.255.255.255 area 0
Routing Information Sources:
Gateway
Distance
Last Update
11.1.1.2
110
00:04:26
192.168.1.10
110
00:00:28
172.16.1.1
110
00:04:26
Distance: (default is 110)
Router R3:
r3#show ip protocols
Routing Protocol is "ospf 3"
Sending updates every 0 seconds
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: ospf 3
Routing for Networks:
10.0.0.0
172.16.0.0
Routing Information Sources:
Gateway
Distance
Last Update
11.1.1.2
110
00:00:34
Distance: (default is 110)
13
Cisco Router Configuration Project
Border Gateway Protocol (BGP) Configuration
In this project we have implemented BGP over RIP protocol. We have defined 3
routers belonging to three different Autonomous systems. OSPF has been removed
using no router ospf command.
Router R1:
r1(config)#no router ospf 1
r1(config)# router bgp 1
r1(config-router)# network 192.168.1.0
r1(config-router)# neighbor 11.1.1.2 remote-as 2
r1(config-router)# control z
Router R2:
r2(config)#no router ospf 2
r2(config)# router bgp 2
r2(config-router)# neighbor 11.1.1.1 remote-as 1
r2(config-router)# neighbor 10.1.1.2 remote-as 3
r2(config-router)# control z
Router R3 :
r3(config)#no router ospf 3
r3(config)# router bgp 3
r3(config-router)# network 172.16.0.0
r3(config-router)# neighbor 10.1.1.1 remote-as 2
r3(config-router)# control z
Show ip route :
Router R1:
r1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
14
Cisco Router Configuration Project
Gateway of last resort is not set
R
C
C
B
10.0.0.0/8 [120/1] via 11.1.1.2, 00:00:23, Serial0
11.0.0.0/8 is directly connected, Serial0
192.168.1.0/24 is directly connected, Ethernet0
172.16.0.0/16 [20/0] via 11.1.1.2, 00:02:08
Router R2:
r2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
B
C
C
B
172.16.0.0/16 [20/0] via 10.1.1.2, 00:04:06
10.0.0.0/8 is directly connected, Serial0
11.0.0.0/8 is directly connected, Serial1
192.168.1.0/24 [20/0] via 11.1.1.1, 00:03:23
Router R3:
r3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
C
R
B
C
10.0.0.0/8 is directly connected, Serial1
11.0.0.0/8 [120/1] via 10.1.1.1, 00:00:04, Serial1
192.168.1.0/24 [20/0] via 10.1.1.1, 00:04:08
172.16.0.0/16 is directly connected, Ethernet0
Show ip bgp:
Router R1:
r1#show ip bgp
BGP table version is 3, local router ID is 5.5.5.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network
Next Hop
*> 172.16.0.0
11.1.1.2
*> 192.168.1.0
0.0.0.0
Metric LocPrf Weight Path
023i
0
32768 i
Router R2:
r2#show ip bgp
15
Cisco Router Configuration Project
BGP table version is 3, local router ID is 11.1.1.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network
Next Hop
*> 172.16.0.0
10.1.1.2
*> 192.168.1.0
11.1.1.1
Metric LocPrf Weight Path
0
03i
0
01i
Router R3:
r3#show ip bgp
BGP table version is 3, local router ID is 5.5.5.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network
Next Hop
*> 172.16.0.0
0.0.0.0
*> 192.168.1.0
10.1.1.1
Metric LocPrf Weight Path
0
32768 i
021i
Show ip protocols:
Router R1:
r1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 4 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface
Send Recv Key-chain
Ethernet0
1
12
Serial0
1
12
Routing for Networks:
11.0.0.0
192.168.1.0
Routing Information Sources:
Gateway
Distance
Last Update
11.1.1.2
120
00:00:16
Distance: (default is 120)
Routing Protocol is "bgp 1"
Sending updates every 60 seconds, next due in 0 seconds
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is enabled
Automatic route summarization is enabled
Neighbor(s):
Address
FiltIn FiltOut DistIn DistOut Weight RouteMap
11.1.1.2
Routing for Networks:
192.168.1.0
Routing Information Sources:
Gateway
Distance
Last Update
11.1.1.2
20
00:02:30
16
Cisco Router Configuration Project
Distance: external 20 internal 200 local 200
Router R2:
r2#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 4 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface
Send Recv Triggered RIP Key-chain
Serial0
1
12
Serial1
1
12
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
11.0.0.0
Routing Information Sources:
Gateway
Distance
Last Update
10.1.1.2
120
00:00:18
11.1.1.1
120
00:00:03
Distance: (default is 120)
Routing Protocol is "bgp 2"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is enabled
Automatic route summarization is enabled
Neighbor(s):
Address
FiltIn FiltOut DistIn DistOut Weight RouteMap
10.1.1.2
11.1.1.1
Maximum path: 1
Routing for Networks:
Routing Information Sources:
Gateway
Distance
Last Update
10.1.1.2
20
00:04:17
11.1.1.1
20
00:03:34
Distance: external 20 internal 200 local 200
Router R3:
r3#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 17 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface
Send Recv Key-chain
Ethernet0
1
12
17
Cisco Router Configuration Project
Serial0
1
12
Serial1
1
12
Routing for Networks:
172.16.0.0
10.0.0.0
Routing Information Sources:
Gateway
Distance
Last Update
10.1.1.1
120
00:00:12
Distance: (default is 120)
Routing Protocol is "bgp 3"
Sending updates every 60 seconds, next due in 0 seconds
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is enabled
Automatic route summarization is enabled
Neighbor(s):
Address
FiltIn FiltOut DistIn DistOut Weight RouteMap
10.1.1.1
Routing for Networks:
172.16.0.0
Routing Information Sources:
Gateway
Distance
Last Update
10.1.1.1
20
00:04:17
Distance: external 20 internal 200 local 200
18