Search Results

Search: Posts Made By: roh_20022002
Forum: Programming 10-03-2011
3,578
Posted By roh_20022002
EXPECT script HELP
#!/usr/local/bin/expect

if {$argc <6} {
puts "Usage: stp_priority <switch_ip> <ts_port> <stp_vlan> <port1> <port2>"
} else {
puts "Wrong number of arguments...
1,124
Posted By roh_20022002
Okay here is the problem. I am using regexp at...
Okay here is the problem. I am using regexp at the beginning and the end of the loop because I want to compare the output of a certain command which shows the rate of packets coming in on a...
1,124
Posted By roh_20022002
Script running for one iteration and failing the second one
Hi,
I am using Tclexpect to automation testing on switches and using regexp and the buffer outputs the program is running well for one iteration and failing the second one... can anyone please guide...
2,437
Posted By roh_20022002
Problems with expect_out command
expect "#"
send "terminal-length 0\r"
expect "#"
send "show mp cpu\r"
expect "#"
send "show mp memory\r"
expect "#"
while {1} {
...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 10:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy