Ambiguous qinq termination configuration example, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 211

Advertising
background image

198

[L2_SwitchB-GigabitEthernet4/0/1] port trunk permit vlan 100

4.

Configure Layer 3 Switch C:
# Create VLAN-interface 100 and assign an IP address to the interface.

<L3_SwitchC> system-view

[L3_SwitchC] vlan 100

[L3_SwitchC-vlan100] quit

[L3_SwitchC] interface vlan-interface 100

[L3_SwitchC-Vlan-interface100] ip address 1.1.1.11 255.255.255.0

# Enable QinQ termination on VLAN-interface 100 to remove the outermost two layers of VLAN
tags for packets whose outermost VLAN tag is 100, and configure the interface to add inner VLAN

tag 11 to packets before sending them out.

[L3_SwitchC-Vlan-interface100] second-dot1q 11

[L3_SwitchC-Vlan-interface100] quit

# Configure GigabitEthernet 3/0/1 as a trunk port, and assign the port to VLAN 100.

[L3_SwitchC] interface GigabitEthernet 3/0/1

[L3_SwitchC-GigabitEthernet3/0/1] port link-type trunk

[L3_SwitchC-GigabitEthernet3/0/1] port trunk permit vlan 100

[L3_SwitchC-GigabitEthernet3/0/1] quit

# Create VLAN-interface 2 and assign an IP address to the interface.

[L3_SwitchC] vlan 2

[L3_SwitchC-vlan2] quit

[L3_SwitchC] interface vlan-interface 2

[L3_SwitchC-Vlan-interface2] ip address 1.1.2.11 255.255.255.0

[L3_SwitchC-Vlan-interface2] quit

# Assign GigabitEthernet 3/0/2 to VLAN 2.

[L3_SwitchC] interface GigabitEthernet 3/0/2

[L3_SwitchC-GigabitEthernet3/0/2] port access vlan 2

5.

Use the factory configuration of Layer 2 Switch D.

Ambiguous QinQ termination configuration example

Network requirements

As shown in

Figure 73

, Host A, Host B, and Host C belong to VLAN 11, VLAN 12, and VLAN 13,

respectively. The server group is connected to Switch C. QinQ is enabled on Switch B.
Configure QinQ termination, so that Host A, Host B, and Host C can communicate with the server group.

Advertising
This manual is related to the following products: