Author Topic: Configuration archival via http on SRX routers and EX switches  (Read 663 times)

cyril

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
According to this article, it is possible to configure configuration archival via http. However I failed to make this work. It seems that the router can't even send http request (tcpdump doesn't show any activity on destination) in spite of configuration being checked and successfully saved.
Here are show versions of my router and switch, their config and the only log messages I get concerning this problem

router:
Code: [Select]
node0:
--------------------------------------------------------------------------
Hostname: od-office-gw0
Model: srx210he2
JUNOS Software Release [12.1X44-D50.2]

node1:
--------------------------------------------------------------------------
Hostname: od-office-gw1
Model: srx210he2
JUNOS Software Release [12.1X44-D50.2]
switch:
Code: [Select]
fpc0:
--------------------------------------------------------------------------
Hostname: switch0
Model: ex2200-48p-4g
JUNOS Base OS boot [12.3R11.2]
JUNOS Base OS Software Suite [12.3R11.2]
JUNOS Kernel Software Suite [12.3R11.2]
JUNOS Crypto Software Suite [12.3R11.2]
JUNOS Online Documentation [12.3R11.2]
JUNOS Enterprise Software Suite [12.3R11.2]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.3R11.2]
JUNOS Routing Software Suite [12.3R11.2]
JUNOS Web Management [12.3R11.2]
JUNOS FIPS mode utilities [12.3R11.2]
config:
Code: [Select]
configuration {
    transfer-on-commit;
    archive-sites {
        "http://juniper@10.15.72.30:8080/cgi-bin/pull.cgi" password "$9$bGY4ZHqfn/tUj/tuOcSwYg"; ## SECRET-DATA
    }
}
I've also tried this:
Code: [Select]
configuration {
    transfer-on-commit;
    archive-sites {
        http://10.15.72.30:8080/cgi-bin/pull.cgi;
    }
}
log:
Code: [Select]
Feb 28 18:07:31  od-office-gw1 logger: transfer-file failed to transfer /var/transfer/config/od-office-gw1_juniper.conf.gz_20170228_155614
Feb 28 18:07:31  od-office-gw1 pfed: Error <256> uploading file '/var/transfer/config/od-office-gw1_juniper.conf.gz_20170228_155614'. Remaining retry attempts = 2, retry in 595 seconds...