361
Enabling L2VPN
Perform this task to enable L2VPN on the PE.
Before you enable L2VPN, perform the following tasks:
•
Configure an LSR ID for the PE with the
mpls lsr-id
command.
•
Enable MPLS with the
mpls enable
command on the backbone interface of the PE.
For more information about these commands, see
MPLS Command Reference
.
To enable L2VPN:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable L2VPN.
l2vpn enable
By default, L2VPN is disabled.
Configuring an AC
An AC is an Ethernet service instance on a Layer 2 Ethernet interface or Layer 2 aggregate interface.
The AC forwards packets that are received on the interface and meet the match criteria of the
Ethernet service instance to the bound VSI.
On a PE, configure an Ethernet service instance on the Layer 2 Ethernet interface or Layer 2
aggregate interface that connects to a CE to match packets for the AC.
To configure an Ethernet service instance:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
•
Enter Layer 2 Ethernet interface
view:
interface
interface-type
interface-number
•
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
N/A
3.
Create an Ethernet service
instance and enter Ethernet
service instance view.
service-instance
instance-id
By default, no Ethernet
service instance is created.
4.
Configure a packet match
criterion for the Ethernet
service instance.
•
Match all incoming
packets:
encapsulation
default
•
Match incoming packets with any
VLAN ID or no VLAN ID:
encapsulation
{
tagged
|
untagged
}
•
Match incoming packets with a
specific outer VLAN ID:
encapsulation s-vid
vlan-id
[
only-tagged
]
By default, no packet match
criterion is configured for the
Ethernet service instance.
Содержание FlexNetwork 5510 HI Series
Страница 9: ...vii Remote support 460 Documentation feedback 460 Index 462 ...
Страница 318: ...309 Request list 0 Retransmit list 0 ...
Страница 363: ...354 Verify that CE 1 and CE 2 can ping each other Details not shown ...
Страница 446: ...437 The MCE has redistributed the OSPF routes of the two VPN instances into the EBGP routing tables of PE 1 ...