For discovered LDP-signaled L2VPNs, the MPLS Topology Server infers VPNs from Forwarder, ForwarderEndpoint, and PseudoWire instances and the relationships between the instances. An LDP-signaled L2VPN is composed of Forwarders, ForwarderEndpoints, and PseudoWires.

In an LDP-signaled VPLS, the VC ID is the same for each pseudowire that belongs to the VPLS. The VC ID is the VPLS ID for an LDP-signaled VPLS.

For discovered BGP-signaled L2VPNs, the MPLS Topology Server infers VPNs from Forwarder, ForwarderEndpoint, PseudoWire, VRF, and RouteTarget instances and the relationships between the instances. The MPLS Topology Server matches the underlying interfaces of the VRFs with the underlying interfaces of the ForwarderEndpoints to determine which Forwarders, ForwarderEndpoints, and PseudoWires belong to a VPN. A BGP-signaled Layer 2 VPN is composed of Forwarders, ForwarderEndpoints, PseudoWires, VRFs, and RouteTargets.

In a BGP-signaled VPLS, the route target is the same for the VPLS across all PEs that belong to the VPLS. The route target is the VPLS ID for a BGP-signaled VPLS.

For a VPN that is associated with an Ethernet VLAN, the VPN relationship Underlying points to the VLAN.