CISCO
路由器
ISIS
和
BGP
混合组网实例
本实例共有
5
台
7200
路由器,分别为
R1
、
R2
、
R3
、
R4
、
R5
,
R1
、
R2
和
R3
组成
AS100
自治域,
R5
为
AS10
自治域,
R4
为
AS20
自治域,在
AS100
自治域内,启用了
ISIS
动态路由协议,
R1
为
R3
和
R2
的反射器,此例为典型的三家
ISP
互连的骨干路由器配置,在本例中,我们也可将
AS10
和
AS20
像
AS100
那样做得大一点,在内部也启用
ISIS
等态路由协议,
OSPF
的例子就不讲了,也
ISIS
很像。本实例的目的是三个自治域的所有
IP
地址都能互相
PING
通。
借此机会,感谢小凡的
CISCO
路由模拟器,本实例就是在它的帮助下完成的,我的电脑是
PIII 1G
,
512M
MEM
,运行
5
台
7200
路由器很不错,就是在查看配置文件内容是有点慢。
一、
网络拓扑图
二、
各路由器配置
1、
R1
配置和测试
Current configuration : 2418 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 1.1.1 .1 255.255.255.0
ip router isis test
!
interface FastEthernet0/0
ip address 10.10.11 .1 255.255.255.0
ip router isis test
duplex full
!
interface Ethernet1/0
ip address 10.10.10 .1 255.255.255.0
ip router isis test
duplex full
!
interface Ethernet1/1
no ip address
shutdown
duplex half
!
interface Ethernet1/2
no ip address
shutdown
duplex half
!
interface Ethernet1/3
no ip address
shutdown
duplex half
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/7
no ip address
shutdown
serial restart-delay 0
!
interface ATM4/0
no ip address
shutdown
no atm ilmi-keepalive
!
interface GigabitEthernet5/0
no ip address
shutdown
negotiation auto
!
router isis test
net 49.0001.0010.0100.1001.00
!
!
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 10.10.10 .2 remote-as 100
neighbor 10.10.10 .2 route-reflector-client
neighbor 10.10.10 .2 next-hop-self
neighbor 10.10.11 .2 remote-as 100
neighbor 10.10.11 .2 route-reflector-client
neighbor 10.10.11 .2 next-hop-self
no auto-summary
!
ip classless
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
r1# show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
1.0.0 .0/24 is subnetted, 1 subnets
C 1.1.1 .0 is directly connected, Loopback0
2.0.0 .0/24 is subnetted, 1 subnets
i L1 2.2.2 .0 [115/20] vi a 10.10.11 .2, FastEthernet0/0, test
3.0.0 .0/24 is subnetted, 1 subnets
i L1 3.3.3 .0 [115/20] vi a 10.10.10 .2, Ethernet1/0, test
4.0.0 .0/24 is subnetted, 1 subnets
B 4.4.4 .0 [200/0] vi a 10.10.11 .2, 00:43:27
5.0.0 .0/24 is subnetted, 1 subnets
B 5.5.5 .0 [200/0] vi a 10.10.10 .2, 00:43:44
6.0.0 .0/24 is subnetted, 1 subnets
B 6.6.6 .0 [200/0] vi a 10.10.11 .2, 00:41:48
7.0.0 .0/24 is subnetted, 1 subnets
B 7.7.7 .0 [200/0] vi a 10.10.10 .2, 00:41:18
10.0.0 .0/24 is subnetted, 4 subnets
B 10.10.9 .0 [200/0] vi a 10.10.10 .2, 00:43:44
C 10.10.10 .0 is directly connected, Ethernet1/0
C 10.10.11 .0 is directly connected, FastEthernet0/0
B 10.10.12 .0 [200/0] vi a 10.10.11 .2, 00:43:27
r1# ping 5.5.5 .5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5 .5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 648/685/764 ms
r1#ping 4.4.4 .4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4 .4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 336/388/476 ms
r1#ping 3.3.3 .3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3 .3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/235/388 ms
r1#ping 2.2.2 .2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2 .2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 96/239/476 ms
r1#ping 1.1.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
2、
R2
配置和测试
r2#
r2#show run
Building configuration...
Current configuration : 1938 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 2.2.2 .2 255.255.255.0
ip router isis test
!
interface FastEthernet0/0
ip address 10.10.11 .2 255.255.255.0
ip router isis test
duplex full
!
interface Ethernet1/0
no ip address
shutdown
duplex half
!
interface Ethernet1/1
no ip address
shutdown
duplex half
!
interface Ethernet1/2
no ip address
shutdown
duplex half
!
interface Ethernet1/3
no ip address
shutdown
duplex half
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface ATM3/0
no ip address
atm sonet stm-1
no atm ilmi-keepalive
!
interface ATM3/0.1 point-to-point
ip address 10.10.12 .1 255.255.255.0
atm pvc 1 3 32 aal5snap oam 10
!
interface GigabitEthernet4/0
no ip address
shutdown
negotiation auto
!
interface FastEthernet5/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet5/1
no ip address
shutdown
duplex auto
speed auto
!
router isis test
net 49.0001.0020.0200.2002.00
!
router bgp 100
no synchronization
bgp log-neighbor-changes
redistribute isis test level-1-2
neighbor 10.10.11 .1 remote-as 100
neighbor 10.10.11 .1 next-hop-self
neighbor 10.10.12 .2 remote-as 20
neighbor 10.10.12 .2 next-hop-self
no auto-summary
!
ip classless
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
r2# show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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 10.10.11 .1 to network 0.0.0.0
1.0.0 .0/24 is subnetted, 1 subnets
i L1 1.1.1 .0 [115/20] vi a 10.10.11 .1, FastEthernet0/0
2.0.0 .0/24 is subnetted, 1 subnets
C 2.2.2 .0 is directly connected, Loopback0
3.0.0 .0/24 is subnetted, 1 subnets
i L1 3.3.3 .0 [115/30] vi a 10.10.11 .1, FastEthernet0/0
4.0.0 .0/24 is subnetted, 1 subnets
B 4.4.4 .0 [20/0] vi a 10.10.12 .2, 00:43:02
5.0.0
.0/24 is subnetted, 1 subnets
B 5.5.5 .0 [200/0] vi a 10.10.10 .2, 00:43:18
6.0.0 .0/24 is subnetted, 1 subnets
B 6.6.6 .0 [20/0] vi a 10.10.12 .2, 00:41:32
7.0.0 .0/24 is subnetted, 1 subnets
B 7.7.7 .0 [200/0] vi a 10.10.10 .2, 00:41:02
10.0.0 .0/24 is subnetted, 4 subnets
B 10.10.9 .0 [200/0] vi a 10.10.10 .2, 00:43:18
i L1 10.10.10 .0 [115/20] vi a 10.10.11 .1, FastEthernet0/0
C 10.10.11 .0 is directly connected, FastEthernet0/0
C 10.10.12 .0 is directly connected, ATM3/0.1
i*L1 0.0.0 .0/0 [115/10] vi a 10.10.11 .1, FastEthernet0/0
r2# ping 1.1.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/252/416 ms
r2#ping 3.3.3 .3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3 .3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/280/392 ms
r2#ping 4.4.4 .4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4 .4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 112/270/368 ms
r2#ping 5.5.5 .5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5 .5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 384/420/492 ms
3、
R3
配置和测试
r3#
r3#show run
Building configuration...
Current configuration : 1835 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 3.3.3 .3 255.255.255.0
ip router isis test
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface Ethernet2/0
ip address 10.10.10 .2 255.255.255.0
ip router isis test
duplex full
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
interface ATM4/0
no ip address
shutdown
no atm ilmi-keepalive
!
interface GigabitEthernet5/0
ip address 10.10.9 .1 255.255.255.0
negotiation auto
!
router isis test
net 49.0001.0030.0300.3003.00
!
router bgp 100
no synchronization
bgp log-neighbor-changes
redistribute isis test level-1-2
neighbor 10.10.9 .2 remote-as 10
neighbor 10.10.9 .2 next-hop-self
neighbor 10.10.10 .1 remote-as 100
neighbor 10.10.10 .1 next-hop-self
no auto-summary
!
ip classless
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
r3# show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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 10.10.10 .1 to network 0.0.0.0
1.0.0 .0/24 is subnetted, 1 subnets
i L1 1.1.1 .0 [115/20] vi a 10.10.10 .1, Ethernet2/0
2.0.0 .0/24 is subnetted, 1 subnets
i L1 2.2.2 .0 [115/30] vi a 10.10.10 .1, Ethernet2/0
3.0.0 .0/24 is subnetted, 1 subnets
C 3.3.3 .0 is directly connected, Loopback0
4.0.0 .0/24 is subnetted, 1 subnets
B 4.4.4 .0 [200/0] vi a 10.10.11 .2, 00:44:30
5.0.0 .0/24 is subnetted, 1 subnets
B 5.5.5 .0 [20/0] vi a 10.10.9 .2, 00:44:48
6.0.0 .0/24 is subnetted, 1 subnets
B 6.6.6 .0 [200/0] vi a 10.10.11 .2, 00:42:50
7.0.0 .0/24 is subnetted, 1 subnets
B 7.7.7 .0 [20/0] vi a 10.10.9 .2, 00:42:21
10.0.0 .0/24 is subnetted, 4 subnets
C 10.10.9 .0 is directly connected, GigabitEthernet5/0
C 10.10.10 .0 is directly connected, Ethernet2/0
i L1 10.10.11 .0 [115/20] vi a 10.10.10 .1, Ethernet2/0
B 10.10.12 .0 [200/0] vi a 10.10.11 .2, 00:44:30
i*L1 0.0.0 .0/0 [115/10] vi a 10.10.10 .1, Ethernet2/0
r3# ping 1.1.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/229/380 ms
r3#ping 2.2.2 .2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2 .2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 136/363/496 ms
r3#ping 4.4.4 .4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4 .4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 312/440/528 ms
r3#ping 5.5.5 .5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5 .5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/195/396 ms
4、
R4
配置和测试
r4#
r4#
r4#show run
Building configuration...
Current configuration : 1829 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 4.4.4 .4 255.255.255.0
!
interface Loopback1
ip address 6.6.6 .6 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
interface ATM4/0
no ip address
atm sonet stm-1
no atm ilmi-keepalive
!
interface ATM4/0.1 point-to-point
ip address 10.10.12 .2 255.255.255.0
atm pvc 1 3 32 aal5snap oam 10
!
interface GigabitEthernet5/0
no ip address
shutdown
negotiation auto
!
router isis test
!
router bgp 20
no synchronization
bgp log-neighbor-changes
neighbor 10.10.12 .1 remote-as 100
neighbor 10.10.12 .1 next-hop-self
no auto-summary
!
ip classless
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
r4# show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
1.0.0 .0/24 is subnetted, 1 subnets
B 1.1.1 .0 [20/20] vi a 10.10.12 .1, 00:23:22
2.0.0 .0/24 is subnetted, 1 subnets
B 2.2.2 .0 [20/0] vi a 10.10.12 .1, 00:19:44
3.0.0 .0/24 is subnetted, 1 subnets
B 3.3.3 .0 [20/30] vi a 10.10.12 .1, 00:23:22
4.0.0 .0/24 is subnetted, 1 subnets
C 4.4.4 .0 is directly connected, Loopback0
5.0.0 .0/24 is subnetted, 1 subnets
B 5.5.5 .0 [20/0] vi a 10.10.12 .1, 00:45:03
6.0.0 .0/24 is subnetted, 1 subnets
C 6.6.6 .0 is directly connected, Loopback1
7.0.0 .0/24 is subnetted, 1 subnets
B 7.7.7 .0 [20/0] vi a 10.10.12 .1, 00:42:53
10.0.0 .0/24 is subnetted, 4 subnets
B 10.10.9 .0 [20/0] vi a 10.10.12 .1, 00:45:04
B 10.10.10 .0 [20/20] vi a 10.10.12 .1, 00:23:22
B 10.10.11 .0 [20/0] vi a 10.10.12 .1, 00:19:44
C 10.10.12 .0 is directly connected, ATM4/0.1
r4# ping 1.1.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 192/316/404 ms
r4#ping 2.2.2 .2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2 .2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/305/456 ms
r4#ping 3.3.3 .3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3 .3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 380/455/572 ms
r4#ping 5.5.5 .5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5 .5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 464/593/704 ms
5、
R5
配置和测试
r5#
r5#show run
Building configuration...
Current configuration : 2180 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r5
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 5.5.5 .5 255.255.255.0
!
interface Loopback1
ip address 7.7.7 .7 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet4/0
no ip address
shutdown
duplex half
!
interface Ethernet4/1
no ip address
shutdown
duplex half
!
interface Ethernet4/2
no ip address
shutdown
duplex half
!
interface Ethernet4/3
no ip address
shutdown
duplex half
!
interface Ethernet4/4
no ip address
shutdown
duplex half
!
interface Ethernet4/5
no ip address
shutdown
duplex half
!
interface Ethernet4/6
no ip address
shutdown
duplex half
!
interface Ethernet4/7
no ip address
shutdown
duplex half
!
interface GigabitEthernet5/0
ip address 10.10.9 .2 255.255.255.0
negotiation auto
!
router bgp 10
no synchronization
bgp log-neighbor-changes
redistribute connected
neighbor 10.10.9 .1 remote-as 100
neighbor 10.10.9 .1 update-source Loopback0
neighbor 10.10.9 .1 next-hop-self
no auto-summary
!
ip classless
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
r5# show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
1.0.0 .0/24 is subnetted, 1 subnets
B 1.1.1 .0 [20/20] vi a 10.10.9 .1, 00:19:48
2.0.0 .0/24 is subnetted, 1 subnets
B 2.2.2 .0 [20/30] vi a 10.10.9 .1, 00:19:48
3.0.0 .0/24 is subnetted, 1 subnets
B 3.3.3 .0 [20/0] vi a 10.10.9 .1, 00:23:17
4.0.0 .0/24 is subnetted, 1 subnets
B 4.4.4 .0 [20/0] vi a 10.10.9 .1, 00:44:50
5.0.0 .0/24 is subnetted, 1 subnets
C 5.5.5 .0 is directly connected, Loopback0
6.0.0 .0/24 is subnetted, 1 subnets
B 6.6.6 .0 [20/0] vi a 10.10.9 .1, 00:43:18
7.0.0 .0/24 is subnetted, 1 subnets
C 7.7.7 .0 is directly connected, Loopback1
10.0.0 .0/24 is subnetted, 4 subnets
C 10.10.9 .0 is directly connected, GigabitEthernet5/0
B 10.10.10 .0 [20/0] vi a 10.10.9 .1, 00:23:17
B 10.10.11 .0 [20/20] vi a 10.10.9 .1, 00:19:49
B 10.10.12 .0 [20/0] vi a 10.10.9 .1, 00:44:50
r5# ping 1.1.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 148/288/460 ms
r5#ping 2.2.2 .2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2 .2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 364/440/548 ms
r5#ping 3.3.3 .3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3 .3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/212/396 ms
r5#ping 4.4.4 .4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4 .4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 480/580/764 ms