Vpn-Target (Mpls L2Vpn View) - HP 5800 series Command Reference Manual

Commands and command syntax options
Hide thumbs Also See for 5800 series:
Table of Contents

Advertisement

label into the packet before sending the packet out. For a packet to be sent downstream, the PE
rewrites, removes, or retains the service delimiter, depending on your configuration.
The HP 5800 switch series keep or remove the service delimiter of a downstream packet, depending on
the link type configured for the downstream port when the port is added to the VLAN indicated by the
service delimiter. For link type configuration of a port, see the Layer 2—LAN Switching Configuration
Guide.
Syntax
trans-mode { ethernet | vlan }
undo trans-mode
View
PW class template view
Default level
2: System Level
Parameters
ethernet: Specifies the PW transport mode as the Ethernet mode.
vlan: Specifies the PW transport mode as the VLAN mode.
Examples
# Configure the PW transport mode as Ethernet.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] trans-mode ethernet

vpn-target (MPLS L2VPN view)

Description
Use the vpn-target command to configure VPN targets for a VPN.
Use the undo vpn-target command to remove the specified or all VPN targets of a VPN.
By default, no VPN targets are configured and you must configure VPN targets when creating a VPN.
Syntax
vpn-target vpn-target&<1- 1 6> [ both | export-extcommunity | import-extcommunity ]
undo vpn-target { all | { vpn-target&<1- 1 6> [ both | export-extcommunity | import-extcommunity ] }
View
MPLS L2VPN view
Default level
2: System level
Parameters
vpn-target&<1- 1 6>: Adds VPN target extended community attributes to the import VPN target extended
community attribute list (Import Target) or export VPN target extended community attribute list (Export
Target). &<1- 1 6> means that you can add up to 16 VPN targets.
A VPN target attribute can be a string of 3 to 21 characters in one the following formats:
267

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents