czfcentos |
Subversion Repositories: |
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