cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1640
Views
5
Helpful
1
Replies

SF350-24 - Creating an editable configuration file for multiple Switch Deployment

TobiasS2019
Level 1
Level 1

Hey Cisco Community,

I am new in the Cisco World but have some experience with other enterprise switches.

My question is if it is possible to generate a txt file or another type of editable file as a base configuration with several parameters in it which can be directly edited in the file?

The plan is only to have several lines where you can change ip or vlan configuration for specific devices.

But the main config should be stay the same for every device.

 

Best practice would be an automatic deployment USB stick with the device-individual configuration file.

Otherwise an config import over the webinterface would also be possible.

 

Best regards

Tobias

1 Accepted Solution

Accepted Solutions

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Take a working configuration file and in a text editor replace all the variable values with keywords. such the a config could look like:

!
hostname {{HOSTNAME}}
!
int vlan10
  ip address {{VLAN_10_IP_AND_MASK}}
!

Then for each switch you are deploying do a simple find and replace on the keywords with the values you want for the switch you are provisioning.

 

Of course you can easily automate this. Google "python csv jinga" and you will find some excellent examples.

 

cheers,

Seb.

View solution in original post

1 Reply 1

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Take a working configuration file and in a text editor replace all the variable values with keywords. such the a config could look like:

!
hostname {{HOSTNAME}}
!
int vlan10
  ip address {{VLAN_10_IP_AND_MASK}}
!

Then for each switch you are deploying do a simple find and replace on the keywords with the values you want for the switch you are provisioning.

 

Of course you can easily automate this. Google "python csv jinga" and you will find some excellent examples.

 

cheers,

Seb.