for all
step by step solution
with all explanation.
Explanation:
Here are the steps to configure the required VLAN translations on a Dell SONiC switch:
Map a Single-Tagged CVLAN 100 to SVLAN 200 on Interface Eth1/1:
sonic# configure terminal
sonic(config)# interface Ethernet1/1
sonic(config-if-Ethernet1/1)# switchport mode trunk
sonic(config-if-Ethernet1/1)# switchport vlan mapping 100 200
sonic(config-if-Ethernet1/1)# end
sonic# write memory
Map a Double-Tagged VLAN Packet with Outer CVLAN 100 and Inner dot1q 200 to SVLAN 300 on
Interface Eth1/2:
sonic# configure terminal
sonic(config)# interface Ethernet1/2
sonic(config-if-Ethernet1/2)# switchport mode trunk
sonic(config-if-Ethernet1/2)# switchport vlan mapping 100 200 300
sonic(config-if-Ethernet1/2)# end
sonic# write memory
Comprehensive Detailed Step by Step Explanation with Reference:
Enter Configuration Mode:
Access the global configuration mode using the configure terminal command.
Configure Interface Eth1/1:
Enter interface configuration mode for Ethernet1/1 using the command interface Ethernet1/1.
Set the switchport mode to trunk with the command switchport mode trunk.
Configure the VLAN translation using the switchport vlan mapping 100 200 command, which maps
CVLAN 100 to SVLAN 200.
Exit the interface configuration mode by typing end.
Save the configuration with write memory.
Configure Interface Eth1/2:
Enter interface configuration mode for Ethernet1/2 using the command interface Ethernet1/2.
Set the switchport mode to trunk with the command switchport mode trunk.
Configure the double-tagged VLAN translation using the switchport vlan mapping 100 200 300
command, which maps packets with outer CVLAN 100 and inner dot1q 200 to SVLAN 300.
Exit the interface configuration mode by typing end.
Save the configuration with write memory.
Reference:
Dell Technologies Networking - SONiC
Dell Enterprise SONiC Deployment Guide
These steps provide a comprehensive guide to configure VLAN translations on a Dell SONiC switch,
ensuring that the specific requirements for single-tagged and double-tagged VLAN mappings are
met.