Thursday, July 29, 2010

Multiplexing


Some Basic - Digital Signal

First some basic stuff. You will see references to 64K (bits) 'channels' all over the place. This is the basic digital voice signal - called Digital Signal 0 or the infamous DS0 for short. The digital voice signal is encoded using PCM (Pulse Code Modulation) and TDM (Time Division Multiplexing). All other classic copper signal hierarchies, known as PDH - the Plesiochronous Digital Hierarchy, such as T3, are defined as multiples of DS0. Why 64K. Well... to digitize narrowband speech (voice) you take a 4KHz spectrum (actually 3.1K). Normal sampling techniques only give reasonable resolution if sampled at twice the frequency (which gives 2 x 4K(ish) = 8K samples per second). Each sample is 8 bits which gives 8K x 8 = 64K bits per second.

BIT DROPPING - Digital Signal

Now if you think that for a T1 if you multiply 24 x DS0 (64,000) you do NOT get 1.544 Mbit/s instead you get 24 * 64,000 = 1.536 Mbit/s. The extra bits are lost between 'frames' where a frame consists of one 8 bit sample for each of the 24 channels (remember the DS0 basics). So every 192 bits (24 x 8 = 192) we add a 'frame separator' bit to give 193 bits per frame. The final arithmetic is 193 bits x 8K samples = 1.544 Mbit/s. Easy really.
If you do the same arithmetic for DS1C, T2 etc. the above will not give the right answer. In short, above T1 things get really nasty with M-Frames and M-subframes. Its mind numbing stuff and if you really need this information get hold of ANSI T1.107-2002 and lots of coffee or other mind-altering substances.

Optical Carriers

Optical transmission systems are known as SONET (Synchronous Optical NETwork) in North America and SDH (Synchronous Digital Hierarchy) in the Rest of the World. Optical Carriers are typically known by their OC-x number where x is a multiple of the OC-1 rate of 51.84 Mbps (shades of DS0 but a tad faster). While there is a common world-wide standard for optical systems there are differences but they are accommodated within the standard. North America uses an STS-x (Synchronous Transport Signal) format for frames (packets) and Europe an STM-x (Synchronous Transport Module) format because .... well its obvious really, one is from Europe and the other from North America and even if they were both exactly the same, which they are not, the terms would in any case be different. One day if we ever understand the differences we will add some more information.




Wednesday, July 28, 2010

LDP: Label Distribution Protocol Overview

LDP: Label Distribution Protocol Overview

Label Distribution Protocol (LDP) is a key protocol in the MPLS (Multi Protocol Label Switching) architecture. In the MPLS network, 2 label switching routers (LSR) must agree on the meaning of the labels used to forward traffic between and through them. LDP defines a set of procedures and messages by which one LSR (Label Switched Router) informs another of the label bindings it has made. The LSR uses this protocol to establish label switched paths through a network by mapping network layer routing information directly to data-link layer switched paths.
Two LSRs (Label Switched Routers) which use LDP to exchange label mapping information are known as LDP peers and they have an LDP session between them. In a single session, each peer is able to learn about the others label mappings, in other words, the protocol is bi-directional.

OSPF LSA

OSPF -- LSA -- Type


Friday, July 23, 2010

Jitter Buffer - PDV in TDM

Introduction -- TDM-over-Packet -- Jitter Buffer - PDV

The DS34T10x and DS34S10x families of TDM-over-Packet (TDMoP) devices use jitter buffers to compensate for the packet-delay variation (PDV) that is present in packet networks. These buffers are independently configurable on a per-bundle or per-connection basis. Additionally, they are dynamically adjustable, allowing them to be adapted in real-time to changes in the performance characteristics of the packet network. This application note discusses the jitter buffer controller and how to set its parameters to minimize the effects of PDV during TDM clock recovery.DS34T10x comprises the DS34T101, DS34T102, DS34T104, and DS34T108; DS34S10x comprises the DS34S101, DS34S102, DS34S104, and DS34S108.

Timing in a TDM Network

Variations in packet arrival time, called jitter, occur because of network congestion, timing drift, or route changes. Thus, when replacing the physical TDM connection with an IP/MPLS network and two TDMoP devices ,the receiving TDMoP device (slave) receives TDMoP packets with variable delays in arrival time.After processing the packets, the device should send TDM data to the TDM side at the constant rate of the TDM network to minimize the effects of this jitter. To achieve this constant data rate, the device works in clock-recovery mode to reconstruct the source TDM clock so that the destination TDM device can still work in loopback timing mode

There are two kinds of jitter buffers: static and dynamic. The static jitter buffer is hardware-based and is configured by the manufacturer. The dynamic jitter buffer is software-based and can be configured by a network administrator to adapt to changes in the network's delay and PDV.

Types of Pseudowires



Introduction to TDM Pseudowires

Pseudowires(PWs) as a technology originate from the contributions made to
the IETF PWE3 working group, which defined the transport of legacy layer 2
services over an MPLS network. These papers were coined the Martini Drafts
(some were wryly dubbed Dry Martini) after one of the lead authors, Luca
Martini. As such, pseudowires have been in existence for nearly a decade,
mainly in the core and edge of the network, typically transporting ATM and
Frame Relay traffic over a carrier IP network.
RAD has pioneered TDM pseudowires in the access sector, introducing a TDM
pseudowire technology in 1999 at ITU World Telecom in Geneva. Known as
TDMoIP®, this implementation extended the original pseudowire definition into
the access network and to the customer premises. This technology has
enabled carriers and corporate customers alike to provide TDM connectivity
and services over a packet network. TDMoIP pseudowire supports all types of
TDM services: framed, unframed, with or without Channel Associated Signaling
(CAS), enabling a smooth migration to packet networks.

Available Pseudowire Types

Following the successful deployment of TDMoIP gateways by RAD, other
flavors of TDM pseudowires have been developed under the aegis of the IETF.
These pseudowires are known as Circuit Emulation over PSN (CESoPSN) and
Structure Agnostic TDM over Packet (SAToP).

CESoPSN TDM pseudowire technology supports framed and channelized TDM
services over packet switched networks. The main difference between TDMoIP
and CESoPSN is the way CESoPSN packetizes the TDM data. Where TDMoIP
packetizes TDM data in multiples of 48 bytes, CESoPSN uses multiples of the
TDM frame itself.

SAToP (RFC 4553), or Structure Agnostic TDM over Packet, is a TDM
pseudowire technology that differs from TDMoIP and CESoPSN in that it treats
the TDM traffic as a data stream and ignores the framing or the timeslots
(DS0). It provides functionality similar to TDMoIP in its unframed mode.
1] SAToP -- Unframed
2] TDMoIP -- Unfraed , Framed , Channelized
3] CESoPSN -- Framed , Channelized.












Monday, July 12, 2010

VPLS Configuration

VPLS Configuration : The Future





VPLS allows multiple Ethernet LANs from different customer sites to be connected together across the service
provider (SP) network, thereby emulating a single Ethernet LAN segment for that customer.

SP network providing VPLS services in which multiple customer sites (belonging to Customer A) can communicate
as if they are connected as a private Ethernet LAN segment. VPLS uses Multiprotocol Label Switching (MPLS) to
offer multipoint Ethernet connectivity over a mesh of logical circuits or tunnels, with the added benefits of Traffic
Engineering (TE), resilience, and failover. VPLS enables carriers and SPs to offer managed Ethernet VPN services
easily and cost effectively

MPLS Service Provider Configuration

MPLS Service Provider Configuration












Here is the basic configuration of MPLS Service Provider with Route Reflector


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cust_C_1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback10
ip address 10.1.1.1 255.255.255.0
!
interface Loopback20
ip address 10.1.2.1 255.255.255.0
!
interface Loopback30
ip address 10.1.3.1 255.255.255.0
!
interface FastEthernet0/0
ip address 51.1.1.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 10.250.30.2 255.255.255.252
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 10
log-adjacency-changes
network 10.1.1.0 0.0.0.255 area 0
network 10.1.2.0 0.0.0.255 area 0
network 10.1.3.0 0.0.0.255 area 0
network 10.250.30.0 0.0.0.3 area 0
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end



!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cust_B_1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback10
ip address 10.1.1.1 255.255.255.0
!
interface Loopback20
ip address 10.1.2.1 255.255.255.0
!
interface Loopback30
ip address 10.1.3.1 255.255.255.0
!
interface FastEthernet0/0
ip address 51.1.1.3 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 10.250.20.2 255.255.255.252
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router eigrp 10
network 10.0.0.0
no auto-summary
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cust_A_1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback10
ip address 10.1.1.1 255.255.255.0
!
interface Loopback20
ip address 10.1.2.1 255.255.255.0
!
interface Loopback30
ip address 10.1.3.1 255.255.255.0
!
interface FastEthernet0/0
ip address 51.1.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 10.250.10.2 255.255.255.252
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router rip
version 2
network 10.0.0.0
no auto-summary
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end



!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE_1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
ip vrf CUST_A
rd 65000:100
route-target export 65000:100
route-target import 65000:100
!
ip vrf CUST_B
rd 65000:200
route-target export 65000:200
route-target import 65000:200
!
ip vrf CUST_C
rd 65000:300
route-target export 65000:300
route-target import 65000:300
!
no mpls ip propagate-ttl
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
description **** MPLS Lookback ****
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 51.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.10
description description ***** Connected To Cust_A_1 *****
encapsulation dot1Q 10
ip vrf forwarding CUST_A
ip address 10.250.10.1 255.255.255.252
!
interface FastEthernet0/0.20
description description ***** Connected To Cust_B_1 *****
encapsulation dot1Q 20
ip vrf forwarding CUST_B
ip address 10.250.20.1 255.255.255.252
!
interface FastEthernet0/0.30
description description ***** Connected To Cust_C_1 *****
encapsulation dot1Q 30
ip vrf forwarding CUST_C
ip address 10.250.30.1 255.255.255.252
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
description ***** Connected To P_CORE_ROUTER *****
ip address 172.16.1.1 255.255.255.252
duplex auto
speed auto
mpls label protocol ldp
mpls ip
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router eigrp 1
no auto-summary
!
address-family ipv4 vrf CUST_B
redistribute bgp 65000 metric 1000 10 255 1 1
network 10.0.0.0
no auto-summary
autonomous-system 10
exit-address-family
!
router ospf 10 vrf CUST_C
log-adjacency-changes
redistribute bgp 65000 subnets
network 10.250.30.0 0.0.0.3 area 0
!
router ospf 100
router-id 1.1.1.1
log-adjacency-changes
passive-interface default
no passive-interface FastEthernet1/0
network 1.1.1.0 0.0.0.255 area 0
network 172.16.1.0 0.0.0.3 area 0
!
router rip
no auto-summary
!
address-family ipv4 vrf CUST_A
redistribute bgp 65000 metric 5
network 10.0.0.0
no auto-summary
version 2
exit-address-family
!
router bgp 65000
bgp log-neighbor-changes
neighbor 5.5.5.5 remote-as 65000
neighbor 5.5.5.5 update-source Loopback1
!
address-family ipv4
neighbor 5.5.5.5 activate
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 5.5.5.5 activate
neighbor 5.5.5.5 send-community extended
exit-address-family
!
address-family ipv4 vrf CUST_C
redistribute ospf 10 vrf CUST_C
no synchronization
exit-address-family
!
address-family ipv4 vrf CUST_B
redistribute eigrp 10
no synchronization
exit-address-family
!
address-family ipv4 vrf CUST_A
redistribute rip
no synchronization
exit-address-family
!
!
no ip http server
no ip http secure-server
!
!
!
!
mpls ldp router-id Loopback1
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end



!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE_2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
ip vrf CUST_A
rd 65000:100
route-target export 65000:100
route-target import 65000:100
!
ip vrf CUST_B
rd 65000:200
route-target export 65000:200
route-target import 65000:200
!
ip vrf CUST_C
rd 65000:300
route-target export 65000:300
route-target import 65000:300
!
ip vrf forwarding
!
no mpls ip propagate-ttl
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
description **** MPLS Loopback ****
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
description description ***** Connected To P_CORE_ROUTER *****
ip address 172.16.2.2 255.255.255.252
duplex auto
speed auto
mpls label protocol ldp
mpls ip
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 60.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0.10
description description ***** Connected To Cust_A_2 *****
encapsulation dot1Q 10
ip vrf forwarding CUST_A
ip address 10.240.10.1 255.255.255.252
!
interface FastEthernet1/0.20
description description ***** Connected To Cust_B_2 *****
encapsulation dot1Q 20
ip vrf forwarding CUST_B
ip address 10.240.20.1 255.255.255.252
!
interface FastEthernet1/0.30
description description ***** Connected To Cust_C_2 *****
encapsulation dot1Q 30
ip vrf forwarding CUST_C
ip address 10.240.30.1 255.255.255.252
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router eigrp 1
no auto-summary
!
address-family ipv4 vrf CUST_B
redistribute bgp 65000 metric 1000 10 255 1 1
network 10.0.0.0
auto-summary
autonomous-system 10
exit-address-family
!
router ospf 10 vrf CUST_C
log-adjacency-changes
redistribute bgp 65000 subnets
network 10.240.30.0 0.0.0.3 area 0
!
router ospf 100
router-id 2.2.2.2
log-adjacency-changes
passive-interface default
no passive-interface FastEthernet0/0
network 2.2.2.2 0.0.0.0 area 0
network 172.16.2.0 0.0.0.3 area 0
!
router rip
no auto-summary
!
address-family ipv4 vrf CUST_A
redistribute bgp 65000 metric 5
network 10.0.0.0
no auto-summary
version 2
exit-address-family
!
router bgp 65000
bgp log-neighbor-changes
neighbor 5.5.5.5 remote-as 65000
neighbor 5.5.5.5 update-source Loopback1
!
address-family ipv4
neighbor 5.5.5.5 activate
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 5.5.5.5 activate
neighbor 5.5.5.5 send-community extended
exit-address-family
!
address-family ipv4 vrf CUST_C
redistribute ospf 10 vrf CUST_C
no synchronization
exit-address-family
!
address-family ipv4 vrf CUST_B
redistribute eigrp 10
no synchronization
exit-address-family
!
address-family ipv4 vrf CUST_A
redistribute rip
no synchronization
exit-address-family
!
!
no ip http server
no ip http secure-server
!
!
!
!
mpls ldp router-id Loopback1
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end



!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cust_A_2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback10
ip address 20.1.1.1 255.255.255.0
!
interface Loopback20
ip address 20.1.2.1 255.255.255.0
!
interface Loopback30
ip address 20.1.3.1 255.255.255.0
!
interface FastEthernet0/0
description description ***** Connected To PE_2 *****
ip address 60.1.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.10
description description ***** Connected To PE_2 *****
encapsulation dot1Q 10
ip address 10.240.10.2 255.255.255.252
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router rip
version 2
network 10.0.0.0
network 20.0.0.0
no auto-summary
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end




!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cust_B_2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback10
ip address 20.1.1.1 255.255.255.0
!
interface Loopback20
ip address 20.1.2.1 255.255.255.0
!
interface Loopback30
ip address 20.1.3.1 255.255.255.0
!
interface FastEthernet0/0
description description ***** Connected To PE_2 *****
ip address 60.1.1.3 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.20
description description ***** Connected To PE_2 *****
encapsulation dot1Q 20
ip address 10.240.20.2 255.255.255.252
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router eigrp 10
network 10.0.0.0
network 20.0.0.0
no auto-summary
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end



!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cust_C_2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback10
ip address 20.1.1.1 255.255.255.0
!
interface Loopback20
ip address 20.1.2.1 255.255.255.0
!
interface Loopback30
ip address 20.1.3.1 255.255.255.0
!
interface FastEthernet0/0
description description ***** Connected To PE_2 *****
ip address 60.1.1.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.30
description description ***** Connected To PE_2 *****
encapsulation dot1Q 30
ip address 10.240.30.2 255.255.255.252
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 10
log-adjacency-changes
network 10.240.30.0 0.0.0.3 area 0
network 20.1.1.0 0.0.0.255 area 0
network 20.1.2.0 0.0.0.255 area 0
network 20.1.3.0 0.0.0.255 area 0
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end



!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname P_CORE_ROUTER
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback1
description **** MPLS Loopback ****
ip address 5.5.5.5 255.255.255.255
!
interface FastEthernet0/0
description description ***** Connected To PE_2 *****
ip address 172.16.2.1 255.255.255.252
duplex auto
speed auto
mpls label protocol ldp
mpls ip
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
description description ***** Connected To PE_1 *****
ip address 172.16.1.2 255.255.255.252
duplex auto
speed auto
mpls label protocol ldp
mpls ip
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 100
router-id 5.5.5.5
log-adjacency-changes
network 5.5.5.5 0.0.0.0 area 0
network 172.16.1.0 0.0.0.3 area 0
network 172.16.2.0 0.0.0.3 area 0
!
router bgp 65000
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 65000
neighbor 1.1.1.1 update-source Loopback1
neighbor 2.2.2.2 remote-as 65000
neighbor 2.2.2.2 update-source Loopback1
!
address-family ipv4
neighbor 1.1.1.1 activate
neighbor 2.2.2.2 activate
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 send-community extended
neighbor 1.1.1.1 route-reflector-client
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community extended
neighbor 2.2.2.2 route-reflector-client
exit-address-family
!
!
no ip http server
no ip http secure-server
!
!
!
!
mpls ldp router-id Loopback1
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end