Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 216

Advertising
background image

203

[L3_SwitchC-vlan100] quit

[L3_SwitchC] interface GigabitEthernet 3/0/1

[L3_SwitchC-GigabitEthernet3/0/1] port access vlan 100

[L3_SwitchC-GigabitEthernet3/0/1] qinq enable

[L3_SwitchC-GigabitEthernet3/0/1] quit

# Create VLAN-interface 100, assign an IP address to the interface, enable QinQ termination on

the interface, and specify VLANs 11 through 13 as the inner VLAN tags that can be added to
packets.

[L3_SwitchC] interface vlan-interface 100

[L3_SwitchC-Vlan-interface100] ip address 1.1.1.11 255.255.255.0

[L3_SwitchC-Vlan-interface100] second-dot1q 11 to 13

[L3_SwitchC-Vlan-interface100] quit

# Assign GigabitEthernet 3/0/2 to VLAN 200, and enable QinQ on the interface to tag the

received packets with the PVID.

[L3_SwitchC] vlan 200

[L3_SwitchC-vlan200] quit

[L3_SwitchC] interface GigabitEthernet 3/0/2

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

[L3_SwitchC-GigabitEthernet3/0/2] qinq enable

[L3_SwitchC-GigabitEthernet3/0/2] quit

# Create VLAN-interface 200, assign an IP address to the interface, enable QinQ termination on

the interface, and specify VLANs 11 through 13 as the inner VLAN tags that can be added to
packets.

[L3_SwitchC] interface vlan-interface 200

[L3_SwitchC-Vlan-interface200] ip address 2.1.1.11 255.255.255.0

[L3_SwitchC-Vlan-interface200] second-dot1q 11 to 13

[L3_SwitchC-Vlan-interface200] quit

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

[L3_SwitchC] vlan 300

[L3_SwitchC-vlan300] interface GigabitEthernet 3/0/3

[L3_SwitchC-vlan300] quit

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

[L3_SwitchC] interface vlan-interface 300

[L3_SwitchC-Vlan-interface300] ip address 3.1.1.11 255.255.255.0

[L3_SwitchC-Vlan-interface300] quit

5.

Use the factory configuration of Layer 2 Switch D.

6.

Assign each server in the server group an IP address on the network segment 3.1.1.0/24 and
configure the gateway IP address as 3.1.1.11/24.

Configuration example for QinQ termination supporting DHCP
relay

Network requirements

As shown in

Figure 75

:

Provider A and Provider B are edge devices on the service provider network.

Advertising
This manual is related to the following products: