TechStop

Mar 11 2011   1:00AM GMT

MPLS Pseudo-Wire Basics – Part 3



Posted by: Joshua Wood
Tags:
Cisco
MPLS

Welcome back, after the previous two posts we have the design and the client side devices. These are pretty straightforward. The client devices are obviously out of the loop when it comes to participating in the layer 2 tunneling of traffic across the providers network. Let’s take a look at the piece that connects to the provider network. Below are the configs for the two PE routers. Again, I have tried to clean/reduce them as much as possible to only show the relevant pieces but there might be some artifacts left over.

Basically what is happening here is that on the interface GigabitEthernet0/1.250 we are taking in the information that the client gives to us and encapsulating inside of an MPLS structure in order to send it across the network. This is done mostly using the three commands “xconnect 10.2.3.1 200 pw-class 200” and “pseudowire-class 200” and “encapsulation mpls”.

The next phase of this is to send the MPLS encapsulated layer 2 traffic across the “P” or provider core routers. Those routers we will look in the next post. After that we will have a recap of everything in order to make sure that the little points are clear enough for everyone. If there are any questions or comments please feel free to fire away at any point.

PE1#sh run
ip cef
!
pseudowire-class 200
encapsulation mpls
!
interface Loopback0
ip address 10.2.1.1 255.255.255.255
!
interface GigabitEthernet0/0
description CONNECT TO P1
ip address 172.16.1.2 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface GigabitEthernet0/1
description CONNECT TO CLIENT 200
no ip address
duplex auto
speed auto
no cdp enable
!
interface GigabitEthernet0/1.250
description CONNECT TO CLIENT 200
encapsulation dot1Q 200
xconnect 10.2.3.1 200 pw-class 200
!
router ospf 101
router-id 10.2.1.1
log-adjacency-changes
network 10.2.1.1 0.0.0.0 area 0
network 172.16.1.0 0.0.0.255 area 0
network 172.16.3.0 0.0.0.255 area 0
!
router bgp 65535
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.2.2.1 remote-as 65535
neighbor 10.2.2.1 update-source Loopback0
neighbor 10.2.3.1 remote-as 65535
neighbor 10.2.3.1 update-source Loopback0
!
address-family ipv4
no synchronization
neighbor 10.2.2.1 activate
neighbor 10.2.3.1 activate
no auto-summary
exit-address-family
!
address-family vpnv4
neighbor 10.2.2.1 activate
neighbor 10.2.2.1 send-community extended
neighbor 10.2.3.1 activate
neighbor 10.2.3.1 send-community extended
exit-address-family
!
ip forward-protocol nd
!
PE1#

PE3#sh run
pseudowire-class 200
encapsulation mpls
!
interface Loopback0
ip address 10.2.3.1 255.255.255.255
!
interface GigabitEthernet0/0
description CONNECT TO P3
ip address 172.16.3.2 255.255.255.0
duplex auto
speed 100
mpls ip
!
interface GigabitEthernet0/1.250
description CONNECT TO CLIENT 200
encapsulation dot1Q 200
xconnect 10.2.1.1 200 pw-class 200
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
!
router ospf 101
router-id 10.2.3.1
log-adjacency-changes
network 10.2.3.1 0.0.0.0 area 0
network 172.16.3.0 0.0.0.255 area 0
!
router bgp 65535
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.2.1.1 remote-as 65535
neighbor 10.2.1.1 update-source Loopback0
neighbor 10.2.2.1 remote-as 65535
neighbor 10.2.2.1 update-source Loopback0
!
address-family ipv4
no synchronization
neighbor 10.2.1.1 activate
neighbor 10.2.2.1 activate
no auto-summary
exit-address-family
!
address-family vpnv4
neighbor 10.2.1.1 activate
neighbor 10.2.1.1 send-community extended
neighbor 10.2.2.1 activate
neighbor 10.2.2.1 send-community extended
exit-address-family
!
ip forward-protocol nd
!
PE3#

MPLS Pseudo-Wire Basics – Part 1: http://itknowledgeexchange.techtarget.com/techstop/mpls-pseudo-wi…2%80%93-part-2mpls-pseudo-wire-basics-%e2%80%93-part-2/

Until next time,
TechStop

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: