Re: broken route-map after TCL ?

From: Alexei Monastyrnyi (alexeim@orcsoftware.com)
Date: Wed Oct 25 2006 - 14:10:46 ART


Right, I had that thought as well, tried now and it worked. Thanks.

Still interesting why things are partially working without one...

Found that exiting the session fixes the problem (reloading was stupid)

A.

Ivan wrote:
> You forget tclq after finishing script.
>
> On Wednesday 25 October 2006 20:16, Alexei Monastyrnyi wrote:
>
>> Hi Group!
>>
>> I have some weird observation to share.
>>
>> On a 2600 router after working with TCL, I cannot add "set" statements
>> to route-maps. After restarting router gains "set" ability for
>> route-maps....
>>
>> Has anyone met something like that? the issue is on all my 2600 routers,
>> but 3600 is just fine with that.
>>
>> R5)#sh ver | in image
>> System image file is "flash:c2600-j1s3-mz.123-20.bin"
>>
>> R5#tclsh
>> R5(tcl)#foreach ip {
>>
>> +>(tcl)#1.1.1.1
>> +>(tcl)#} { ping $ip }
>>
>> Type escape sequence to abort.
>> Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
>> !!!!!
>> Success rate is 100 percent (5/5), round-trip min/avg/max = 8/10/12 ms
>> R5(tcl)#^Z
>> R5#
>> 01:46:42: %SYS-5-CONFIG_I: Configured from console by console
>> R5#conf t
>> Enter configuration commands, one per line. End with CNTL/Z.
>> R5(config)#route-map test
>> R5(config-route-map)#match tag 100
>> R5(config-route-map)#set tag 200
>> 200
>> R5(config-route-map)#route-map test perm 20
>> R5(config-route-map)#match tag 1000
>> R5(config-route-map)#set tag 2000
>> 2000
>> R5(config-route-map)#do sh run | beg test
>> route-map test permit 10
>> match tag 100
>> !
>> route-map test permit 20
>> match tag 1000
>> !
>> [...]
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Nov 01 2006 - 07:29:06 ART