zerotouch cancel -> only for current uptime (reload will start ZTP again)
zerotouch disable -> forever
to reenable zerotouch do:
bash
rm /mnt/flash/zerotouch-config
exit
write erase
reload
(ztpserver freeware latest development version is needed)
on vEOS:
localhost login: Mar 14 12:53:44 localhost ConfigAgent: %ZTP-6-DHCPv4_SUCCESS: DHCPv4 response received on Management1 [ Ip Address: 11.0.0.3/24/24; Gateway: 11.0.0.1; Boot File: http://54.37.190.249:8080/bootstrap ]
Mar 14 12:53:49 localhost ConfigAgent: %ZTP-6-CONFIG_DOWNLOAD: Attempting to download the startup-config from http://54.37.190.249:8080/bootstrap
Mar 14 12:53:49 localhost ConfigAgent: %ZTP-6-CONFIG_DOWNLOAD_SUCCESS: Successfully downloaded config script from http://54.37.190.249:8080/bootstrap
Mar 14 12:53:49 localhost ConfigAgent: %ZTP-6-EXEC_SCRIPT: Executing the downloaded config script
Mar 14 12:53:56 localhost ConfigAgent: %ZTP-6-EXEC_SCRIPT_SUCCESS: Successfully executed the downloaded config script
Mar 14 12:53:57 localhost ConfigAgent: %ZTP-6-RELOAD: Rebooting the system
on ZTPserver:
2019-03-14 13:53:51,096:DEBUG:[serializers:237] None: reading /usr/share/ztpserver/bootstrap/bootstrap...
2019-03-14 13:53:51,102:INFO:[controller:820] 178.32.46.58: node beginning provisioning
178.32.46.58 - - [14/Mar/2019 13:53:51] "GET /bootstrap HTTP/1.1" 200 48535
2019-03-14 13:53:52,308:DEBUG:[serializers:237] None: reading /usr/share/ztpserver/bootstrap/bootstrap.conf...
2019-03-14 13:53:52,309:WARNING:[controller:776] Bootstrap config file empty
178.32.46.58 - - [14/Mar/2019 13:53:52] "GET /bootstrap/config HTTP/1.1" 200 27
2019-03-14 13:53:55,271:INFO:[controller:277] 178.32.46.58: received system information from node:
{u'neighbors': {}, u'model': u'vEOS', u'version': u'4.21.1.1F', u'serialnumber': u'', u'systemmac': u'50:05:00:93:81:07'}
2019-03-14 13:53:55,272:INFO:[topology:313] 500500938107: parsing node's LLDP Neighbor information
2019-03-14 13:53:55,272:DEBUG:[topology:159] 500500938107: created node object Node(serialnumber=, systemmac=500500938107, neighbors=OrderedCollection())
2019-03-14 13:53:55,272:INFO:[controller:295] 178.32.46.58: node ID is systemmac:500500938107
2019-03-14 13:53:55,272:DEBUG:[controller:169] 500500938107: running node_exists
2019-03-14 13:53:55,272:INFO:[controller:324] 500500938107: this node already exists on the server
2019-03-14 13:53:55,272:DEBUG:[controller:169] 500500938107: running dump_node
2019-03-14 13:53:55,272:DEBUG:[serializers:270] N/A: writing /usr/share/ztpserver/nodes/500500938107/.node...
2019-03-14 13:53:55,273:INFO:[controller:520] 500500938107: node data written to nodes/500500938107/.node:
{'neighbors': {}, 'model': u'vEOS', 'version': u'4.21.1.1F', 'systemmac': '500500938107'}
2019-03-14 13:53:55,273:DEBUG:[controller:169] 500500938107: running set_location
2019-03-14 13:53:55,273:DEBUG:[controller:181] 500500938107: response to set_location: {'status': 409, 'location': 'nodes/500500938107'}
178.32.46.58 - - [14/Mar/2019 13:53:55] "POST /nodes HTTP/1.1" 409 0
2019-03-14 13:53:55,282:INFO:[controller:558] 500500938107: received request for definition: http://54.37.190.249:8080/nodes/500500938107
2019-03-14 13:53:55,282:DEBUG:[controller:559] GET /nodes/500500938107 HTTP/1.1
Accept: */*
Accept-Encoding: identity
Connection: keep-alive
Content-Length: 4
Content-Type: text/html
Host: 54.37.190.249:8080
User-Agent: python-requests/2.18.4
null
Resource: 500500938107
2019-03-14 13:53:55,283:DEBUG:[serializers:237] None: reading /usr/share/ztpserver/nodes/500500938107/.node...
2019-03-14 13:53:55,283:INFO:[topology:313] 500500938107: parsing node's LLDP Neighbor information
2019-03-14 13:53:55,283:DEBUG:[topology:159] 500500938107: created node object Node(serialnumber=None, systemmac=500500938107, neighbors=OrderedCollection())
2019-03-14 13:53:55,283:DEBUG:[controller:169] 500500938107: running do_validation
2019-03-14 13:53:55,283:WARNING:[controller:604] 500500938107: topology validation is DISABLED
2019-03-14 13:53:55,283:DEBUG:[controller:169] 500500938107: running get_startup_config
2019-03-14 13:53:55,284:DEBUG:[controller:169] 500500938107: running get_definition
2019-03-14 13:53:55,284:WARNING:[controller:664] 500500938107: missing definition nodes/500500938107/definition
2019-03-14 13:53:55,284:DEBUG:[controller:169] 500500938107: running get_attributes
2019-03-14 13:53:55,284:WARNING:[controller:683] 500500938107: no node specific attributes file
2019-03-14 13:53:55,284:DEBUG:[controller:169] 500500938107: running do_substitution
2019-03-14 13:53:55,284:DEBUG:[controller:703] 500500938107: processing action install static startup-config file (variable substitution)
2019-03-14 13:53:55,284:DEBUG:[controller:169] 500500938107: running do_resources
2019-03-14 13:53:55,288:DEBUG:[topology:166] 500500938107: computing resources (attr={'url': 'http://54.37.190.249:8080/nodes/500500938107/startup-config'})
2019-03-14 13:53:55,289:DEBUG:[topology:194] 500500938107: resources: {'url': 'http://54.37.190.249:8080/nodes/500500938107/startup-config'}
2019-03-14 13:53:55,289:DEBUG:[controller:169] 500500938107: running finalize_response
2019-03-14 13:53:55,289:DEBUG:[controller:181] 500500938107: response to finalize_response: {'body': {'name': 'Autogenerated definition', 'actions': [{'action': 'replace_config', 'attributes': {'url': 'http://54.37.190.249:8080/nodes/500500938107/startup-config'}, 'name': 'install static startup-config file', 'always_execute': True}]}, 'status': 200, 'content_type': 'application/json'}
178.32.46.58 - - [14/Mar/2019 13:53:55] "GET /nodes/500500938107 HTTP/1.1" 200 235
2019-03-14 13:53:55,298:DEBUG:[controller:142] GET /actions/replace_config HTTP/1.1
Accept: */*
Accept-Encoding: identity
Connection: keep-alive
Content-Length: 4
Content-Type: text/html
Host: 54.37.190.249:8080
User-Agent: python-requests/2.18.4
null
Resource: replace_config
2019-03-14 13:53:55,298:DEBUG:[serializers:237] None: reading /usr/share/ztpserver/actions/replace_config...
178.32.46.58 - - [14/Mar/2019 13:53:55] "GET /actions/replace_config HTTP/1.1" 200 2364
2019-03-14 13:53:55,307:DEBUG:[controller:188] 500500938107: node resource GET request:
GET /nodes/500500938107/startup-config HTTP/1.1
Accept: */*
Accept-Encoding: identity
Connection: keep-alive
Content-Length: 4
Content-Type: text/html
Host: 54.37.190.249:8080
User-Agent: python-requests/2.18.4
null
2019-03-14 13:53:55,307:DEBUG:[serializers:237] None: reading /usr/share/ztpserver/nodes/500500938107/startup-config...
178.32.46.58 - - [14/Mar/2019 13:53:55] "GET /nodes/500500938107/startup-config HTTP/1.1" 200 145
178.32.46.58 - - [14/Mar/2019 13:53:55] "GET /meta/nodes/500500938107/startup-config HTTP/1.1" 200 65
canlı sex hattı
ReplyDeleteheets
https://cfimi.com/
salt likit
salt likit
8NHD
milas
ReplyDeleteartvin
eyüpsultan
adıyaman
bingöl
RGN2L