Operation Manual - Port
Quidway S3500 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
Huawei Technologies Proprietary
1-13
1.4 Ethernet Port Configuration Example
I. Networking requirements
Ethernet Switch (Switch A) is connected to the peer (Switch B) via the trunk port
Ethernet0/18. The following example configures the default VLAN ID for the trunk port
and verifies the port trunk pvid vlan command. As a typical application of the port
trunk pvid vlan command, the trunk port will transmit the packets without tag to the
default VLAN.
II. Networking diagram
Switch A
Switch B
Figure 1-1 Configure the default VLAN for a trunk port
III. Configuration procedure
The following configurations are used for Switch A. Please configure Switch B in the
similar way.
# Enter the Ethernet port view of Ethernet0/18.
[Quidway] interface ethernet0/18
# Set the Ethernet0/18 as a trunk port and allows VLAN 2, 6 through 50, and 100 to
pass through.
[Quidway-Ethernet0/18] port link-type trunk
[Quidway-Ethernet0/18] port trunk permit vlan 2 6 to 50 100
# Create the VLAN 100.
[Quidway] vlan 100
# Configure the default VLAN ID of Ethernet0/18 as 100.
[Quidway-Ethernet0/18] port trunk pvid vlan 100
1.5 Ethernet Port Troubleshooting
Fault: Default VLAN ID configuration failed.
Troubleshooting: Take the following steps.
z Execute the display interface or display port command to check if the port is a
trunk port or a hybrid port. If it is neither of them, configure it as a trunk port or a
hybrid port.
z Then configure the default VLAN ID.