Try:
vtysh -c show version -c exit
--jafar
On 5/19/2016 1:28 PM, Qing Wang wrote:
Hi Donald,
Thanks for the quick reply! I tried to use vtysh -c but it seems not
working : ( The only command working by far is: vtysh -c "list".
Lots of cisco/quagga router commands are not. It always give me the
error: "Command incomplete." While I can get the exactly same command
working inside vtysh shell.
For example:
# vtysh -c show version
% Command incomplete.
I checked my debian configuration file, I did enable the vtysh though.
I am pretty sure I got something wrong but I currently can't locate
where they are. Could you please give me some hint how I can use the
"vtysh -c", or why I got the "command incomplete" error message?
Thanks,
Qing
On Thu, May 19, 2016 at 12:21 PM, Donald Sharp
<[email protected] <mailto:[email protected]>> wrote:
vtysh -c "conf t" -c "some configuration command"
donald
On Thu, May 19, 2016 at 12:16 PM, Qing Wang <[email protected]
<mailto:[email protected]>> wrote:
Hi Quagga group,
I wonder if I can change the bgp prefix on the fly in quagga,
except using uisng vtysh/telnet log into the bgp daemon
process? For example, if I have network A announce prefix
A1/24, can I change it to another announcement prefix A2/24
without configure bgp router manually via vtysh, for example,
maybe using script?
Thanks in advance!!
Qing
_______________________________________________
Quagga-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.quagga.net/mailman/listinfo/quagga-users
_______________________________________________
Quagga-users mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users
_______________________________________________
Quagga-users mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users