Essa semana recebi uma dica bem bacana do Dilson Augusto para a administração de Switches 3Com Baseline.
Pesquisando melhor na Internet sobre o procedimento, vi que há outros modelos como o Switch HP v1910 que também aceitam o “comando secreto” para liberar a configuração de diversas features via CLI.
Ainda não pude testar a dica infomada em equipamentos em produção, então tomem todo o cuidado antes de executar o procedimento abaixo (prestem bastante atenção no warning exibido após a execução do comando) 😉 . De resto, curtam e simulem a dica em laboratório e comentem aqui no blog!!!
Obrigado Dilson. Segue abaixo o texto:
Boa tarde Diego,
Gostaria de compartilhar algo que descobri recentemente depois de muito tempo de pesquisa.
A linha Baseline Switch da HP é conhecida por ter seu gerenciamento console bem “restrito”, para não dizer simplório…<3Com Baseline Switch>? User view commands: initialize Delete the startup configuration file and reboot system ipsetup Specify the IP address of the VLAN interface 1 password Specify password of local user ping Ping function quit Exit from current command view reboot Reboot system summary Display summary information of the device. upgrade Upgrade the system boot file or the Boot ROM program <3Com Baseline Switch>Então… depois de muita pesquisa, acabei encontrando um comando mais que bacana… Se tiver um switch desses a mão, testa aí:
<3Com Baseline Switch>_cmdline-mode onVai apresentar a mensagem:
All commands can be displayed and executed. Continue? [Y/N]Y Please input password:****** Warning: Now you enter an all-command mode for developer's testing, some commands may affect operation by wrong use, please carefully use it with our engineer's direction.A senha é: 512900
<3Com Baseline Switch>? User view commands: archive Specify archive settings backup Backup next startup-configuration file to TFTP server boot-loader Set boot loader bootrom Update/read/backup/restore bootrom cd Change current directory clock Specify the system clock cluster Run cluster command copy Copy from one file to another debugging Enable system debugging functions delete Delete a file dir List files on a file system display Display current system information fixdisk Recover lost chains in storage device format Format the device free Clear user terminal interface ftp Open FTP connection initialize Delete the startup configuration file and reboot system ipsetup Specify the IP address of the VLAN interface 1 lock Lock current user terminal interface logfile Specify log file configuration mkdir Create a new directory more Display the contents of a file move Move the file ntdp Run NTDP commands password Specify password of local user ping Ping function pwd Display current working directory quit Exit from current command view reboot Reboot system rename Rename a file or directory reset Reset operation restore Restore next startup-configuration file from TFTP server rmdir Remove an existing directory save Save current configuration schedule Schedule system task screen-length Specify the lines displayed on one screen send Send information to other user terminal interface sftp Establish one SFTP connection ssh2 Establish a secure shell client connection stack Switch stack system startup Specify system startup parameters summary Display summary information of the device. super Set the current user priority level system-view Enter the System View telnet Establish one TELNET connection terminal Set the terminal line characteristics tftp Open TFTP connection tracert Trace route function undelete Recover a deleted file undo Cancel current setting upgrade Upgrade the system boot file or the Boot ROM program <3Com Baseline Switch> <3Com Baseline Switch>system-view System View: return to User View with Ctrl+Z. [3Com Baseline Switch]display cpu-usage history 100%| 95%| 90%| 85%| 80%| 75%| 70%| 65%| 60%| 55%| 50%| 45%| 40%| 35%| 30%| 25%| 20%| # 15%| # 10%| # 5% |# # ------------------------------------------------------------ 10 20 30 40 50 60 (minutes) cpu-usage last 60 minutes(SYSTEM) [3Com Baseline Switch]Caso queira compartilhar no blog, sinta-se a vontade… pode vir a auxiliar diversos administradores de rede.
Referências
Segue o link como referência o Switch HP v1910
http://glazenbakje.wordpress.com/2012/08/21/hp-v1910-secret-commando-list-how-to-enable-it/
Segue a saída publicada no forum da HP para o Switch 3Com 2952
http://h30499.www3.hp.com/hpeb/attachments/hpeb/itrc-269/30228/1/user_mode_cli.txt