jablonka.czprosek.czf

czfcentos

Subversion Repositories:
[/] [trunk/] [router/] [home/] [www/] [cgi-bin/] [ospfd_term.cgi] - Blame information for rev 3

 

Line No. Rev Author Line
12czfcentos#!/bin/bash
2echo Content-type: text/plain
3echo
4echo "ospfd routeru `hostname`"
5echo
6password=heslo
7(echo $password; \
8 echo enable; \
9 echo $password; \
10 echo show ru; \
11 echo show ip ospf neighbor; \
12 echo show ip ospf route; \
13 echo show ip ospf database; \
14 echo show ip ospf database router; \
15 echo show ip ospf database external; \
16 echo exit) | nc localhost 2604 | grep -v assword
17 

Powered by WebSVN 2.2.1