Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I want to grab some outputs from some show commands and redirect the output to a file named after each router and I'm stuck. Here's shortened version of my "crude" script:tclshset FINDROUTERNAME [exec "show running-config | i ^hostname"]set ROUTERNAM...
The show ip bgp summary will produce a listing of neighbors but I'm looking for a way to get a count of the neighbors. Anyone knows of a way to do that?
Trying to use tcl to gather output from a number of show commands and redirect the output to a file.1. Is there a way to suppress all the screen output. I just want to show the output and none of the tcl commands.2. How do I send all the outputs (out...
Why is the c3750 "autoqos classify" command introduced in image 12.2(55) SE marking voice traffic to AF41? Shouldn't this traffic be marked EF?This is the policy map when the auto qos classify command is configured (lifted from the command reference)...
how do you keep this script from failing due to ping failures? If you were to do this:set result [exec ping 1.1.1.1 repeat 1000]If the pings timeout the script fails. Is there a way for the script to continue executing subsequent tasks following the ...
Thanks Dan. Would like to add one more thing, which is to add the output of ping tests like:foreach $IP {10.1.1.110.2.2.2} {ping $IP}Can't figure out how to add the ping results to the "result" variable in your solution.