R3102-R3103-HP 6600/HSR6600 Routers MPLS Configuration Guide

170
Ste
p
Command
Remarks
4. Specify the interface for the
TCP connection.
peer { group-name | ip-address }
connect-interface interface-type
interface-number
N/A
5. Enter BGP L2VPN address
family view.
l2vpn-family N/A
6. Enable the filtering by the
route target extended
community attributes for the
received routing information.
policy vpn-target
Optional.
Enabled by default.
7. Enable the specified peer or
peers to exchange BGP
routing information for the
BGP-L2VPN address family.
peer { group-name | ip-address }
enable
N/A
For more information about the configuration in BGP-L2VPN address family, see "Configuring MPLS
L3VPN."
Creating and configuring an MPLS L2VPN
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create an MPLS L2VPN and
enter MPLS L2VPN view.
mpls l2vpn vpn-name
[ encapsulation { atm-aal5 |
ethernet | fr | hdlc | ppp | vlan }
[ control-word |
no-control-word ] ]
You must create an L2VPN on the
PE for each VPN where a directly
connected CE resides. When
creating an L2VPN, you must
specify a VC type matching that of
the AC link.
3. Configure an RD for the MPLS
L2VPN.
route-distinguisher
route-distinguisher
Once configured, an RD cannot be
changed, unless you delete the
L2VPN and then recreate it.
For more information about an RD,
see "Configuring MPLS L3VPN."
4. Configure one or more route
targets for the MPLS L2VPN.
vpn-target vpn-target&<1-16>
[ both | export-extcommunity |
import-extcommunity ]
N/A
5. Set the MTU for the MPLS
L2VPN.
mtu mtu
Optional.
By default, the MTU of an MPLS
L2VPN is 1500 bytes.
The mtu command affects only
parameter negotiations, if any. It
does not affect data forwarding.
HP recommends not using this
command.