R211x-HP Flexfabric 11900 MPLS Command Reference
234
peer PE requires the ingress to modify the P-Tag. Then 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 ac interface) 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.
This command takes effect only when the AC type is Ethernet.
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
refresh bgp l2vpn
Use refresh bgp l2vpn to manually soft-reset L2VPN BGP sessions.
Syntax
refresh bgp { ip-address | all | external | group group-name | internal } { export | import } l2vpn
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
ip-address: Soft-resets the L2VPN BGP session to the specified peer.
all: Soft-resets all L2VPN BGP sessions.
external: Soft-resets all L2VPN EBGP sessions.
group group-name: Soft-resets L2VPN BGP sessions to the peers in the peer group specified by its name,
a case-sensitive string of 1 to 47 characters.
internal: Soft-resets all L2VPN IBGP sessions.
export: Soft-resets all outbound L2VPN BGP sessions.
import: Soft-resets all inbound L2VPN BGP sessions.
Usage guidelines
A soft-reset operation enables BGP to update BGP L2VPN information without tearing down BGP
connections.
To apply a new policy to outbound BGP sessions, execute this command with the export keyword. BGP
uses the new policy to filter local L2VPN information and sends the L2VPN information that passes the
filtering to the BGP peer.










