Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring the Pseudowire Status TLV

Requirements

The following is a list of the hardware and software requirements for this configuration.

  • One ACX Series Universal Access router
  • Junos OS Release 12.2 or later

Overview

The configuration shown here is the base configuration of a pseudowire with pseudowire-status-tlv enabled. The pseudowire-status-tlv is used to communicate the status of a pseudowire between PE routers.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them in a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level:

edit protocols l2circuit
set neighbor 10.255.64.26
set neighbor 10.255.64.26 interface xe-0/0/0 
set neighbor 10.255.64.26 interface xe-0/0/0 pseudowire-status-tlv
set neighbor 10.255.64.26 interface xe-0/0/0 virtual-circuit-id 1024

Configuring the Pseudowire Status TLV

Step-by-Step Procedure

  1. Navigate to the [edit protocols l2circuit] hierarchy level to configure Layer 2 circuits over MPLS.

    [edit]user@host# edit protocols l2circuit
  2. Set the address for the neighbor provider edge router;, this example uses a fictitious address, 10.255.64.26.

    [edit protocols l2circuit]user@host# set neighbor 10.255.64.26
  3. Specify the name of the interface forming the Layer 2 circuit; this example uses xe-0/0/0.

    [edit protocols l2circuit]user@host# set neighbor 10.255.64.26 interface xe-0/0/0
  4. Enter the pseudowire-status-tlv statement.

    [edit protocols l2circuit]user@host# set neighbor 10.255.64.26 interface xe-0/0/0 pseudowire-status-tlv

    Note: You need to configure the virtual-circuit-id statement in order for pseudowire-status-tlv to work.

  5. Set the virtual-circuit-id statement to identify the pseudowire as regular or redundant. The identifier value can range from 1 through 4,294,967,295.

    [edit protocols l2circuit]user@host# set neighbor 10.255.64.26 interface xe-0/0/0 virtual-circuit-id 1024
  6. Check your configuration by entering the show command.

Results

[edit protocols l2circuit]
user@host# show neighbor 10.255.64.26 { interface xe-0-0-0 { virtual-circuit-id 1024; pseudowire-status-tlv; } }

Published: 2013-01-11