Configuring access port attribute, Configuring hybrid port attribute, Configuring trunk port attribute – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 121: 6 configuring hybrid port attribute, 6 configuring trunk port attribute

Advertising
background image

15-6

To do…

Use the command…

Remarks

Enable flow control on the Ethernet
port

flow-control

Required
By default, flow control is not
enabled on a port.

Configuring Access Port Attribute

Follow these steps to configure access port attribute:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Configure the link type for the port
as access

port link-type

access

By default, the link type for the port
is access.

Add the current access port into
the specified VLAN

port access vlan vlan-id

Optional

Configuring Hybrid Port Attribute

Follow these steps to configure hybrid port attribute:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Set the link type for the port
as hybrid

port link-type

hybrid Required

Set the default VLAN ID for
the hybrid port

port hybrid pvid vlan vlan-id

Optional
By default, the VLAN of a hybrid port is
VLAN 1.

Add the current hybrid port
into the specified VLAN

port hybrid

vlan vlan-id-list

{ tagged | untagged }

Optional
For a hybrid port, you can configure to
tag the packets of specific VLANs,
based on which the packets of those
VLANs can be processed in differently
ways.

Configuring Trunk Port Attribute

Follow these steps to configure trunk port attribute:

To do…

Use the command…

Remarks

Enter system view

System-view

Enter Ethernet port view

interface interface-type
interface-number

Advertising