Mudanças entre as edições de "Monit DHCP Aruba"

De Slacam_Wiki
Ir para: navegação, pesquisa
Linha 12: Linha 12:
  
 
   show ip dhcp statistics
 
   show ip dhcp statistics
 +
 +
Para contar quantos dispositivos estão pegando IP faça uma filtragem no arquivo de log com o seguinte script
 +
 +
cat aruba_controller.log |grep OFFER |cut -d" " -f15- |cut -d" " -f1 |sort -nr|uniq -c > /root/numerosarp.txt

Edição das 16h35min de 12 de agosto de 2010

Comandos para Monitorar o DHCP da Controladora

To enable the DHCP debugging, type the following commands:

    1.    Login to the controller and enter the enable mode. 
    2.    Type the following commands: 
                 a.   config t 
                 b.   logging level debugging network subcat dhcp 
                 c.   end 
    3.    Type “show log network all” to display the debug events.

Para verificar como anda o DHCP use o comando:

 show ip dhcp statistics

Para contar quantos dispositivos estão pegando IP faça uma filtragem no arquivo de log com o seguinte script

cat aruba_controller.log |grep OFFER |cut -d" " -f15- |cut -d" " -f1 |sort -nr|uniq -c > /root/numerosarp.txt