Operation Manual – Port Basic Configuration
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1 Port Basic Configuration
1-7
Operation Command Remarks
Add the current hybrid
port to a specified VLAN
port hybrid vlan
vlan-id-list { tagged |
untagged }
Optional
For a hybrid port, you can
configure whether the
system keeps VLAN tags
when the packets of the
specified VLANs are
forwarded on this port.
1.2.6 Configuring Trunk Port Attribute
Table 1-8 Configure trunk port attribute
Operation Command Remarks
Enter system view
System-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Set the link type of the
port to trunk
port link-type trunk
Required
Set the default VLAN ID
for the trunk port
port trunk pvid vlan
vlan-id
Optional
If no default VLAN ID is
set for a trunk port, VLAN
1 (system default VLAN)
is used as the default
VLAN of the port.
Add the current trunk port
to a specified VLAN
port trunk permit vlan
{ vlan-id-list | all }
Optional
1.2.7 Copying the Configuration of a Port to Other Ports
To make some other ports have the same configuration as that of a specific port, you
can copy the configuration of the specific port to the ports.
Specifically, the following types of port configuration can be copied from one port to
other ports: VLAN configuration, protocol-based VLAN configuration, LACP
configuration, QoS configuration, GARP configuration, STP configuration and initial
port configuration.
z VLAN configuration: includes IDs of the VLANs allowed on the port and the default
VLAN ID of the port;
z Protocol-based VLAN configuration: includes IDs and indexes of the
protocol-based VLANs allowed on the port;