Setting the link type of an onu port to access – H3C Technologies H3C S7500E Series Switches User Manual

Page 65

Advertising
background image

4-12

Port type

Traffic direction

Processing

Downlink packets

Allow only packets with the default

VLAN tag to pass through and

remove the tag of these packets.

Uplink packets

For untagged packets, tag

them with the default VLAN tag

and forward them.

For tagged packets, forward

them directly without any

processing

Trunk

Downlink packets

Allow only tagged packets to pass

through.

For how to configure the link type of an ONU port, refer to

Setting the link type of an ONU port to

access

and

Setting the link type of an ONU port to trunk

. Note that:

The access ports described in

Table 4-2

do not include ports in the default state, namely, the

access ports in VLAN 1.

The link type of the ONU ports under the same OLT port must be the same (access or trunk).
Thus, when an ONU port under an OLT port is configured as an access port in a VLAN other than
VLAN 1, you can only configure the other ONU ports under the same OLT port as access ports or
leave them in the default state (that is, access ports in VLAN 1); when the ONU port is configured
as a trunk port, you can configure the other ONU ports as trunk ports or leave them in the default
state.

The ONU ports in the default state only allow untagged packets to pass through in the uplink
direction and tag these packets with VLAN 1 tag. In the downlink direction, they only allow the
packets with the VLAN 1 tag to pass through. Such ONU ports remove the VLAN tag of the
downlink packets if the other ONU ports under the same OLT are configured as access ports, and
do not remove the tag of the downlink packets if the other ONU ports under the same OLT port are
configured as trunk ports.

Setting the link type of an ONU port to access

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

To do…

Use the command…

Remarks

Enter system view

system-view

Enter ONU port view

interface

onu interface-number

Set the link type of the ONU port to

access

port link-type

access

Optional

By default, the link type of an ONU

port is access.

Advertising