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