Configuring one-to-one VLAN mapping
Configure one-to-one VLAN mapping on the customer-side ports of wiring-closet switches (see Figure 63) to isolate traffic of the same service type from different homes.
Before you configure one-to-one VLAN mapping, create the original VLAN and the translated VLAN.
To configure one-to-one VLAN mapping:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. |
| N/A |
3. Set the link type of the port. |
| By default, the link type of a port is access. |
4. Assign the port to the original VLANs and the translated VLANs. |
| N/A |
5. Configuring a one-to-one VLAN mapping. | vlan mapping vlan-id translated-vlan vlan-id | By default, no VLAN mapping is configured on an interface. |