Chủ Nhật, 23 tháng 6, 2013

Port Type Switch DrayTek


Port can be one of the following types: Unaware, C-port, S-port, and S-custom-port.

Ingress action
Egress action
Unaware


When the port received untagged frames, an untagged frame obtain a tag (based on PVID) and is forwarded.

When the port received tagged frames :
No matter which is TPID value, it will add one outer tag that is PVID , and is forwarded.

The TPID of frame transmitted by Unaware port will be set to 0x8100.
The final status of the frame after egressing are also effected by Egress Rule.
C-port
When the port received untagged frames, an untagged frame obtain a tag (based on PVID) and is forwarded.

When the port received tagged frames :
1.        if an tagged frame with TPID=0x8100, it is forwarded. (not add tag)
2.        if an tagged frame with TPID is not 0x8100,and not Ox88a8 , and not Ethertype , it is forwarded.( will add one outer tag that is PVID)
3.  if the TPID of tagged frame is 0x88A8 or Ethertype, it will be discarded.
The TPID of frame transmitted by C-port will be set to 0x8100.
S-port
When the port received untagged frames, an untagged frame obtain a tag (based on PVID) and is forwarded.

When the port received tagged frames:
1.        Only the TPID of tagged frame is 0x8100, it will be discarded , others TPID will be forwarded.
2.        This mode will not add tag.
The TPID of frame transmitted by S-port will be set to 0x88A8.
S-custom-port
When the port received untagged frames, an untagged frame obtain a tag (based on PVID) and is forwarded.

When the port received tagged frames :
1.        Only the TPID of tagged frame is 0x8100, it will be discarded , others TPID will be forwarded.
2.        This mode will not add tag.
The TPID of frame transmitted by S-custom-port will be set to an self-customized value, which can be set by the user using the column of Ethertype for Custom S-ports.


Port type - Ingress sample ( each arrow color represents its operate behavior to   individual packet)









 S-custom-port is used for user defined TPID  .While Ethertype for Custom S-ports is configured to 8888 , outgoing packet will bring with TPID 8888 tag .



Không có nhận xét nào:

Đăng nhận xét