# l2vpn local-site-id remote-site-id

#### Syntax

l2vpn l2VpnName local-site-id localSiteId remote-site-id remoteSiteId

no l2vpn l2VpnName

#### Release Information

Command introduced in JunosE Release 8.1.0.

#### Description

Configures a layer 2 interface as a member of a VPWS L2VPN by specifying local and remote customer site IDs. The no version removes the interface as a member of the VPWS L2VPN.

#### Options

- l2VpnName—Name of the VPWS instance
- localSiteId—Numerical identifier for the local site in the VPWS L2VPN, in the range 1–65535
- remoteSiteId—Numerical identifier for the remote site in the VPWS L2VPN, in the range 1–65535

#### Mode

Interface Configuration, Subinterface Configuration

#### Related Documentation

- Configuring Customer-Facing Interfaces in the L2VPN Instance in the JunosE BGP and MPLS Configuration Guide