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 link-type
access
Optional
By default, the link type of an
ONU port is access.
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.
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...