Troubleshooting ethernet port configuration – H3C Technologies H3C S3100 Series Switches User Manual
Page 154

1-13
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 1/0/1 port view.
[Sysname] interface ethernet1/0/1
# Set Ethernet 1/0/1 as a trunk port.
[Sysname-Ethernet1/0/1] port link-type trunk
# Allow packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass Ethernet1/0/1.
[Sysname-Ethernet1/0/1] port trunk permit vlan 2 6 to 50 100
# Configure the default VLAN ID of Ethernet1/0/1 to 100.
[Sysname-Ethernet1/0/1] port trunk pvid vlan 100
Troubleshooting Ethernet Port Configuration
Symptom: Fail to configure the default VLAN ID of an Ethernet port.
Solution: Take the following steps.
z
Use the display interface or display port command to check if the port is a trunk port or a hybrid
port.
z
If the port is not a trunk or hybrid port, configure it to be a trunk or hybrid port.
z
Configure the default VLAN ID of the port.
- H3C S12500X-AF Series Switches (3 pages)
- H3C S12500X-AF Series Switches (3 pages)
- H3C S12500X-AF Series Switches (53 pages)
- H3C S12500 Series Switches (19 pages)
- H3C MSV 50 (8 pages)
- H3C S12500 Series Switches (21 pages)
- H3C S9500E Series Switches (4 pages)
- H3C S7500E Series Switches (3 pages)
- H3C WA2200 Series WLAN Access Points (42 pages)
- H3C S12500-X Series Switches (8 pages)
- H3C SR6600 (64 pages)
- H3C S9500E Series Switches (36 pages)
- H3C WA3600 Series Access Points (237 pages)
- H3C S9500E Series Switches (270 pages)
- H3C MSR 900 (249 pages)
- H3C S12500 Series Switches (163 pages)
- H3C S12500 Series Switches (170 pages)
- H3C MSR 900 (96 pages)
- H3C MSR 900 (443 pages)
- H3C MSR 900 (468 pages)
- H3C S9500E Series Switches (32 pages)
- H3C S9500E Series Switches (241 pages)
- H3C S12500 Series Switches (39 pages)
- H3C S6800 Series Switches (59 pages)
- H3C LSBM1WCM2A0 Access Controller Module (197 pages)
- H3C S10500 Series Switches (27 pages)
- H3C LSBM1WCM2A0 Access Controller Module (226 pages)
- H3C S6300 Series Switches (188 pages)
- H3C MSR 900 (410 pages)
- H3C MSR 900 (239 pages)
- H3C WA3600 Series Access Points (394 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (1 page)
- H3C S7500E Series Switches (19 pages)
- H3C S7500E Series Switches (115 pages)
- H3C S6300 Series Switches (58 pages)
- H3C S6300 Series Switches (208 pages)
- H3C S6300 Series Switches (251 pages)
- H3C S10500 Series Switches (140 pages)