Setting the link type of an onu port to trunk, Note that – H3C Technologies H3C S7500E Series Switches User Manual

Page 66

Advertising
background image

4-13

To do…

Use the command…

Remarks

Assign the ONU port to the

specified VLAN

port access vlan vlan-id

Optional

By default, all ONU ports belong to

only VLAN 1.

When configuring the ONU ports under the same OLT port as access ports, do not assign them to
the same VLAN (except VLAN 1). For example, after configuring ONU 3/0/1:1 as an access port
and assigning it to VLAN 2, the other ONU ports under the same OLT port, ONU 3/0/1:2 for
example, cannot be assigned to VLAN 2.

When the link type of an ONU port under an OLT port is configured as access, the OLT port must
be configured as a hybrid port, and be assigned to the specified VLANs with the port hybrid vlan

vlan-id-list

tagged command, where the VLANs specified by vlan-id-list can only be the VLANs of

the ONU ports under the OLT port.

Setting the link type of an ONU port to trunk

Follow these steps to set the link type of an ONU port to trunk:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter ONU port view

interface

onu interface-number

Set the link type of an ONU port to

trunk

port link-type

trunk

Required

By default, the link type of an ONU

port is access.

Set the default VLAN for the trunk

port

port trunk pvid vlan

vlan-id

Optional

By default, the default VLAN of a

trunk port is VLAN 1.

After an ONU port is configured as a trunk port, the ONU port allows packets of all VLANs to pass
through.

Advertising