When subscribers observe disconnections, how to verify the cause for subscriber disconnections
PPPoE subscribers may be getting disconnected as outlined in the below show commands:labroot@vellore-re0> show subscribers summary | refresh 30 ---(refreshed at 2024-09-18 21:43:31 PDT)--- Subscribers by State Init: 311 Configured: 78 Active: 2165 Terminating: 2 Terminated: 7 Total: 2563 Subscribers by Client Type DHCP: 79 PPPoE: 2484 Total: 2563---(refreshed at 2024-09-18 22:37:32 PDT)--- Subscribers by State Init: 282 Configured: 77 Active: 2149 Terminating: 1 Terminated: 7 Total: 2516Subscribers by Client Type DHCP: 76 PPPoE: 2440 Total: 2516labroot@vellore-re0> clear pppoe statistics labroot@vellore-re0> show pppoe statistics | refresh 30 ---(refreshed at 2024-09-18 21:43:09 PDT)---Active PPPoE sessions: 2467 PacketType Sent Received PADI 0 27 PADO 22 0 PADR 0 19 PADS 19 0 PADT 16 3 Service name error 0 0 AC system error 0 0 Generic error 0 0 Malformed packets 0 0 Unknown packets 0 0---(refreshed at 2024-09-18 22:37:26 PDT)---Active PPPoE sessions: 2429 PacketType Sent Received PADI 0 36006 PADO 29469 0 PADR 0 26550 PADS 26550 0 PADT 23741 8748 Service name error 0 0 AC system error 0 0 Generic error 0 0 Malformed packets 0 0 Unknown packets 0 0---(*more 100%)---[abort]
The show network-access aaa terminate-code command output fields are listed in the approximate order in which they appear. It displays the count for termination, and its cause types with code values as follows:labroot@vellore-re0> clear network-access aaa statistics terminate-code labroot@vellore-re0> show network-access aaa terminate-code brief | refresh 30 ---(refreshed at 2024-09-18 21:43:59 PDT)---Terminate-code: RADIUS Custom Usage-Count Type Code 10 no 20 ppp lcp-keepalive-failure 1 no 1 ppp lcp-peer-terminate-term-req ---(refreshed at 2024-09-18 22:37:30 PDT)---Terminate-code: RADIUS Custom Usage-Count Type Code 10 no 5467 ppp lcp-keepalive-failure 1 no 769 ppp lcp-peer-terminate-term-req ---(*more 100%)---[abort]Based on the termination code and its protocol, further troubleshooting can focus on issue isolation.For instance, since the termination codes from the above output are for PPP, our troubleshooting should concentrate on PPP and PPPoE.In the above scenario termination code causes are as listed and the issue was isolated to the end user requesting termination:lcp-keepalive-failure --- NAS Requestlcp-peer-terminate-term-req --- User RequestCheck out the below document for more details on the cause of the PPP termination code-type:PPP Termination Causes and Code ValuesWe can also enable traceoptions to track the subscriber status and the packets exchanged using session ID on a need-by-need basis.Commands to enable authd traceoptions:set system processes general-authentication-service traceoptions file authdset system processes general-authentication-service traceoptions file size 100mset system processes general-authentication-service traceoptions file files 2set system processes general-authentication-service traceoptions flag allCommands to enable pppoe traceoptions:set protocols pppoe traceoptions file pppoeset protocols pppoe traceoptions file size 100mset protocols pppoe traceoptions file files 10set protocols pppoe traceoptions level allset protocols pppoe traceoptions flag allCommands to enable ppp traceoptions:set protocols ppp traceoptions file pppset protocols ppp traceoptions file size 100mset protocols ppp traceoptions file files 10set protocols ppp traceoptions level allset protocols ppp traceoptions flag allCommands to enable smgd-service traceoptions:set system processes smg-service traceoptions file smgdset system processes smg-service traceoptions file size 100mset system processes smg-service traceoptions file files 10set system processes smg-service traceoptions level allset system processes smg-service traceoptions flag allCommands to enable l2tp traceoptions:set services l2tp traceoptions file l2tp_logset services l2tp traceoptions file size 100mset services l2tp traceoptions file files 10set services l2tp traceoptions level allset services l2tp traceoptions flag allCommands to enable dhcp traceoptions:set system processes dhcp-service traceoptions file dhcpset system processes dhcp-service traceoptions file size 100mset system processes dhcp-service traceoptions file files 10set system processes dhcp-service traceoptions level allset system processes dhcp-service traceoptions flag all
Commands to enable static-subscribers raceoptions:set system processes static-subscribers traceoptions file static-subs-traceset system processes static-subscribers traceoptions file size 100mset system processes static-subscribers traceoptions file files 10set system processes static-subscribers traceoptions level allset system processes static-subscribers traceoptions flag all
Reference links for other protocols:Session Termination Causes and RADIUS Termination Cause CodesAAA Termination Causes and Code ValuesDHCP Termination Causes and Code ValuesVLAN Termination Causes and Code ValuesL2TP Termination Causes and Code Values
2024-09-18 : Article Created
2024-11-28 : Adding traceoptions for static-subscribers