[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring a Layer 2 Circuit

Each Layer 2 circuit is represented by the logical interface connecting the local PE Services Router to the local CE Services Router. All Layer 2 circuits using a particular remote PE Services Router neighbor is identified by its IP address and is usually the endpoint destination for the LSP tunnel transporting the Layer 2 circuit.

You configure a virtual circuit ID on each interface. Each virtual circuit ID uniquely identifies the Layer 2 circuit among all the Layer 2 circuits to a specific neighbor. The key to identifying a particular Layer 2 circuit on a PE router is the neighbor address and the virtual circuit ID. Based on the virtual circuit ID and the neighbor relationship, an LDP label is bound to an LDP circuit. LDP uses the binding for sending traffic on that Layer 2 circuit to the remote CE router.

To configure a Layer 2 circuit:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 16 on each PE router and provider router, as specified.
  3. If you are finished configuring the router, commit the configuration.
  4. To verify the configuration, see Verifying a VPN Configuration.

Table 16: Configuring a Layer 2 Circuit

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the top of the configuration hierarchy and enable a Layer 2 circuit on the appropriate interface.

(PE Services Router)

(See the interface naming conventions in the J-series Services Router Basic LAN and WAN Access Configuration Guide.)

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Protocols, click Configure or Edit.
  3. Next to L2circuit, click Configure or Edit.
  4. Next to Neighbor, click Add new entry.
  5. In the Neighbor box, enter the loopback address of the local router.
  6. Next to Interface, click Add new entry.
  7. In the Interface box, type the interface name of the remote PE router.
  8. In the Virtual circuit id box, type an ID number.
  9. Click OK until you return to the Protocols page.
  1. From the [edit] hierarchy level, enter

    edit protocols l2circuit neighbor interface-name interface interface-name

    For neighbor, specify the local loopback address, and for interface, specify the interface name of the remote PE router.

  2. Enter

    set virtual-circuit-id id-number


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]