Huawei Quidway S9300 Configuration Manual page 147

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
Procedure
Step 1 Create VLANs.
# Create VLAN 10 and VLAN 20 on S9300-F.
<Quidway> system-view
[Quidway] sysname S9300-F
[S9300-F] vlan batch 10 20
# Create VLAN 20 on S9300-G.
<Quidway> system-view
[Quidway] sysname S9300-G
[S9300-G] vlan 20
Step 2 Set the interfaces as QinQ interfaces.
# Set GE 1/0/1, GE 2/0/1, and GE 3/0/1 of S9300-F as QinQ interfaces. Set the VLAN ID of the
outer VLAN tag added by GE 1/0/1 and GE 3/0/1/ to VLAN 10; set the VLAN ID of the outer
VLAN tag added by GE 2/0/1 to VLAN 20.
[S9300-F] interface gigabitethernet 1/0/1
[S9300-F-GigabitEthernet1/0/1] port link-type dot1q-tunnel
[S9300-F-GigabitEthernet1/0/1] port default vlan 10
[S9300-F-GigabitEthernet1/0/1] quit
[S9300-F] interface gigabitethernet 2/0/1
[S9300-F-GigabitEthernet2/0/1] port link-type dot1q-tunnel
[S9300-F-GigabitEthernet2/0/1] port default vlan 20
[S9300-F-GigabitEthernet2/0/1] quit
[S9300-F] interface gigabitethernet 3/0/1
[S9300-F-GigabitEthernet3/0/1] port link-type dot1q-tunnel
[S9300-F-GigabitEthernet3/0/1] port default vlan 10
[S9300-F-GigabitEthernet3/0/1] quit
# Set GE 1/0/1 and GE 2/0/1 of S9300-G as QinQ interfaces; set the VLAN ID of the outer
VLAN tags added by GE 1/0/1 and GE 2/0/1/ to VLAN 20.
[S9300-G] interface gigabitethernet 1/0/1
[S9300-G-GigabitEthernet1/0/1] port link-type dot1q-tunnel
[S9300-G-GigabitEthernet1/0/1] port default vlan 20
[S9300-G-GigabitEthernet1/0/1] quit
[S9300-G] interface gigabitethernet 2/0/1
[S9300-G-GigabitEthernet2/0/1] port link-type dot1q-tunnel
[S9300-G-GigabitEthernet2/0/1] port default vlan 20
[S9300-G-GigabitEthernet2/0/1] quit
Step 3 Configure other interfaces.
# Add GE 4/0/1 of S9300-F to VLAN 20.
[S9300-F] interface gigabitethernet 4/0/1
[S9300-F-GigabitEthernet4/0/1] port link-type trunk
[S9300-F-GigabitEthernet4/0/1] port trunk allow-pass vlan 20
[S9300-F-GigabitEthernet4/0/1] quit
# Add GE 3/0/1 of S9300-G to VLAN 20.
[S9300-G] interface gigabitethernet 3/0/1
[S9300-G-GigabitEthernet3/0/1] port link-type trunk
[S9300-G-GigabitEthernet3/0/1] port trunk allow-pass vlan 20
[S9300-G-GigabitEthernet3/0/1] quit
Step 4 Verify the configuration.
Ping a remote host on the same VLAN in another office location of Enterprise 1 from a host of
Enterprise 1. If it can ping the remote host, it indicates that hosts in different locations of
Enterprise 1 can communicate with each other.
Issue 03 (2009-08-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 QinQ Configuration
5-15

Advertisement

Table of Contents
loading

Table of Contents