This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VLAN is not working



Hello. 

I have been using EVMK2K. I want to set up VLAN  configuration between ports. I explain how to realize below;

- ALE enabled 

-ALE Table Cleared

-ALE VLAN AWARE enabled

- VLAN entry added to ALE Table ( VLAN ıd etc..)

 if packets come to port 1, the switch direct to host port . Also if packets come to port 2, the switch directs to host port. if packets come from host port switch will determine to directs these packets which port using VLAN ID. 

I set up this configuration but it is not working. When I set UNKNOW VLAN REGISTER , VLAN is working( between port 1 and host port). Also Iook at example project in ti folder, I couldn't any example about VLAN. So could you help me how to set up this VLAN configure ??

Thank you. 

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

  • Hi Serdar,

    " if packets come to port 1, the switch direct to host port . Also if packets come to port 2, the switch directs to host port. if packets come from host port switch will determine to directs these packets which port using VLAN ID."

    To be sure, are you saying this is what happens or this is what you want?

    Such a behavior is indicative of ALE Bypass being set. (see ALE Control register)

    Could you provide the configuration you are currently using? Specifically provide CPSW Control Register, ALE Control Register and ALE_PORT_CTRL registers for all ports. Finally, the ALE Table entries, Address entries and VLAN entries, as configured; along with UNKNOWN_VLAN_REG. That way I can tell you what could be causing the unexpected behavior.

    Regards,

    Javier