8 Replies Latest reply on Dec 2, 2014 11:38 AM by jgoldberg

    Netvanta 1224R

    tommyrogers New Member

      After several years in service I have recently had a 1224R start acting up and I am getting this in the event logs.

      "Maximum number of global associations reached, dropping packet from Public policy-class"


      I don't think there is any virus activity and I have read the post about increasing the  "IP POLICY-CLASS MAX-SESSIONS". I set it to the maximum and I am still getting these errors..  Can someone explain what causes the error?




        • Re: Netvanta 1224R
          jayh Hall_of_Fame

          It's possibly some virus but perhaps not on your network.  The box keeps track of state when a flow traverses the firewall.  Normally this is short-duration event.  You send an email or visit a web page, the other side accepts the connection, data is passed, and the connection closes.  An open SSH or telnet session will hold an association for the duration of the session.


          If a connection is started but doesn't complete, then a timer starts running.  The association is reserved for the duration of the timer.  Virus activity or port scans can cause multiple half-open sessions which will hold these sessions until the timer runs out.


          show ip policy-sessions would be a good place to start.  Look for numerous incomplete sessions of port ranges or IP ranges in sequence, this may point you to the culprit. 

            • Re: Netvanta 1224R
              tommyrogers New Member

              Below is the output of "show ip policy-sessions", as you can see there are not that many sessions open.


              show ip policy-sess


              Protocol (TTL) [in crypto map] -> [out crypto map] Destination policy-class

                Src IP Address  Src Port Dest IP Address Dst Port NAT IP Address    NAT Port

                --------------- -------- --------------- -------- ----------------- --------


              Policy class "Private":

              tcp (565) -> Public

          58086  5938     s     57291

              tcp (565) -> Public

         58274     5938     s     16473

              tcp (565) -> Public

        59811   443      s     30606

              tcp (593) -> Public

        59665   443      s     30535

              tcp (593) -> Public

        59813   443      s     30607

              tcp (551) -> Public

        63863 80       s     8787

              tcp (4) -> Public

        59808   443      s     30602

              tcp (4) -> Public

        59809   443      s     30603

              tcp (565) -> Public

        45158   5223     s     25453


              Policy class "Public":

              tcp (600) -> self

         42874     2300

              icmp (46) -> self

         4457     4457


              Policy class "self":


              Policy class "default":

                • Re: Netvanta 1224R
                  jayh Hall_of_Fame

                  This looks pretty lightweight for policy sessions, certainly not of concern.  You'll probably need to capture it when the issue occurs. 

                    • Re: Netvanta 1224R
                      jgoldberg New Member



                      I'm curious if you or anyone else knows of a scriptable telnet/ssh client that can run these commands. As long as I can pass command lines to it or read from a script, I'm good. It doesn't need the more advanced programmable scripting conditions of Vandyke SecureCRT, just basic: send this command, wait five seconds, send the next command, etc....


                      Edit: I see that putty supports this.

                • Re: Netvanta 1224R
                  tommyrogers New Member

                  I rebooted the 1224R and the issue disappeared. I also made sure all of the computers were clear of any malware etc.. So far the issue has not returned and it has been over 24 hours. If it occurs again I will post an update.

                  I also ran a packet capture and did not see anything that caught my eye.

                    • Re: Netvanta 1224R

                      tommyrogers -

                      I went ahead and flagged the "Correct Answer" on this post to make it more visible and help other members of the community find solutions more easily. If you don't feel like the answer I marked was correct, feel free to come back to this post to unmark it and select another in its place with the applicable buttons.  If you have any additional information on this that others may benefit from, please come back to this post to provide an update.  If you still need assistance, we would be more than happy to continue working with you on this - just let us know in a reply.