Mudanças entre as edições de "Monit DHCP Aruba"
De Slacam_Wiki
Linha 1: | Linha 1: | ||
+ | <ads media=goo5/> | ||
Comandos para Monitorar o DHCP da Controladora | Comandos para Monitorar o DHCP da Controladora | ||
Linha 16: | Linha 17: | ||
cat aruba_controller.log |grep OFFER |cut -d" " -f15- |cut -d" " -f1 |sort -nr|uniq -c > /root/numerosarp.txt | cat aruba_controller.log |grep OFFER |cut -d" " -f15- |cut -d" " -f1 |sort -nr|uniq -c > /root/numerosarp.txt | ||
+ | |||
+ | <ads media=goo3/> |
Edição atual tal como às 20h58min de 18 de dezembro de 2013
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