Operation Manual – Port Basic Configuration
Quidway S5600 Series Ethernet Switches-Release 1510 Chapter 1
Port Basic Configuration
Huawei Technologies Proprietary
1-13
1.3 Ethernet Port Configuration Example
I. Network requirements
z Switch A and Switch B are connected to each other through two trunk port
(GigabitEthernet1/0/1).
z Configure the default VLAN ID of both GigabitEthernet1/0/1 to 100.
z Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
both GigabitEthernet1/0/1.
II. Network diagram
Switch A Switch BSwitch A Switch B
GE1/0/1 GE1/0/1
Switch A Switch BSwitch A Switch B
GE1/0/1 GE1/0/1
n
Figure 1-1 Network diagram for Ethernet port configuratio
III. Configuration procedure
 Note:
z Only the configuration for Switch A is listed below. The configuration for Switch B is
similar to that of Switch A.
z This example supposes that VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 have
been created.
# Enter Ethernet port view of GigabitEthernet1/0/1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface GigabitEthernet1/0/1
# Set GigabitEthernet1/0/1 as a trunk port.
[Quidway-GigabitEthernet1/0/1] port link-type trunk
# Allow packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
GigabitEthernet1/0/1.
[Quidway-GigabitEthernet1/0/1] port trunk permit vlan 2 6 to 50 100
# Configure the default VLAN ID of GigabitEthernet1/0/1 to 100.
[Quidway-GigabitEthernet1/0/1] port trunk pvid vlan 100