cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1815
Views
5
Helpful
1
Replies

Except script banner error

rviaud
Level 1
Level 1

Hello, i would like to use except script to automated the configuration of my switches . I tried it's work well but i have somes errors with the banner.

 

Here is my script :

Capture2.PNG

 

but i have this errors :

 

Capture.PNG

what's the problems ?

 

Thanks

 

 

 

 

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

You should add -- after your send lines to prevent additional argument processing:

send -- ...

Instead of double-quotes, use {} as that is Tcl's way of doing literals without additional expansion:

send -- {This is my banner}

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

You should add -- after your send lines to prevent additional argument processing:

send -- ...

Instead of double-quotes, use {} as that is Tcl's way of doing literals without additional expansion:

send -- {This is my banner}