Zero Touch Deployment on ECS4100 series

Steven_zhangCreated at:Dec 11, 2019 11:25:47Updated at:Dec 11, 2019 11:25:51

When the switch boots with a factory default configuration, it supports automatically obtain IP address and configuration file from remote server.

Once the switch installs the new configuration, it could automatically upgrade the current operational code when a new version is detected on the server.

 

Topology:

mceclip2.png

 

Procedure:

Step 1: 

Prepare a DHCP Server and TFTP Server, and connect it to the ECS4100-12T.

 

Step 2:

Prepare ECS4100-12T’s configuration and the newer firmware.

ECS4100-12T’s configuration:

Enable Automatic Code Upgrade function, and configure the IP address or other needed functions.

Console(config)#upgrade opcode auto

Console(config)#upgrade opcode reload

Console(config)#upgrade opcode path tftp://192.168.1.2/

Console(config)#interface vlan 1

Console(config-if)#ip address 192.168.1.1/24

 

Step 3:

Save the configuration(Copy running-config) to remote device for more modification, then put the used configuration to the Server.

Console#copy running-config tftp

TFTP server IP address: 192.168.1.2

Destination file name: test.cfg

Success.

Console#

 

Step 4:

Modify the firmware name to “ECS4100-series.bix”.

Please note that the name for the new image stored on the TFTP server must be ECS4100-series.bix.

mceclip3.png

 

Step 5:

Configure the setting on DHCP Server.

Must be enabled option 66/67 on DHCP Server.

mceclip4.png

 

Step 6:

Boot ECS4100-12T with factory default configuration.

Console# configure

Console(config)# boot system config:Factory_Default_config.cfg

Console(config)# exit

Console# reload

 

Step 7:

Enable DHCP Dynamic Provision.

Console(config)#ip dhcp dynamic-provision

mceclip7.png

 

Step 8:

ECS4100-12T get the IP address from DHCP Server.

mceclip8.png

Capture the DHCP packets which include option66/67.

mceclip9.png

mceclip10.png

 

After ECS4100-12T installs the new configuration, it starts to look for a new image.

Then ECS4100-12T automatically upgrades the current operational code when a new version is detected on the server.

mceclip11.png