Configuring Ethernet service instances on BEBs
For a BEB to identify VLANs that must be extended across sites, you must configure Ethernet service instances on its customer network ports to map VLANs to SPB VSIs.
When you configure Ethernet service instances, follow these restrictions and guidelines:
An SPB VSI can be mapped to multiple Ethernet service instances on the same port or different ports.
For correct traffic processing, do not use the outer VLAN specified with the encapsulation command to provide any other services, including Layer 2 and Layer 3 services.
NOTE: The outer VLAN refers to the C-VLAN for a single-tagged frame and the S-VLAN for a double-tagged frame. | ||
You can create Ethernet service instances on both a Layer 2 aggregate interface and its member ports and map the Ethernet service instances to VSIs. However, the Ethernet service instances on the aggregation member ports are down. For the Ethernet service instances to come up, you must remove the aggregation member ports from the aggregation group.
If an Ethernet service instance is configured with the encapsulation untagged criterion on a Layer 2 Ethernet or aggregate interface, you cannot apply a QoS policy for VLAN tag nesting to that interface. For more information about VLAN tag nesting, see QoS configuration in ACL and QoS Configuration Guide.
For more information about Ethernet service instance configuration commands, see VPLS commands in MPLS Command Reference.
To configure an Ethernet service instance on a customer network port:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. | interface interface-type interface-number | N/A |
3. Configure the port link type. | port link-type { access | trunk | hybrid } | The default port link type is access. |
4. Assign the port to VLANs. |
| N/A |
5. Create an Ethernet service instance and enter its view. | service-instance instance-id | By default, no Ethernet service instances exist. |
6. Configure a frame match criterion. |
| Use one of the commands to configure a frame match criterion. By default, an Ethernet service instance does not contain a frame match criterion. |
7. Map the Ethernet service instance to the SPB VSI. | xconnect vsi vsi-name [ access-mode { ethernet | vlan } ] * | By default, an Ethernet service instance is not mapped to any SPB VSI. VLAN access mode is not supported by Ethernet service instances that use the default, tagged, untagged, or s-vid vlan-id-list criterion. |