From Internetworkpro
| This page or section provides device configuration instructions
Please note that the information on this page has not been checked for accuracy and is not intended as a replacement to documentation. Please ensure you understand your desired objectives before attempting to apply any examples listed. See more examples at Category:Configuration
|
[edit] R1 Config
Building configuration...
Current configuration : 1972 bytes
!
version 12.4
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
!
resource policy
!
!
!
ip cef
!
!
ip vrf Blue
rd 65000:100
route-target export 65000:100
route-target import 65000:100
!
!
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.0.0.1 255.255.255.255
ip ospf 1 area 0
!
interface Loopback100
ip vrf forwarding Blue
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.128.1.1 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface Ethernet2/0
no ip address
shutdown
half-duplex
!
interface Ethernet2/1
no ip address
shutdown
half-duplex
!
interface Serial3/0
no ip address
mpls ip
clock rate 128000
no fair-queue
!
interface Serial3/1
no ip address
shutdown
!
interface Serial3/2
ip address 10.1.3.1 255.255.255.252
ip ospf 1 area 0
mpls ip
clock rate 128000
!
interface Serial3/3
no ip address
shutdown
!
interface Serial3/4
no ip address
shutdown
!
interface Serial3/5
no ip address
shutdown
!
interface Serial3/6
no ip address
shutdown
!
interface Serial3/7
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.0.0.3 remote-as 65000
neighbor 10.0.0.3 update-source Loopback0
no auto-summary
!
address-family vpnv4
neighbor 10.0.0.3 activate
neighbor 10.0.0.3 send-community both
exit-address-family
!
address-family ipv4 vrf Blue
redistribute connected
no synchronization
exit-address-family
!
ip http server
no ip http secure-server
!
!
!
!
!
tftp-server flash:c3640-jk9o3s-mz.124-8.bin
mpls ldp router-id Loopback0 force
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
[edit] R3 Config
Building configuration...
Current configuration : 1524 bytes
!
version 12.4
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
!
resource policy
!
!
!
ip cef
!
!
ip vrf Blue
rd 65000:100
route-target export 65000:100
route-target import 65000:100
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.0.0.3 255.255.255.255
ip ospf 1 area 0
!
interface Loopback100
ip vrf forwarding Blue
ip address 192.168.3.1 255.255.255.0
!
interface FastEthernet0/0
ip address 10.128.1.1 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface Ethernet2/0
no ip address
half-duplex
!
interface Ethernet2/1
no ip address
half-duplex
!
interface Serial3/0
ip address 10.1.3.2 255.255.255.252
ip ospf 1 area 0
mpls ip
!
interface Serial3/1
no ip address
shutdown
clock rate 2000000
!
router ospf 1
log-adjacency-changes
!
router bgp 65000
no synchronization
bgp log-neighbor-changes
neighbor 10.0.0.1 remote-as 65000
neighbor 10.0.0.1 update-source Loopback0
no auto-summary
!
address-family vpnv4
neighbor 10.0.0.1 activate
neighbor 10.0.0.1 send-community both
exit-address-family
!
address-family ipv4 vrf Blue
redistribute connected
no synchronization
exit-address-family
!
ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
privilege level 15
line aux 0
line vty 0 4
login
!
!
end