Menu

Время перехода в состояние

ex_God
2013-10-29
2014-01-29
  • ex_God

    ex_God - 2013-10-29

    привет.
    По русски можно общаться?

    Спасибо за поддержку и развитие проекта.

    У меня есть небольшой вопрос.

    С чем связана 20-секундная пауза перехода в состояние forwarding после появления линка на порту?

    Т.е. появляется линк и только через 20 секунд порт переключается в состоянии forwarding.

    Если взять какойнибуть 3com или planet там переход происходит моментально.

    Посмотрел код, там почему то идет завязка на Maximum Age.

    вот к примеру файл mstpd.c

            /* NOTE: 802.1Q-2005(-2011) is not clear, which of the per-tree
             *  "proposing" flags to use here, or one should combine
             *  them all for all trees?
             * So, I decide that it will be the "proposing" flag
             *  from CIST tree - it seems like a good bet.
             */
            if((!prt->portEnabled && prt->AdminEdgePort)
               || ((0 == prt->edgeDelayWhile) && prt->AutoEdge && prt->sendRSTP
                   && cist->proposing)
    

    переменная prt->edgeDelayWhile
    и файл mstpd.c

           /* Dont transition to learn/forward when BA inconsistent */
            if(((0 == ptp->fdWhile) || ptp->agreed || prt->operEdge)
               && ((0 == ptp->rrWhile) || !ptp->reRoot) && !ptp->sync
               && !ptp->port->BaInconsistent
              )
    

    переменная ptp->fdWhile

    я конеш не спец в стандарте rstp может я как-то не так запускаю mstpd. Можно попросить Вас прокомментировать с чем связано наличие условий (0 == prt->edgeDelayWhile) и (0 == ptp->fdWhile) или почему эти переменные равны MaxAge?

    Спасибо.

     

    Last edit: ex_God 2013-10-29
    • Satish Ashok

      Satish Ashok - 2014-01-29

      Hi ex_god,
      Can you please write/translate your email into English, so that we can understand?

      Thanks,
      Satish

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.