Operation Manual – VLAN
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 VLAN Configuration
1-16
[DeviceA-vlan2] quit
[DeviceA] vlan 100
[DeviceA-vlan100] vlan 6 to 50
Please wait... Done.
# Enter Ethernet 1/0/1 port view.
[DeviceA] interface Ethernet 1/0/1
# Configure Ethernet 1/0/1 as a Trunk port and configure its default VLAN ID as 100.
[DeviceA-Ethernet1/0/1] port link-type trunk
[DeviceA-Ethernet1/0/1] port trunk pvid vlan 100
# Configure Ethernet 1/0/1 to deny the packets of VLAN 1 (by default, the packets of
VLAN 1 are permitted on all the ports).
[DeviceA-Ethernet1/0/1] undo port trunk permit vlan 1
# Configure packets from VLAN 2, VLAN 6 through VLAN 50, and VLAN 100 to pass
through Ethernet 1/0/1.
[DeviceA-Ethernet1/0/1] port trunk permit vlan 2 6 to 50 100
Please wait... Done.
2)
Configure Device B following similar steps as that of Device A.
IV. Verification
Verifying the configuration of Device A is similar to that of Device B. So only Device A is
taken for example here.
# Display the information about Ethernet 1/0/1 of Device A to verify the above
configurations.
<DeviceA> display interface ethernet 1/0/1
Ethernet1/0/1 current state: DOWN
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-3900
Description: Ethernet1/0/1 Interface
Loopback is not set
Media type is twisted pair, Port hardware type is 100_BASE_TX
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
The Maximum Frame Length is 1552
Broadcast MAX-ratio: 100%
PVID: 100
Mdi type: auto
Port link-type: trunk
VLAN passing : 2, 6-50, 100
VLAN permitted: 2, 6-50, 100
Trunk port encapsulation: IEEE 802.1q