R21xx-HP FlexFabric 11900 MPLS Command Reference
Table Of Contents
- Title Page
- Contents
- MCE commands
- description
- display bgp group ipv4 vpn-instance
- display bgp peer ipv4 vpn-instance
- display ip vpn-instance
- domain-id
- export route-policy
- ext-community-type
- import route-policy
- ip binding vpn-instance
- ip vpn-instance
- ipv4-family
- route-distinguisher
- route-tag
- routing-table limit
- vpn-instance-capability simple
- vpn-target
- IPv6 MCE commands
- Basic MPLS commands
- Static LSP commands
- LDP commands
- accept-label
- advertise-label
- backoff
- display mpls ldp discovery
- display mpls ldp fec
- display mpls ldp interface
- display mpls ldp lsp
- display mpls ldp parameter
- display mpls ldp peer
- display mpls ldp summary
- graceful-restart
- graceful-restart timer
- label-distribution
- loop-detect
- lsp-trigger
- lsr-id
- maxhops
- md5-authentication
- mpls ldp
- mpls ldp enable
- mpls ldp timer
- mpls ldp transport-address
- pv-limit
- reset mpls ldp
- session protection
- targeted-peer
- vpn-instance
- Tunnel policy commands
- MPLS L3VPN commands
- description (VPN instance view)
- display bgp group vpnv4
- display bgp peer vpnv4
- display bgp routing-table ipv4 unicast inlabel
- display bgp routing-table ipv4 unicast outlabel
- display bgp routing-table vpnv4
- display bgp routing-table vpnv4 advertise-info
- display bgp routing-table vpnv4 as-path-acl
- display bgp routing-table vpnv4 community-list
- display bgp routing-table vpnv4 inlabel
- display bgp routing-table vpnv4 outlabel
- display bgp routing-table vpnv4 peer
- display bgp routing-table vpnv4 statistics
- display ip vpn-instance
- domain-id
- export route-policy
- ext-community-type
- import route-policy
- ip binding vpn-instance
- ip vpn-instance (system view)
- ipv4-family (VPN instance view)
- ipv4-family vpnv4
- nesting-vpn
- peer next-hop-invariable
- peer upe
- peer upe route-policy
- policy vpn-target
- refresh bgp vpnv4
- reset bgp vpnv4
- route-distinguisher (VPN instance view)
- route-tag
- routing-table limit
- rr-filter
- tnl-policy (VPN instance view/IPv4 VPN view/IPv6 VPN view)
- vpn popgo
- vpn-target (VPN instance view/IPv4 VPN view/IPv6 VPN view)
- IPv6 MPLS L3VPN commands
- display bgp group vpnv6
- display bgp peer vpnv6
- display bgp routing-table vpnv6
- display bgp routing-table vpnv6 advertise-info
- display bgp routing-table vpnv6 as-path-acl
- display bgp routing-table vpnv6 community-list
- display bgp routing-table vpnv6 inlabel
- display bgp routing-table vpnv6 outlabel
- display bgp routing-table vpnv6 peer
- display bgp routing-table vpnv6 statistics
- ipv6-family (VPN instance view)
- ipv6-family vpnv6
- policy vpn-target
- refresh bgp vpnv6
- reset bgp vpnv6
- rr-filter
- MPLS L2VPN commands
- VPLS commands
- backup-peer
- description
- display l2vpn ldp
- display l2vpn forwarding
- display l2vpn mac-address
- display l2vpn pw
- display l2vpn pw-class
- display l2vpn service-instance
- display l2vpn vsi
- encapsulation
- l2vpn enable
- l2vpn switchover
- mac-learning enable
- mtu
- peer
- pw-class
- pw-type
- pwsignaling
- reset l2vpn mac-address
- revertive
- service-instance
- shutdown
- vsi
- xconnect vsi
- Support and other resources
- Index
184
Default
The PW type is VLAN.
Views
PW class view
Predefined user roles
network-admin
Parameters
ethernet: Specifies the PW type as Ethernet.
vlan: Specifies the PW type as VLAN.
Usage guidelines
When the PW type is Ethernet, the PE encapsulates packets forwarded between the AC and PW as
follows:
• Traffic from the AC to the PW cannot carry the P-Tag assigned by the service provider. If traffic from
the AC has the P-Tag, the PE removes the P-Tag, adds the PW label and public tunnel encapsulation,
and forwards the traffic through the PW. If traffic from the AC does not have the P-Tag, the PE adds
the PW label and public tunnel encapsulation and forwards the traffic through the PW.
• For traffic received from the PW, if the AC access mode (configured by the xconnect vsi command)
is VLAN, the PE adds the P-Tag and forwards the traffic through the AC. If the AC access mode is
Ethernet, the PE directly forwards the traffic through the AC. The PE cannot modify or delete the
P-Tag for the traffic from the PW.
When the PW type is VLAN, the PE encapsulates packets forwarded between the AC and PW as follows:
• Traffic from the AC to the PW must carry the P-Tag. If traffic from the AC has the P-Tag, the PE keeps
the P-Tag when the peer PE does not require the ingress to modify the P-Tag or changes the P-Tag to
the expected value (which can be zero) when the peer PE requires the ingress to modify the P-Tag,
then adds the PW label and public tunnel encapsulation, and forwards the traffic through the PW.
If traffic from the AC does not have the P-Tag, the PE adds a P-Tag of 0 when the peer PE does not
require the ingress to modify the P-Tag or adds the expected P-Tag (which can be zero) when the
peer PE requires the ingress to modify the P-Tag, then adds the PW label and public tunnel
encapsulation, and forwards the traffic through the PW.
• For traffic received from the PW, if the AC access mode (configured by the xconnect vsi command)
is VLAN, the PE modifies or keeps the P-Tag and forwards the traffic through the AC. If the AC
access mode is Ethernet, the PE removes the P-Tag and forwards the traffic through the AC.
Examples
# Configure the PW type as Ethernet.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] pw-type ethernet
Related commands
display l2vpn pw-class
pwsignaling
Use pwsignaling to specify a PW signaling protocol for a VSI and enter the VSI signaling protocol view.










