3com S7906E Manuel De Montage
3-12
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 to access
port link-type
access
Optional
By default, the link type of an
ONU port is access.
By default, the link type of an
ONU port is access.
Assign the ONU port to the
specified VLAN
specified VLAN
port access vlan vlan-id
Optional
By default, all ONU ports
belong to only VLAN 1.
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.
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
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
to trunk
port link-type
trunk
Required
By default, the link type of an
ONU port is access.
By default, the link type of an
ONU port is access.
Set the default VLAN for the
trunk port
trunk port
port trunk pvid vlan
vlan-id
Optional
By default, the default VLAN of
a trunk port is VLAN 1.
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.
through.