Configuring the data encapsulation type
A PBB VSI supports Ethernet and VLAN data encapsulation types.
Data encapsulation type decides how the BEB handles the P-tag on a PBB VSI, as shown in Table 19. P-tags are unique VLAN tags that the service provider assigns to users for differentiation.
Table 19: P-tag manipulation
Traffic direction | Ethernet encapsulation | VLAN encapsulation |
---|---|---|
CE to PBBN | The traffic must not contain a P-tag.
| The traffic must contain a P-tag.
The P-tag assigned by the peer BEB might be a null tag (tag 0). |
PBBN to CE |
The BEB cannot modify or remove any tags already in the traffic from PBBN to CE. |
|
NOTE: To configure the access mode, use the xconnect vsi command (see MPLS Command Reference). | ||
To configure the data encapsulation type for a PBB VSI:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter VSI view. | vsi vsi-name | N/A |
3. Enter PBB VSI view. | pbb i-sid i-sid | N/A |
4. Specify an encapsulation type for the PBB VSI. | encapsulation { ethernet | vlan } | By default, VLAN encapsulation applies. |