Displaying And Maintaining Port-Based Vlan; Port-Based Vlan Configuration Example - H3C S5600 SERIES Operation Manual

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

To do...
the default
VLAN for the
port
After configuring the default VLAN for a trunk or hybrid port, you need to use the port trunk permit
command or the port hybrid vlan command to configure the port to allow traffic of the default
VLAN to pass through. Otherwise, the port cannot forward traffic of the default VLAN, nor can it
receive VLAN untagged packets.
The local and remote trunk (or hybrid) ports must use the same default VLAN ID for the traffic of the
default VLAN to be transmitted properly.

Displaying and Maintaining Port-Based VLAN

To do...
Display the hybrid or trunk ports

Port-Based VLAN Configuration Example

Network requirements
As shown in
by different departments.
To isolate data between different departments, PC 1 and Server 1 are assigned to VLAN 100 with
the descriptive string being Dept1; PC 2 and Server 2 are assigned to VLAN 200 with the
descriptive string being Dept2.
Configure VLAN interfaces for the two VLANs on Switch A for forwarding data from PC 1 to Server
2 at Layer 3.
Hybrid port
port hybrid pvid vlan vlan-id
Use the command...
display port { hybrid | trunk }
Figure
2-1, Switch A and Switch B connect to PC 1/PC 2 and Server 1/Server 2 used
Use the command...
2-5
Remarks
VLAN 1 is the default
VLAN by default.
Remarks
Available in any view.

Advertisement

Table of Contents
loading

Table of Contents