3com S7906E インストール手順
1-11
Configuration Procedure
Configuring BGP L2VPN capability
Follow these steps to configure BGP L2VPN capability:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Establish the peer relationship
with the peer PE
with the peer PE
peer { group-name |
ip-address } as-number
as-number
ip-address } as-number
as-number
Required
Specify the interface for the
TCP connection
TCP connection
peer { group-name |
ip-address } connect-interface
interface-type interface-number
ip-address } connect-interface
interface-type interface-number
Required
Enter BGP L2VPN address
family view
family view
l2vpn-family
Required
Enable the filtering by the VPN
target extended community
attributes for the received
routing information
target extended community
attributes for the received
routing information
policy vpn-target
Optional
Enabled by default
Enable the specified peer or
peers to exchange BGP routing
information of the BGP-L2VPN
address family
peers to exchange BGP routing
information of the BGP-L2VPN
address family
peer { group-name |
ip-address } enable
ip-address } enable
Required
For information about the configuration of BGP-L2VPN address family, refer to MPLS L3VPN
Configuration in the MPLS Volume.
Configuring VPN
Follow these steps to configure VPN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a VPN and enter MPLS
L2VPN view
L2VPN view
mpls l2vpn vpn-name
[ encapsulation { ethernet |
vlan } [ control-word |
no-control-word ] ]
[ encapsulation { ethernet |
vlan } [ control-word |
no-control-word ] ]
Required
Configure an RD for the L2VPN
route-distinguisher
route-distinguisher
route-distinguisher
Required
Associate a particular VPN with
one or more VPN targets
one or more VPN targets
vpn-target vpn-target&<1-16>
[ both | export-extcommunity
| import-extcommunity ]
[ both | export-extcommunity
| import-extcommunity ]
Required
Set the Layer 2 MTU for the
VPN
VPN
mtu mtu
Optional