Wodaplug.com OLT CLI User Manual
www.wodaplug.com
37
【
Example
】
1.
Set ONU1 port 1 transparent mode:
epon(slot0-olt1-onu1-fe1)#ctc vlan policy policy0
2 Set ONU1 port 1 to tag mode, set the port pvid to 100:
epon(slot0-olt1-onu1-fe1)#ctc vlan policy policy1 etherType 33024 pvid 100
3 Set ONU1 port 1 to trunk mode, set the port pvid to 1:
epon(slot0-olt1-onu1-fe1)#ctc vlan policy policy4 etherType 33024 pvid 1
【
Illustration
】
1.
Policy0: transparent mode,.
Direction
Frame Type
Approach
Ingress
Untagged
without any changes (to retain the original VLAN TAG),
forwarding
Tagged
without any changes, forwarding
Egress
Untagged
without any changes (to retain the original VLAN TAG),
forwarding
Tagged
without any changes, forwarding
2.
policy1
:
Access mode
Direction
Frame Type
Approach
Ingress
Untagged
Insert VLAN tag (main parameter is the VID), forwarding.
(TPID = 0x8100, Pri = 0, VID = Port VID))
Tagged
ignore the frame
Egress
Untagged
ignore the frame
Tagged
Forward to the appropriate UNI port and strip VLAN TAG
according to VID; if frame tagged VLAN ID is not equal to
Port VID, the frame will be discarded.
3.
policy2
:
Translation mode
Direction
Frame Type
Approach
Ingress
Untagged
Insert VLAN Tag, forwarding. (TPID = 0x8100, Pri = 0,VID =
Port VID)
Tagged
If VID of frame is included in input VLAN list of the UNI
port the VID will be translated to output VID. Then
forward the frame.
Discard the frame if VID of frame is not included in input
VLAN list of the UNI port
Egress
Untagged
ignore the frame
Tagged
If VID of frame is included in output list of the UNI port
the VID will be translated to input VID. Then forward the
frame.
Strip VLAN tag and forward the frame if the VID is equal