Huawei Quidway S9300 Configuration Manual page 150

Terabit routing switch
Table of Contents

Advertisement

5 QinQ Configuration
Procedure
Step 1 Create VLANs.
# On S9300-A, create VLAN 2 and VLAN 3, that is, the VLAN IDs of the outer VLAN tag to
be added.
<Quidway> system-view
[Quidway] sysname S9300-A
[S9300-A] vlan batch 2 3
# On S9300-B, create VLAN 2 and VLAN 3, that is, the VLAN IDs of the outer VLAN tag to
be added.
<Quidway> system-view
[Quidway] sysname S9300-B
[S9300-B] vlan batch 2 3
Step 2 Configure the selective QinQ on the interface.
# Configure GE 1/0/1 of S9300-A.
[S9300-A] interface gigabitethernet 1/0/1
[S9300-A-GigabitEthernet1/0/1] port link-type hybrid
[S9300-A-GigabitEthernet1/0/1] port hybrid untagged vlan 2
[S9300-A-GigabitEthernet1/0/1] port vlan-stacking outside-vlan 10 to 30 stack-vlan
2
[S9300-A-GigabitEthernet1/0/1] port vlan-stacking outside-vlan 31 to 50 stack-vlan
2
[S9300-A-GigabitEthernet1/0/1] quit
# Configure GE 2/0/1 of S9300-A.
[S9300-A] interface gigabitethernet 1/0/2
[S9300-A-GigabitEthernet1/0/2] port link-type hybrid
[S9300-A-GigabitEthernet1/0/2] port hybrid untagged vlan 3
[S9300-A-GigabitEthernet1/0/2] port vlan-stacking outside-vlan 51 to 60 stack-vlan
3
[S9300-A-GigabitEthernet1/0/2] quit
# Configure GE 2/0/1 of S9300-B.
[S9300-B] interface gigabitethernet 2/0/1
[S9300-B-GigabitEthernet2/0/1] port link-type hybrid
[S9300-B-GigabitEthernet2/0/1] port hybrid untagged vlan 3
[S9300-B-GigabitEthernet2/0/1] port vlan-stacking outside-vlan 51 to 60 stack-vlan
3
[S9300-B-GigabitEthernet2/0/1] quit
# Configure GE 2/0/2 of S9300-B.
[S9300-B] interface gigabitethernet 2/0/2
[S9300-B-GigabitEthernet2/0/2] port link-type hybrid
[S9300-B-GigabitEthernet2/0/2] port hybrid untagged vlan 2
[S9300-B-GigabitEthernet2/0/2] port vlan-stacking outside-vlan 10 to 30 stack-vlan
2
[S9300-B-GigabitEthernet2/0/2] port vlan-stacking outside-vlan 31 to 50 stack-vlan
2
[S9300-B-GigabitEthernet2/0/2] quit
Step 3 Configure other interfaces.
# Add GE 1/0/3 of S9300-A to VLAN 2 and VLAN 3.
[S9300-A] interface gigabitethernet 1/0/3
[S9300-A-GigabitEthernet1/0/3] port link-type trunk
[S9300-A-GigabitEthernet1/0/3] port trunk allow-pass vlan 2 3
[S9300-A-GigabitEthernet1/0/3] quit
5-18
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents