Wednesday, December 30, 2009

Modes Of Ethernet Over MPLS (EoMPLS)

Introduction
An Ethernet Pseudowire allows Ethernet packets to transport over MPLS cloud. By using this service customers simply extend their local area networks without loosing the information. The spanning tree will work and end to end connectivity will be on same subnet. Otherwords, we can say it a virtual leased circuit. Customer end to end connectivity is aka as Emulated Service which operates over Pseudowire which further operates over Packet Switched Network (MPLS Network). Entire end to end communication reference model is depicted below.


Figure 1

Modes Of Ethernet Pseudowire
An Ethernet Pseudowire operates in two modes: raw mode and tagged mode. In tagged mode, each frame must have 802.1q tag and that tag is meaningful to the local and end point router. It should be noted that if the VLAN identifier is modified by the egress PE, the Ethernet spanning tree protocol might fail to work properly. If this issue is of significance, the VLAN identifier MUST be selected in such a way that it matches on the attachment circuits at both ends of the PW. It means the identifier or vlan tag should be used same not different. This mode use Pseudowire type 0x0004. Every frame sent on the PW must have a service-delimiting VLAN tag (Different vlans for different customers). If the frame as received by the PE from the attachment circuit does not have a service-delimiting VLAN tag, the PE must prepend the frame with a dummy VLAN tag before sending the frame on the PW.


But in case of raw mode, tag may or may not be added in the frame and is not meaning to the end points. Though the frame is forwarded transparently. This service corresponds to PW type 0x0005. If an Ethernet PW is operating in raw mode, service-delimiting tags are NEVER sent over the PW. If a service-delimiting tag is present when the frame is received from the attachment circuit by the PE, it mUST be stripped from the frame before the frame is sent to the PW.

Why Customer Needs Extended Lan Services
1. In case of Data Center, customers having geographically seperated DC and want to replicate the storage over Fiber Channel IP aka FCIP. FCIP works only on same broadcast domain.
2. Need to run dynamic routing protocol between the sites.

Click Here To Read Rest Of The Post...

Monday, December 28, 2009

PE-CE BGP Link Protection - Testing


In my previous post I described the loss of communication in PE-CE BGP routing. The same could be overcome by using link protection. The testing of PE-CE link protection document is available. Click here to read the full story.

Click Here To Read Rest Of The Post...

Wednesday, December 23, 2009

PE-CE BGP Link Protection In Case Of Dual POP


Customers always complaint about the connectivity loss in case of dual connectivity from service provider. I have seen this issue in many cases when BGP is implemented as PE-CE routing protocol. BGP default behaviour, after a PE-CE link failure nad its detection in routing, all the BGP learned routes removed via the failing link. BGP runs the best path algorithm for the failure routes and then selects the alternate path. The local labes are removed and the same message of withdrawal is sent to all the BGP neighbors. After the withdrawal message the best path algorithm runs and new prefixes are switched to the alternate paths. This is time consuming process, normally take less than 180 ms. But sometimes the applications are so critical and the customer could not bear even the loss of seconds. For more click on Read More!

For this existing problem of long convergence Cisco has introduced new solution of link protection. The MPLS VPN PE-CE Link Protection feature reduces time by sending the broken link’s traffic over a backup path instead of waiting for total network convergence. The feature accomplishes this by maintaining the local label (for 5 minutes) for the prefixes which are switching from the failing local path to the backup path. Because the label is not freed as had been the usual practice, forwarding can continue to take place, but now to the alternate (backup) path chosen by the bestpath algorithm. Thus, the local label has been applied in place of the failed BGP bestpath label; (this is sometimes called “label swapping”). Traffic thereby is locally restored, while the network propagation of the BGP withdrawal messages takes place. Eventually, the egress PE router converges and bypasses
the local repair
The given feature is enabled under vrf and address-family of particular vpn on primary PE
protection local-prefixes


Click Here To Read Rest Of The Post...