Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Cisco CCIP MPLS Study Guide - James Reagan.pdf
Скачиваний:
250
Добавлен:
24.05.2014
Размер:
6.47 Mб
Скачать

Lab: Configuring an MPLS VPN 243

line vty 0 4 privilege level 15 password cisco logging synchronous login

ip netmask-format decimal

!

end

Peer 1 Running-Config

The Peer 1 router is configured with standard RIPv2; it is configured to advertise its WAN segment and its loopback addresses. This section contains the running-config of the Peer 1 router. Try to get in the habit of reading and verifying the configurations of the routers.

Peer1#show running-config

Building configuration...

Current configuration : 836 bytes

!

version 12.1

service timestamps debug uptime service timestamps log uptime no service password-encryption

!

hostname Peer1

!

enable password cisco

!

!

!

!

!

ip subnet-zero

ip tcp synwait-time 5 no ip domain-lookup

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

244 Chapter 6 MPLS VPNs and RIP

!

!

!

!

interface Loopback0

ip address 192.168.1.1 255.255.255.255

!

interface Ethernet0 no ip address shutdown

!

interface Serial0

description *** Link to Atlanta POP ***

ip address 192.168.3.5 255.255.255.252 no fair-queue

!

interface Serial1 no ip address shutdown

!

router rip version 2

network 192.168.1.0 network 192.168.3.0

!

ip classless

no ip http server

!

!

line con 0 exec-timeout 0 0 privilege level 15 logging synchronous transport input none

ip netmask-format decimal line aux 0

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

Lab: Configuring an MPLS VPN 245

line vty 0 4 privilege level 15 password cisco logging synchronous login

ip netmask-format decimal

!

end

Peer 2 Running-Config

The Peer 2 router is configured with standard RIPv2; it is configured to advertise its WAN segment and its loopback addresses. This section contains the running-config of the Peer 2 router. Try to get in the habit of reading and verifying the configurations of the routers.

Peer2#show running-config

Building configuration...

Current configuration : 1063 bytes

!

version 12.1

service timestamps debug uptime service timestamps log uptime no service password-encryption

!

hostname Peer2

!

enable password lab

!

!

!

!

!

ip subnet-zero

ip tcp synwait-time 5

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

246 Chapter 6 MPLS VPNs and RIP

no ip domain-lookup

!

!

!

!

interface Loopback0

ip address 192.168.2.1 255.255.255.255

!

interface Ethernet0 no ip address shutdown

!

interface Serial0

description *** Link to PE2 ***

ip address 192.168.3.10 255.255.255.252 no fair-queue

!

interface Serial1 no ip address shutdown

!

router rip version 2

network 192.168.2.0 network 192.168.3.0

!

ip classless

no ip http server

!

!

line con 0 exec-timeout 0 0 privilege level 15 logging synchronous transport input none

ip netmask-format decimal

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com