jablonka.czprosek.czf

czfcentos

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

 

Line No. Rev Author Line
12czfcentos#!/bin/bash
2echo Content-type: text/plain
3echo
4echo "bgpd routeru `hostname`"
5echo
6password=heslo
7(echo $password; \
8 echo enable; \
9 echo $password; \
10 echo show ru; \
11 echo quit; \
12 echo show ip bg ne; \
13 echo show ip bg su; \
14 echo show ip bg path; \
15 echo exit) | nc localhost 2605 | grep -v assword
16 

Powered by WebSVN 2.2.1