Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CCNPv7 ROUTE_Labs_-_Instructor / CCNPv7_ROUTE_Lab7-3_IBGP-EBGP-LocalPref-MED_Instructor.doc
Скачиваний:
1271
Добавлен:
11.06.2015
Размер:
268.8 Кб
Скачать

Initial Configurations

Router ISP (R1)

hostname ISP

!

interface Loopback0

ip address 192.168.100.1 255.255.255.0

!

interface Serial0/0/0

ip address 192.168.1.5 255.255.255.252

clock rate 128000

!

interface Serial0/0/1

ip address 192.168.1.1 255.255.255.252

!

Router SanJose1 (R2)

hostname SanJose1

!

interface Loopback0

ip address 172.16.64.1 255.255.255.0

!

interface Serial0/0/0

ip address 192.168.1.6 255.255.255.252

!

interface Serial0/0/1

ip address 172.16.1.1 255.255.255.0

clock rate 128000

!

Router SanJose2 (R3)

hostname SanJose2

!

interface Loopback0

ip address 172.16.32.1 255.255.255.0

!

interface Serial0/0/0

ip address 192.168.1.2 255.255.255.252

clock rate 128000

!

interface Serial0/0/1

ip address 172.16.1.2 255.255.255.0

!

Device Configurations (Instructor version)

Router ISP (R1)

hostname ISP

!

interface Loopback0

ip address 192.168.100.1 255.255.255.0

!

interface Loopback10

ip address 10.0.0.1 255.255.255.0

!

interface Serial0/0/0

ip address 192.168.1.5 255.255.255.252

clock rate 128000

shutdown

!

interface Serial0/0/1

ip address 192.168.1.1 255.255.255.252

!

router bgp 200

bgp log-neighbor-changes

network 192.168.100.0

neighbor 192.168.1.2 remote-as 64512

neighbor 192.168.1.2 default-originate

neighbor 192.168.1.6 remote-as 64512

neighbor 192.168.1.6 default-originate

!

end

Router SanJose1 (R2)

hostname SanJose1

!

interface Loopback0

ip address 172.16.64.1 255.255.255.0

!

interface Serial0/0/0

ip address 192.168.1.6 255.255.255.252

!

interface Serial0/0/1

ip address 172.16.1.1 255.255.255.0

clock rate 128000

!

router eigrp 64512

network 172.16.0.0

!

router bgp 64512

bgp log-neighbor-changes

network 172.16.0.0

neighbor 172.16.32.1 remote-as 64512

neighbor 172.16.32.1 update-source Loopback0

neighbor 172.16.32.1 next-hop-self

neighbor 192.168.1.5 remote-as 200

neighbor 192.168.1.5 route-map PRIMARY_T1_IN in

neighbor 192.168.1.5 route-map PRIMARY_T1_MED_OUT out

!

ip route 172.16.0.0 255.255.0.0 Null0

!

route-map PRIMARY_T1_IN permit 10

set local-preference 150

!

route-map PRIMARY_T1_MED_OUT permit 10

set metric 50

!

end

Router SanJose2 (R3)

hostname SanJose2

!

interface Loopback0

ip address 172.16.32.1 255.255.255.0

!

interface Serial0/0/0

ip address 192.168.1.2 255.255.255.252

clock rate 128000

!

interface Serial0/0/1

ip address 172.16.1.2 255.255.255.0

!

router eigrp 64512

network 172.16.0.0

!

router bgp 64512

bgp log-neighbor-changes

network 172.16.0.0

neighbor 172.16.64.1 remote-as 64512

neighbor 172.16.64.1 update-source Loopback0

neighbor 172.16.64.1 next-hop-self

neighbor 192.168.1.1 remote-as 200

neighbor 192.168.1.1 route-map SECONDARY_T1_IN in

neighbor 192.168.1.1 route-map SECONDARY_T1_MED_OUT out

!

ip route 172.16.0.0 255.255.0.0 Null0

!

route-map SECONDARY_T1_IN permit 10

set local-preference 125

!

route-map SECONDARY_T1_MED_OUT permit 10

set metric 75

!

end

© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 25 of 25