Discussion:
[rancid] RcsDiff Problem With Juniper Router
Ho Siew Fah
2007-07-11 01:13:38 UTC
Permalink
Hello group,

Sometimes, the diff command shows the following "show chassis environment"
from my juniper router even after I had changed my interface configuration
in this router. I expect the diff command shows the changes I have made to
the interface, but instead it just show the difference in the environment. I
have to execute rancid-run again in order to get the configuration change I
have made.

Can anyone tell me how to solve this problem without running the rancid-run
command again?

Also, is there a way to change the time setting in the ouput of the rcsdiff?
I have adeded the command TZ=SGT and export TZ in the rancid.conf file, but
it seems that is not working.

Thank you.

RCS file: /usr/local/var/rancid/CVS/ix/configs/sbt-cr2.ix.sing.com,v
retrieving revision 1.121
retrieving revision 1.122
diff -c -r1.121 -r1.122
*** sbt-cr2.ix.singtel.com 2007/06/30 16:11:40 1.121
--- sbt-cr2.ix.singtel.com 2007/06/30 21:39:24 1.122
***************
*** 2,8 ****
#
# sbt-cr2-re1> show chassis clocks
# Clock State Measured frequency
! # PCG 0 Online - Master clock 124.95 MHz
# PCG 1 Online - Standby 124.96 MHz
#
# sbt-cr2-re1> show chassis environment
--- 2,8 ----
#
# sbt-re1> show chassis clocks
# Clock State Measured frequency
! # PCG 0 Online - Master clock 124.96 MHz
# PCG 1 Online - Standby 124.96 MHz
#
# sbt-cr2-re1> show chassis environment
Ho Siew Fah
2007-07-11 02:15:28 UTC
Permalink
Hello group,

Sometimes, the diff command shows the following "show chassis environment"
from my juniper router even after I had changed my interface configuration
in this router. I expect the diff command shows the changes I had made to
the interface, but instead it just show the difference in the environment. I
have to execute rancid-run again in order to get the configuration change I
have made.

Can anyone tell me how to solve this problem without running the rancid-run
command again?

Also, is there a way to change the time setting in the ouput of the rcsdiff?
I have adeded the command TZ=SGT and export TZ in the rancid.conf file, but
it seems that is not working.

Thank you.

RCS file: /usr/local/var/rancid/CVS/ix/configs/sbt-cr2.ix.sing.com,v
retrieving revision 1.121
retrieving revision 1.122
diff -c -r1.121 -r1.122
*** sbt-cr2.ix.singtel.com 2007/06/30 16:11:40 1.121
--- sbt-cr2.ix.singtel.com 2007/06/30 21:39:24 1.122
***************
*** 2,8 ****
#
# sbt-cr2-re1> show chassis clocks
# Clock State Measured frequency
! # PCG 0 Online - Master clock 124.95 MHz
# PCG 1 Online - Standby 124.96 MHz
#
# sbt-cr2-re1> show chassis environment
--- 2,8 ----
#
# sbt-re1> show chassis clocks
# Clock State Measured frequency
! # PCG 0 Online - Master clock 124.96 MHz
# PCG 1 Online - Standby 124.96 MHz
#
# sbt-cr2-re1> show chassis environment

Loading...