Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Example: Configuring the Pseudowire Status TLV

date_range 23-Nov-23

Requirements

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

  • One ACX Series Universal Metro 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:

content_copy zoom_out_map
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.

    content_copy zoom_out_map
    [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.

    content_copy zoom_out_map
    [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.

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

    content_copy zoom_out_map
    [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.

    content_copy zoom_out_map
    [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

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