Configuring The Default Vlan For A Port; Displaying And Maintaining Port-Based Vlan; Port-Based Vlan Configuration Example - H3C S5600 Series Operation Manual

Hide thumbs Also See for H3C S5600 Series:
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S5600 Series Ethernet Switches

2.2.4 Configuring the Default VLAN for a Port

Because an access port can belong to its default VLAN only, there is no need for you to
configure the default VLAN for an access port.
This section describes how to configure a default VLAN for a trunk or hybrid port.
Follow these steps to configure the default VLAN for a port:
Enter system view
Enter Ethernet port view
Configure
the default
VLAN for
the port
Caution:
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.

2.2.5 Displaying and Maintaining Port-Based VLAN

Display the hybrid or trunk
ports

2.2.6 Port-Based VLAN Configuration Example

I. Network requirements
As shown in
1/Server 2 used by different departments.
To do...
system-view
interface interface-type
interface-number
Trunk port
port trunk pvid vlan vlan-id
Hybrid port
port hybrid pvid vlan vlan-id
To do...
display port { hybrid |
trunk }
Figure
2-1, Switch A and Switch B connect to PC 1/PC 2 and Server
Use the command...
Use the command...
2-5
Chapter 2 VLAN Configuration
Remarks
Optional
VLAN 1 is the
default VLAN by
default.
Remarks
Available in any view.

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5600-26cS5600-26c-pwrS5600-26fS5600-50cS5600-50c-pwr

Table of Contents