Pseudowire signaling details

The pseudowire is set up using the following NLRI fields:

This BGP update is telling the other PEs that accept the RT: reach me (VE-ID = x), use a pseudowire label of LB + VE-ID – VBO using the BGP NLRI for which VBO =< local VE-ID < VBO + VBS.

Following is an example of how this algorithm works, assuming PE1 has VE-ID 7 configured:

Assuming that VE-ID = 10 is configured in another PE4, the following procedure applies:

In addition to the pseudowire label information, the "Layer2 Info Extended Community" attribute must be included in the BGP update for BGP VPLS to signal the attributes of all the pseudowires that converge toward the originator VPLS PE.

The format is as follows:

+------------------------------------+
| Extended community type (2 octets) |
+------------------------------------+
|  Encaps Type (1 octet)             |
+------------------------------------+
|  Control Flags (1 octet)           |
+------------------------------------+
|  Layer-2 MTU (2 octet)             |
+------------------------------------+
|  Reserved (2 octets)               |
+------------------------------------+

The meaning of the fields are as follows:

Figure 1 shows the detailed format for the control flags bit vector.

Figure 1. Control flag bit vector format

The following bits in the control flags are defined as follows:

Following are the events that set the D-bit to 1 to indicate VSI down status in the BGP update message sent out from a PE:

The following events do not set the D-bit to 1: