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.

TNETV1050 (SoC) "how the e-switch commands work "

We are testing the e-switch commands on our board, We do not understand

exactly how the commands work. 

This is an example when We tried 'Ping' test with the e-switch commands.

 

1) # configtitanswitch enablelayer2

    (* 'Ping' packets are blocked by e-switch)

 

2) # configtitanswitch macauth disable

     # configtitanswitch bcastctrl disalbe

    (* 'Ping' packets can pass the e-switch.)

 

3) # configtitanswitch bcastctrl enable

    (* no effect)

 

4) # configtitanswitch macauth enable

    (* 'Ping' packets are blocked.)

 

5) # configtitanswitch macauth disable

    (* 'Ping' packets can pass the e-switch again.)

    Note: if this command is sent after a brief interval,

    'Ping' packets are still blocked. In this case,

    if the following command is sent, 'Ping' packets

    can pass the e-switch.)

6) # configtitanswitch bcastctrl < enable | disable >.

Which type of packets does the command affect ?

Is that :

1) Packets which has I/G bit set in destination MAC address

2) Packets which has the destination MAC address FF:FF:FF:FF:FF:FF

3) Other than above

 

 

Do you know why the e-switch behaved like this in the above command sequence ?

Could you give us some more information about how the e-switch commands work ?

 

 

 

  • I have moved your question to our Industrial Interface group.

    Regards.

  • Please find the following command details:

    Command:      macauth
    Use:          Configariesswitch macauth <enable -1/disable - 0>
    Description:
                Configuration command enable/disable support for mac authorization where
                ale is put into no learn mode and all the entry into should be made by host software.

    Command:    bcastctrl
    Use:        configtitanswitch bcastctrl < enable | disable >
    Description: This function is used to select the broadcast storm control feature.

    The Switch maintains broadcast packet counters for each port of the switch. When a
    broadcast frame is received on a port, the frame is dropped if the counter for this port is zero. Otherwise,
    the counter is decremented by one. If the number of broadcast packets exceeds the threshold, the frames
    arriving after counter has reached zero are dropped. These counters are automatically reloaded with the
    threshold every 100ms. The threshold value and the counters are stored in the scratch pad area of the
    RAM embedded inside the E-switch.