JUNIPER PPPoE

COMANDOS E TROUBLESHOOTING

STATUS RADIUS

run show network-access aaa radius-servers detail
run show network-access aaa statistics radius 
run show network-access aaa statistics detail radius
show network-access aaa statistics authentication
show network-access aaa radius-servers

TESTA CONEXÃO DO CLIENTE VIA CLI

run test aaa ppp user user@bsdnetwork.com.br password senha@usuario

MOSTRA UPTIME DO CLIENTE

run show network-access aaa subscribers username eliane29165@qnet.com.br

DEBUG INTERFACE

run monitor traffic interface ge-1/0/1 no-resolve detail
run monitor traffic interface ge-1/1/0 no-resolve detail layer2-headers |match "vlan 1603"

EXIBE TODOS OS USUARIOS CONECTADOS

show subscribers

EXIBE INFORMAÇÕES DETALHADAS SOBRE DETERMINADO LOGIN

show subscribers user-name user@bsdnetwork.com.br extensive

EXIBE A ULTILIZAÇÃO DO POOL

show network-access address-assignment pool PPPoE_GPON
show network-access aaa statistics address-assignment pool PPPoE_GPON

EXIBE CLIENTES CONECTADOS NO POOL

show network-access address-assignment pool pool_pendencia

DESCONECTA USUARIO ESPECIFICO

run clear network-access aaa subscriber username flavio_souza@qnet.com.br

DESCONECTA TDOS OS USUARIOS

run clear auto-configuration interfaces demux0

SETA MTU

set dynamic-profiles PPPoE_Profile01 interfaces pp0 unit "$junos-interface-unit" ppp-options mtu 1480

ALOCAÇÃO DE MEMÓRIA NO JUNOS PPPOE ACIMA DA VERSÃO 13

set system services subscriber-management enable

set system configuration-database max-db-size 100M

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/subscriber-management-pppoe-dynamic-profile-basic.html

ESTATISCAS PPPOES / RADIUS

show pppoe statistics

run show network-access aaa statistics authentication detail

LISTA TODOS OS USUARIOS DE FORMA RESUMIDA E SALVA COM NOME

show subscribers | match pp0 | trim 62 | save subscribers
> start sheel
> cat subscribers | sort -n | uniq -c | sort -n 
> cat subscribers | sort -n | uniq -c | sort -n | grep -v 1 [lista todos com mais de um]

SCRIPT DE BACKUP VIA FTP

set system archival configuration transfer-on-commit
set system archival configuration archive-sites "ftp://usuario:Senha#2022@187.87.223.238/pasta/"

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/subscriber-management-enhanced-initial-setup.html https://kb.juniper.net/InfoCenter/index?page=content&id=KB31899&actp=METADATA https://www.juniper.net/documentation/us/en/software/junos/subscriber-mgmt-sessions/topics/task/subscriber-management-subscriber-information-verifying.html#id-verifying-and-managing-subscriber-aaa-information__d89536e28