jablonka.czprosek.czf

czfcentos

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

Compare with Previous - Blame - Download


#!/bin/bash
echo Content-type: text/plain
echo
echo "ospfd routeru `hostname`"
echo
password=heslo
(echo $password; \
 echo enable; \
 echo $password; \
 echo show ru; \
 echo show ip ospf neighbor; \
 echo show ip ospf route; \
 echo show ip ospf database; \
 echo show ip ospf database router; \
 echo show ip ospf database external; \
 echo exit) | nc localhost 2604 | grep -v assword


Powered by WebSVN 2.2.1