Junos OS

 View Only
last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Unable to "load override config"

    Posted 10-02-2018 10:53

    Hi, after a restart i realized that the running config on the device is too old. I didnt understand how it happened and loaded such an old config .. I decided to load a config from backup server .. I ve copied the config file from remote server and run the command

    >> load override srx240-01_juniper.conf.gz_yyyyy_xxxx

    But i can not complete the loading of the config file, i get these errors , any ideas appreciated :

     

     

     

    srx240-01_juniper.conf.gz_20180723_184935:1:(1) syntax error: \x1z
    [edit]
    '\x1z�\x08y�N�\x1w�y\x05Y\x0w�8\x18�{������a��a��\x1uِ�V\x07�+���\x03�7��g(������\x0v�'
    syntax error
    se>ϕ�<�0���J���nu\x13��.D>i*Dl�%�4�4Cj~�A>��%h����JX�Ƅ�K1erminatz\x0w�@�!�\�<J�3Tj��`]��o�\x1x)��\x12�j�j��y��\�g�\x08`}9|
    [edit]
    '^9\x1yTs\x0yp�\x05�*��\x1v��{�T닆�����\x1y�Fq!\x08��I]\x19_?�-�k��_��H���N;'
    missing terminating quote
    srx240-01_juniper.conf.gz_20180723_184935:4:(83) error recovery ignores input until this point: }
    [edit]
    '�$�\x1u6P<c\x0y�'
    error recovery ignores input until this point
    srx240-01_juniper.conf.gz_20180723_184935:6:(0) missing terminating quote: �۲\x1y4�c-z-m+��$��yp��~\x01�9\x0v�@�\x16�B\x14��\x0z9\x1z��M��Gk�yN\x0w�\x0wۃX\x03
    [edit]
    '��C'�h�?��=]�ﭛ�귇)�C�z�5��v�]�?*�\x1y�\x19q��7��'!�a�V΄��M\x18�{�jx�!���9\x11�۲\x1y4�c-z-m+��$��yp��~\x01�9\x0v�@�\x16�B\x14��\x0z9\x1z��M��Gk�yN\x0w�\x0wۃX\x03'
    missing terminating quote
    srx240-01_juniper.conf.gz_20180723_184935:7:(0) missing terminating quote: �
    [edit]
    'd�&���1Z�5\x11u�\x016A��ӡ'
    missing terminating quote
    H�\x16�\x1x\x07#�H�\x1yg�=�f�\��fK�!�\x15\x18..�#c Q�\x01P��\x0yM\x14�\x03�\x1y�f\x12��{���6\x1vV�|�͗���?}Q&�'�\x1v<@�1ԃM�*���\x04GL�D�H{P0\x17��e�C����K�a�Z�_
    [edit]
    '�rתF[\x0w�\x16X��m��}\x1w��搝�L�N�����29�Ls\x0w���^&�:`W%\x02����j\x10��(�F$\x18�\x08q�%yI�v}u\x15�:�շ'
    missing terminating quote
    srx240-01_juniper.conf.gz_20180723_184935:12:(0) missing terminating quote: Q51/H\x05!&\x10�-�\x13\x1z�
    [edit]
    '�\x1y�S��m\x07 ׁP�\x05v�ߙ�=�YH��\x19��p�\x18\x07\x1vQm@9\x1v��3\x02튳�D�=&\x1u�k�2L�7\x0yD6�j��7\x11\x18��{�>&B��¢I��w7���Q51/H\x05!&\x10�-�\x13\x1z�'
    missing terminating quote
    7к�6\x0w�0Y�y`��\x16���d �6p�Z�8s�d�}�\x19\x1u�_wII�h\x1verminating quote: ���\x1va데d_�\x17�w\x02��W���m�Ӟ�Qpq#(\x05�;0����2T� �
    [edit]
    '`JO�@�c�Wg���~���7�W=)�\x1w\x07 &�/\x03M��y�`�\x03\x19(�y)b�耈�\x01\x04�)��|L�\x18n��\x07)�q��\x04*�վ\x14P�z�tƔ\x1uu�3�\x0v\x02\x14�\x03�\x12 Q�\x1ud�E<OC�3!�\x1v�h�G;;'�2\x1z��\x04�\x06LO7fh9\x18A�,-I\x02i�U�Xi��\x0y��{V���|'\x12\x0w��1\x1z�G� {\x19Z(fq�}\x0v,�o\x12\x03f؊�$�8`�K U�\x1w0�\x04\x19y�t�&w\x154KX�Y-�d~R�K2-}˅:A�ZxrД\x1v9y\x11��=\x18M\x1z)�\x0y\x05�c\x15MS��nx=]�\x07G�*c7�'
    missing terminating quote
    srx240-01_juniper.conf.gz_20180723_184935:31:(0) missing terminating quote: X�\x03X�
    [edit]
    '8�@�M �&D�&G�\x14.�S8�S8:�pdV�X�\x03X�'
    missing terminating quote
    load complete (9 errors)

    [edit]

     



  • 2.  RE: Unable to "load override config"

    Posted 10-02-2018 22:59

    Hello,

     


    @vodexguy wrote:

    Hi, after a restart i realized that the running config on the device is too old. 

    <skip>

    >> load override srx240-01_juniper.conf.gz_yyyyy_xxxx

     

     

     

    Looks like Your SRX booted with rescue config which is normally not frequently updated .

    To update it, run "request system configuration rescue save" CLI command.

    Also check if Your SRX has dual-root partition - it may also have booted from the backup one.

     

     


    @vodexguy wrote:

     

    >> load override srx240-01_juniper.conf.gz_yyyyy_xxxx

    But i can not complete the loading of the config file, i get these errors , any ideas appreciated :

     

     You are loading the compressed text config file, this is not supported.

    You need to uncompress it first and then do "load override"

     

    file show srx240-01_juniper.conf.gz_yyyyy_xxxx | save override.conf
    load override override.conf

     HTH

    Thx

    Alex

     



  • 3.  RE: Unable to "load override config"

    Posted 10-03-2018 10:27

    Hi Alex,

     

    thank you for answering my question... I did exact the same thing but still got the almost same error :

     

    override.conf:1:(4) syntax error: \x1z
    [edit]
    '\x1z�\x08'
    syntax error
    override.conf:5:(0) missing terminating quote: 49�3\x1y.��
    [edit]
    '?*u\x0v��N��s�������B�%�]���[�[*p|���V��N��2\x17z�Z{ճ;���hW7h�v��[\x0v���F�k�Tا%�\x01a�oLJ\x13ݖ�^�]\x19�N�T\x1w�2I�$�\x18S`49�3\x1y.��'
    missing terminating quote
    override.conf:14:(0) missing terminating quote: \x1z+��v_�\x1y�\x15�DŽM*�@\x1wT��H#@��HA!��z�Q�����
    [edit]
    '�΁���\x16�qp��teno՝�N~v1v\x10&����}�\x1z+��v_�\x1y�\x15�DŽM*�@\x1wT��H#@��HA!��z�Q�����'
    missing terminating quote
    override.conf:21:(0) missing terminating quote: � X�.\x10ѧ�H��b�
    [edit]
    'c���\���]�ɷ���xܻ�i��<+�ί\x1y��윽կ�9�U8����S���Z���d1�W��s%'�'
    missing terminating quote
    override.conf:28:(0) missing terminating quote: w��]\x1z�{������b\x16'ٷ�R�&1`��hO��\x03�\x17��PU�\x01cM���I�irWA�����rI�'e�$�ҷ\�\x13\x14��'\x07M���\x07�\x1z܃��b�P�:V�4�]��ӵ�vp$�2v\x03����X6�\x1y0,C�\x03}\x12 \x15Ul�k�<��\x1xk\x140~zL\x07��*���~:���>�g��\x0z��\x13qO�ߵQG�wȮ��=A��cE��\x05p�} ��\x1v�H8��\x04��p\x0w�\x1w\x07�1�11��\x14��W
    [edit]
    '�E�!��$�6_u����PJ�g�K���w��]\x1z�{������b\x16'ٷ�R�&1`��hO��\x03�\x17��PU�\x01cM���I�irWA�����rI�'e�$�ҷ\�\x13\x14��'\x07M���\x07�\x1z܃��b�P�:V�4�]��ӵ�vp$�2v\x03����X6�\x1y0,C�\x03}\x12 \x15Ul�k�<��\x1xk\x140~zL\x07��*���~:���>�g��\x0z��\x13qO�ߵQG�wȮ��=A��cE��\x05p�} ��\x1v�H8��\x04��p\x0w�\x1w\x07�1�11��\x14��W'
    missing terminating quote
    qȅj�\x16\x12DSQU�g�N�'�t�D;M\x1u�R �\x12?WAbNA�\x0z\x1v�6t\x02�+��P\r�0Б}�:��8�=\x0wp�݌�;U�+%�?\x19\x13U�m[;T��t\x06���=C�R��Hv:�'�t���#�\x1x�l)�KC�\x18qs.��-\x10��?d|�i\x199\x0z$�����=\x0zC�Qf\x15\x1u��3\x19��‚���@&��z���\x06��^�\x0w\x05<u�[@��t05\x13�@\x1u�C\x12�\x17�\x0v�c�~XT�!�\x12H\x07oM���χy?�|��Lw�\x1u}\x1z
    [edit]
    '=ː�L�� 77�7�C\x1x����\x18��8x&M�K~��⤘�p!�x�\x1uLRܝ�;��\x1u��P��W�z�5��������n5h\x15)̝\x04������\x0z�& �.\x18�/�\x13˗B�\x1yfIcF\x0v]<��]\x184ܛ�E\x11�%�g��'
    missing terminating quote
    override.conf:36:(0) missing terminating quote: �w$��\x16�T���z~G�����\x05�t��ocP޹\x10<\x017\x11�fq�`�\x0y��\x02���/��\x17ߒ��8��\x1z�(/�?8�*�\x18bj�\x0w\x15���f��]M\x19�S\x16�˔�iJ[4�,��Ŵ�\x15\!5ei��Wts\x15�ͭ�`�<��T�qL�*\x03O\x13�����V�u>\x04\x1uŻ����\x05�\x1v��r#]?=15�)7�G*j�L1��8�}\x1u�\x10n������+;��u\x05��9#y6�\x10. �|\x18�9�/�Bδ$Ci�a����l������N\x0yֽ+厃/�(\x13�\x19�\x1v�\x0v9�\x0zC�\x1w�\x11&�/�!��a(���M3��\x0y�\x0zB�d\x1w����\x1z\x1y�}\x18񞌃u\x07��é~\x18\x11���u;\x11��)�\x1z1�@̈�\x11:T��\x17
    [edit]
    '��E�+\x1y���\x08H��K�,�x_�x�\x1u�rtTdۍ��'�\x13&/�T�\x10��{�5��\x18A�^a����\x1w_��;�l�>p�.\x19.��MI\x0y�\x18����\x13)N���(�g\x0zL�p��T\x07*��Ⴟݐ�"�=�k�_�Nz����%�w$��\x16�T���z~G�����\x05�t��ocP޹\x10<\x017\x11�fq�`�\x0y��\x02���/��\x17ߒ��8��\x1z�(/�?8�*�\x18bj�\x0w\x15���f��]M\x19�S\x16�˔�iJ[4�,��Ŵ�\x15\!5ei��Wts\x15�ͭ�`�<��T�qL�*\x03O\x13�����V�u>\x04\x1uŻ����\x05�\x1v��r#]?=15�)7�G*j�L1��8�}\x1u�\x10n������+;��u\x05��9#y6�\x10. �|\x18�9�/�Bδ$Ci�a����l������N\x0yֽ+厃/�(\x13�\x19�\x1v�\x0v9�\x0zC�\x1w�\x11&�/�!��a(���M3��\x0y�\x0zB�d\x1w����\x1z\x1y�}\x18񞌃u\x07��é~\x18\x11���u;\x11��)�\x1z1�@̈�\x11:T��\x17'
    missing terminating quote
    load complete (7 errors)



  • 4.  RE: Unable to "load override config"

    Posted 10-03-2018 14:26

    Hi,

     

    Based on the error logs you pasted,I can see "missing terminating quote". I suggest checking the config file to see if any such quotes are missing.

     

    //Regards

    AD



  • 5.  RE: Unable to "load override config"
    Best Answer

    Posted 10-03-2018 19:44

    Hello,

    Can You remove the _YYYY_XXXX name extension please - I think JUNOS does not recognise Your compressed file as compressed?

     

    file rename srx240-01_juniper.conf.gz_yyyyy_xxxx srx240-01_juniper.conf.gz
    file show srx240-01_juniper.conf.gz ## to make sure it is readable by JUNOS
    file show srx240-01_juniper.conf.gz | save override.conf
    load override override.conf

    HTH

    Thx
    Alex



  • 6.  RE: Unable to "load override config"

    Posted 10-04-2018 00:04

    Alex, I really appreciate.. thank you... that worked 🙂