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

Lab: Configuring an MPLS VPN 239

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

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

ip netmask-format decimal

!

end

Atlanta Running-Config

This section contains the running-config of the Atlanta POP router. Try to get in the habit of reading and verifying the configurations of the routers.

Atlanta#show running-config

Building configuration...

Current configuration : 1972 bytes

!

version 12.1

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

!

hostname Atlanta

!

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

240 Chapter 6 MPLS VPNs and RIP

enable password cisco

!

!

!

!

!

memory-size iomem 25 ip subnet-zero

ip tcp synwait-time 5 no ip domain-lookup

!

!

ip vrf vpn_1 rd 65000:1

route-target export 65000:1 route-target import 65000:1

ip cef

cns event-service server

!

!

!

!

!

interface Loopback0

ip address 204.134.83.1 255.255.255.255

!

interface Serial0/0

description *** Link to Core Router ***

ip address 204.134.83.5 255.255.255.252 tag-switching ip

no fair-queue clockrate 64000

!

interface Serial0/1

description *** Link to Peer1 ***

ip vrf forwarding vpn_1

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

Lab: Configuring an MPLS VPN 241

ip address 192.168.3.6 255.255.255.252 clockrate 64000

!

interface Serial0/2 no ip address shutdown

clockrate 64000

!

interface Serial0/3 no ip address shutdown

clockrate 64000

!

interface Ethernet1/0 no ip address shutdown

!

interface Ethernet1/1 no ip address shutdown

!

interface Ethernet1/2 no ip address shutdown

!

interface Ethernet1/3 no ip address shutdown

!

router rip version 2

network 204.134.83.0

!

address-family ipv4 vrf vpn_1 version 2

redistribute bgp 65000 metric transparent

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

242 Chapter 6 MPLS VPNs and RIP

network 192.168.3.0 no auto-summary exit-address-family

!

router bgp 65000

no synchronization

bgp log-neighbor-changes

neighbor 204.134.83.3 remote-as 65000 neighbor 204.134.83.3 update-source Loopback0 neighbor 204.134.83.3 next-hop-self

no auto-summary

!

address-family ipv4 vrf vpn_1 redistribute rip

no auto-summary

no synchronization exit-address-family

!

address-family vpnv4

neighbor 204.134.83.3 activate

neighbor 204.134.83.3 send-community both no auto-summary

exit-address-family

!

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