No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - VPN 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Verifying the LDP VPWS Configuration

Verifying the LDP VPWS Configuration

Prerequisites

LDP VPWS has been configured.

Procedure

  • Run the display mpls l2vc [ vc-id | interface interface-type interface-number ] command to check local VPWS PW information.
  • Run the display mpls l2vc remote-info [ vc-id | unmatch | verbose ] command to check remote VPWS PW information.
  • Run the display pw-template [ pw-template-name ] command to check PW template information.
  • Run the display local-ce mac [ interface-type interface-number ] command to check MAC addresses and VLAN IDs of Ethernet interfaces on local CEs.
  • Run the display mpls label-stack vll interface interface-type interface-number command to check label stack information.
  • Run the display mpls l2vpn interface interface-type interface-number performance command to check PW performance statistics on a TDM interface.

Example

Run the display mpls l2vc [ vc-id | interface interface-type interface-number ] command. The command output shows that the VC status is Up.

<HUAWEI> display mpls l2vc interface gigabitethernet 0/1/0
*client interface       : GigabitEthernet0/1/0 is up
  Administrator PW       : no
  session state          : up
  AC status              : up
  VC state               : up
  Label state            : 0
  Token state            : 0
  VC ID                  : 160202
  VC type                : Ethernet
  destination            : 7.7.7.7
  local group ID         : 0            remote group ID      : 0
  local VC label         : 44767        remote VC label      : 32845
  local AC OAM State     : up
  local PSN OAM State    : up
  local forwarding state : forwarding
  local status code      : 0x0 (standby)
  remote AC OAM state    : up
  remote PSN OAM state   : up
  remote forwarding state: forwarding
  remote status code     : 0x20 (standby)
  ignore standby state   : no
  BFD for PW             : unavailable
  VCCV State             : up
  manual fault           : not set
  active state           : inactive
  forwarding entry       : exist
  OAM Protocol           : --
  OAM Status             : --
  OAM Fault Type         : --
  PW APS ID              : --
  PW APS Status          : --
  TTL Value              : 1
  link state             : up
  local VC MTU           : 1500         remote VC MTU        : 1500
  local VCCV             : cw alert ttl lsp-ping bfd
  remote VCCV            : cw alert ttl lsp-ping bfd
  local control word     : enable       remote control word  : enable
  tunnel policy name     : --
  PW template name       : pwt1
  primary or secondary   : primary
  load balance type      : flow
  Access-port            : false
  Switchover Flag        : false
  VC tunnel info         : 1 tunnels
    NO.0  TNL type       : ldp   , TNL ID : 0x0000000001004c4bc3
  create time            : 18 days, 2 hours, 27 minutes, 52 seconds
  up time                : 2 days, 0 hours, 14 minutes, 16 seconds
  last change time       : 2 days, 0 hours, 14 minutes, 16 seconds
  VC last up time        : 2016/11/17 17:28:13
  VC total up time       : 18 days, 2 hours, 4 minutes, 57 seconds
  CKey                   : 5
  NKey                   : 33554555
  PW redundancy mode     : independent
  AdminPw interface      : --
  AdminPw link state     : --
  Forward state          : send inactive, receive active
  Diffserv Mode          : uniform
  Service Class          : --
  Color                  : --
  DomainId               : --
  Domain Name            : --  

Run the display mpls l2vc remote-info [ vc-id ] command. The command output shows that Peer Addr displays the peer IP address of a VC.

<HUAWEI> display mpls l2vc remote-info
Total remote ldp vc : 1

Transport  Group      Peer            Remote         Remote     C   MTU/  N   S
VC ID      ID         Addr            Encap          VC Label   Bit CELLS Bit Bit
100        0          192.3.3.3       vlan           18         0   1500  1   0

Run the display pw-template command. The command output shows the name and attributes of a PW template.

<HUAWEI> display pw-template
Total PW template number : 2

  PW Template Name : pwt
  PeerIP           : 6.6.6.6
  Tnl Policy Name  : aaa
  CtrlWord         : Enable
  MTU              : 1500
  Max Atm Cells    : 28
  Max Atm Cells    : 28
  ATM Pack Overtime: 1000
  Seq-Number       : --
  Transmit ATM Cells      : --
  TDM Encapsulation Number: --
  Jitter-Buffer           : --
  Jitter-Buffer-Cep       : 1125
  Payload-Compression DBA : UNEQ
  Idle-Code               : --
  Rtp-Header              : --
  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

  PW Template Name : PWT
  PeerIP           : --
  Tnl Policy Name  : --
  CtrlWord         : Disable
  MTU              : 1500
  Max Atm Cells    : 28
  ATM Pack Overtime: 1000
  Seq-Number       : --
  Transmit ATM Cells      : --
  TDM Encapsulation Number: --
  Jitter-Buffer           : --
  Jitter-Buffer-Cep       : 1125        
  Payload-Compression DBA : UNEQ
  Idle-Code               : --
  Rtp-Header              : --
  VCCV Capability  : alert lsp-ping
  Total PW         : 0, Static PW : 0, LDP PW : 0 
Total PW template number : 1

  PW Template Name : aaa
  PeerIP           : 2.2.2.2
  Tnl Policy Name  : --
  CtrlWord         : Disable
  MTU              : 600
  TDM Encapsulation Number: 8
  Jitter-Buffer           : 4
  Idle-Code               : ff
  Rtp-Header              : Disable
  VCCV Capability  : alert ttl lsp-ping bfd 
  Total PW         : 0, Static PW : 0, LDP PW : 0
  Flowlabel : send , receive

Run the display local-ce mac command. The command output shows the MAC addresses of Ethernet interfaces on local CEs.

<HUAWEI> display local-ce mac
INTERFACE                       MAC ADDRESS    EXPIRE TYPE VLAN PVC      IP ADDRESS
-----------------------------------------------------------------------------
GigabitEthernet0/1/1.1          00e0-fc20-b3a6        S(A)
-----------------------------------------------------------------------------
Total:1       Dynamic:0       Static:1       Broadcast:0

Run the display mpls label-stack vll interface interface-type interface-number command. Label stack information about the VPWS PW is displayed.

<HUAWEI> display mpls label-stack vll interface gigabitethernet 0/1/1.1
Label-stack  : 1                                                                                                                    
Level        : 1                                                                                                                    
Type         : VLL primary                                                                                                                 
Label        : 18                                                                                                                 
Level        : 2                                                                                                                    
Type         : LDP                                                                                                                  
Label        : 1041                                                                                                                 
OutInterface : GigabitEthernet0/2/0

Run the display mpls l2vpn interface interface-type interface-number performance command. The command output displays PW performance statistics on Serial0/1/0.

<HUAWEI> display mpls l2vpn interface serial0/1/0 performance
 Client interface                               : Serial0/1/0
 Number of missing packets                      : 4  
 Number of times the jitter buffer was overrun  : 1
 Number of times the jitter buffer was underrun : 5
 Number of misorder packets                     : 6
 Number of malformed packets                    : 3
 Number of misconnected packets                 : 2
 Number of error seconds                        : 0
 Number of severely error seconds               : 0
 Number of unavailable seconds                  : 0 
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 36701

Downloads: 61

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next