Communication Failure After VLAN Mapping Configuration
Symptom
- The translated VLAN (map-vlan) has not been created.
- The interfaces configured with VLAN mapping are not added to the translated VLAN.
- The translated VLAN ID configured on SwitchC and SwitchD is different from the S-VLAN ID assigned by the carrier.
- The interfaces configured with VLAN mapping are faulty.
Procedure
In the user view, run the display vlan command to verify that the translated VLAN (map-vlan) is created.
- If the translated VLAN has not been created, run the vlan command to create it.
- If the translated VLAN is created, go to the next step.
In the interface view, run the display this command to verify that the interfaces configured with VLAN mapping have been added to the translated VLAN in tagged mode.
- VLAN mapping can be configured only on a trunk or hybrid interface, and the hybrid interface must be added to the translated VLAN in tagged mode.
- If a range of original VLANs is specified by vlan-id1 to vlan-id2 on an interface, the interface must be added to all the original VLANs in tagged mode, and the translated VLAN cannot have a VLANIF interface.
- Limiting MAC address learning on an interface may affect N:1 VLAN mapping on the interface.
- If the interfaces configured with VLAN mapping have not been added to the translated VLAN in tagged mode, run the port trunk allow-pass vlan or port hybrid tagged vlan command in the interface view to add the interfaces to the translated VLAN in tagged mode.
- If the interfaces have been added to the translated VLAN in tagged mode, go to the next step.
In the interface view, run the display this command to verify that the translated VLAN ID configured on the interface is the same as the S-VLAN ID assigned by the carrier.
- If the translated VLAN ID on an interface is different from the S-VLAN ID assigned by the carrier, run the undo port vlan-mapping command on the interface to delete the VLAN mapping configuration, and run the port vlan-mapping vlan command to set the translated VLAN ID to the S-VLAN ID.
- If the translated VLAN ID is the same as the S-VLAN ID assigned by the carrier, go to the next step.
In the user view, run the display vlan vlan-id command to verify that user-side interfaces are added to C-VLANs.
If the user-side interfaces are not in the C-VLANs, run the port trunk allow-pass vlan, port hybrid tagged vlan, or port default vlan command to add the interfaces to the C-VLANs.