Adding an ethernet port to specified vlans, Configuring ethernet ports, Making basic port configuration – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 118: Adding an ethernet port to specified vlans -3

Advertising
background image

15-3

Processing of an incoming packet

Port
type

If the packet

does not carry a

VLAN tag

If the packet carries a VLAN

tag

Processing of an outgoing packet

Hybrid

z

If the VLAN ID is just the default VLAN ID,
deprive the tag and send the packet.

z

If the VLAN ID is not the default VLAN ID,
deprive the tag or keep the tag unchanged
(whichever is done is determined by the
port hybrid vlan

vlan-id-list { tagged |

untagged

} command) and send the

packet.

To guarantee the proper packet forwarding, the default VLAN ID of the local hybrid port or trunk port
should be identical with that of the hybrid port or trunk port on the peer device.

Adding an Ethernet Port to Specified VLANs

You can add the specified Ethernet port to a specified VLAN. After that, the Ethernet port can forward
the packets of the specified VLAN, so that the VLAN on this switch can intercommunicate with the same
VLAN on the peer device.

An access port can only be added to one VLAN, while hybrid and trunk ports can be added to multiple
VLANs.

Note that the port shall be added to an existing VLAN.

Configuring Ethernet Ports

Making Basic Port Configuration

Follow these steps to make basic port configuration:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Enable the Ethernet port

undo shutdown

By default, the port is enabled.
Use the shutdown command to
disable the port.

Set the description of the Ethernet
port

description

text

By default, no description is
defined for an Ethernet port.

Set the duplex mode of the
Ethernet port

duplex

{ auto | full | half }

The port defaults to auto
(autonegotiation) mode.

Set the rate of the Ethernet port

speed

{ 10 | 100 | 1000 | auto }

By default, the speed of the port is
set to auto mode.

Advertising