jablonka.czprosek.czf

czfcentos

Subversion Repositories:
[/] [trunk/] [router/] [home/] [www/] [cgi-bin/] [bgpd_term.cgi] - Rev 2

Compare with Previous - Blame - Download


#!/bin/bash
echo Content-type: text/plain
echo
echo "bgpd routeru `hostname`"
echo
password=heslo
(echo $password; \
 echo enable; \
 echo $password; \
 echo show ru; \
 echo quit; \
 echo show ip bg ne; \
 echo show ip bg su; \
 echo show ip bg path; \
 echo exit) | nc localhost 2605 | grep -v assword


Powered by WebSVN 2.2.1