display pw-template

Function

The display pw-template command displays information about all PW templates or a specified PW template.

Format

display pw-template [ pw-template-name ]

Parameters

Parameter Description Value
pw-template-name

Specifies the name of a PW template.

The value is a string of 1 to 19 case-sensitive characters, spaces not supported.

The string can contain spaces if it is enclosed in double quotation marks (").

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

After creating and configuring a PW template, you can use the display pw-template command to view information about all PW templates or a specified PW template on the device. The information includes the peer, Maximum Transfer Unit (MTU), control word, and tunnel policy.

Prerequisites

A PW template has been created.

Configuration Impact

If a large number of PW templates exist on the device, you are advised to specify the PW template name when using the display pw-template command. Otherwise, excessive output information may cause the following problems:

Precautions

If pw-template-name is not specified in the display pw-template command, information about all PW templates is displayed.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about all PW templates on the device.
<HUAWEI> display pw-template
Total PW template number : 1

  PW Template Name : pwt
  PeerIP           : 6.6.6.6
  Tnl Policy Name  : aaa
  CtrlWord         : Enable
  MTU              : 0
  Seq-Number       : --
  Jitter-Buffer-Cep       : 1125   payload-compression DBA : UNEQ
  VCCV Capability  : cw alert lsp-ping
  L2VPN QoS CIR value          : 3888   L2VPN QoS PIR value          : 3888   L2VPN QoS qos-profile name   : --
  Total PW         : 0, Static PW : 0, LDP PW : 0 
  Flowlabel        : send , receive
Table 1 Description of the display pw-template command output
Item Description
Total PW template number

Total number of PW templates.

Total PW

Total number of PWs using a specific PW template, including static PWs and dynamic PWs.

PW Template Name

Name of a PW template.

PeerIP

Peer IP address.

Tnl Policy Name

Name of the public tunnel policy applied to the PW.

CtrlWord

Whether the control word function is enabled for the PW template:

  • Disable: The control word function is disabled.
  • Enable: The control word function is enabled.
MTU

MTU in a PW template.

Seq-Number

Seq-Number field in the control word of the PW template:

  • If the sequence number function is enabled, the sequence number of a packet will be checked and packets with incorrect sequence numbers will be discarded.
  • If the sequence number function is disabled, packets are processed without considering the sequence numbers.
Jitter-Buffer-Cep

Maximum jitter buffer depth for TDM (with CEP encapsulation).

payload-compression DBA

Payload compression DBA:

  • UNEQ: Send DBA packets when unequipped circuit indications are detected.
  • --: Payload compression DBA is not configured.
VCCV Capability

VC connectivity detection capability. There are two types of channels for VC connectivity detection: control word and label alert.

L2VPN QoS CIR value

Committed information rate for VPN QoS.

L2VPN QoS PIR value

Peak information rate for VPN QoS.

L2VPN QoS qos-profile name

VPN QoS profile name.

Static PW

Number of static PWs using a specific PW template.

LDP PW

Number of dynamic PWs using a specific PW template.

Flowlabel

Flow label configuration:

  • send , --: Flow labels can be sent.
  • -- , receive: Flow labels can be received.
  • send, receive: Flow labels can be both sent and received.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >