[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 70 on each PE router and provider router, as specified.
  3. When you have finished configuring the network, commit the configuration.
  4. To verify the configuration, see Verifying a VPN Configuration.

Table 70: 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)

  1. In the configuration editor hierarchy, select Protocols>L2circuit.
  2. Next to Neighbor, click Add new entry.
  3. In the Neighbor box, enter the loopback address of the local router.
  4. Next to Interface, click Add new entry.
  5. In the Interface box, type the interface name of the remote PE router.
  6. In the Virtual circuit id box, type an ID number.
  7. Click OK until you return to the Protocols page.
  1. From the top of the configuration hierarchy, 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]