40.Introduction to Golden Config
Nikos Kallergis
63 steps
9 minutes
1
Navigate to [http://localhost:8080/](http://localhost:8080/)
2
Click "Jobs"
3
Click "Jobs"
4
Let's backup the running configuration from our devices
5
Click on location to filter down the target devices
6
Select "Prague → wsd2"
7
Click "Run Job Now"
8
Copy the link to the backup git repository
9
In a new tab, navigate to the copied link
10
Click "gc_backups"
11
Configurations have been stored here
12
Back to the Nautobot tab, click "Jobs"
13
Now let's generate the intended configurations for our devices
14
Click the "Location" field
15
Select "Prague → wsd2"
16
Click "Run Job Now"
17
Copy the URL of the intended git repository
18
In a new tab, navigate to the copied link
19
Click "gc_intended"
20
Intended configurations have been stored here
21
Back to the Nautobot tab, click "Jobs" once again
22
This time, we'll be performing Configuration Compliance. In other words, we'll compare the running (backed up) and the intended configuration to see if they match or if they differ...
23
Click the "Location" field.
24
Select "Prague → wsd2"
25
Click "Run Job Now"
26
To see the results, click "Golden Config"
27
Click "Config Compliance"
28
The results are presented in this matrix
29
To get a more detailed view, click on one of the devices
30
You're taken to the device compliance view where you can see specific information for the device, split by compliance feature. Once happy, click on the "Device" tab
31
On the right side of the page, locate the "Configuration Types" panel. Here you may find links to the device's backup, intended, compliance, and aggregated data.
32
Click on the "Actual" icon to see the running configuration of the device
33
You're presented with the running configuration of the device that we backed up a few steps before. But wait! This device doesn't have a banner configured!
34
To fix this, click "Config Plans"
35
Click "Add Config Plan"
36
Select the "Manual" option.
37
In the "Commands" field, type the configuration to create a banner
38
Click the "Location" field.
39
Select "Prague → wsd2"
40
Click "Generate"
41
Four plans were generated, one per device in scope
42
Click "Close"
43
Click "Config Plans"
44
Click this checkbox to select all four plans
45
Click "Edit Selected"
46
Click "Status"
47
Select "Approved"
48
Click "Apply"
49
Click "Config Plans"
50
Click this checkbox.
51
Click "Deploy Selected"
52
Click "Close"
53
Click "Config Plans"
54
Since the plans have been successfully deployed, the list is now empty
55
Let's take another backup to check what's going on with the devices. Click "Jobs"
56
Click here.
57
Click the "Location" field.
58
Select "Prague → wsd2"
59
Click "Run Job Now"
60
In the Job Results, click on one of the devices
61
In the device detailed view, locate the "Configuration Types" panel, and click on the "Actual" icon to see the freshly backed up configuration
62
If you scroll a bit, you may see that the banner commands have been successfully applied to the device configuration!
63
Golden Config documentation may be found at <https://docs.nautobot.com/projects/golden-config>
40.Introduction to Golden Config
Nikos Kallergis
63 steps
9 minutes
1
Navigate to [http://localhost:8080/](http://localhost:8080/)
2
Click "Jobs"
3
Click "Jobs"
4
Let's backup the running configuration from our devices
5
Click on location to filter down the target devices
6
Select "Prague → wsd2"
7
Click "Run Job Now"
8
Copy the link to the backup git repository
9
In a new tab, navigate to the copied link
10
Click "gc_backups"
11
Configurations have been stored here
12
Back to the Nautobot tab, click "Jobs"
13
Now let's generate the intended configurations for our devices
14
Click the "Location" field
15
Select "Prague → wsd2"
16
Click "Run Job Now"
17
Copy the URL of the intended git repository
18
In a new tab, navigate to the copied link
19
Click "gc_intended"
20
Intended configurations have been stored here
21
Back to the Nautobot tab, click "Jobs" once again
22
This time, we'll be performing Configuration Compliance. In other words, we'll compare the running (backed up) and the intended configuration to see if they match or if they differ...
23
Click the "Location" field.
24
Select "Prague → wsd2"
25
Click "Run Job Now"
26
To see the results, click "Golden Config"
27
Click "Config Compliance"
28
The results are presented in this matrix
29
To get a more detailed view, click on one of the devices
30
You're taken to the device compliance view where you can see specific information for the device, split by compliance feature. Once happy, click on the "Device" tab
31
On the right side of the page, locate the "Configuration Types" panel. Here you may find links to the device's backup, intended, compliance, and aggregated data.
32
Click on the "Actual" icon to see the running configuration of the device
33
You're presented with the running configuration of the device that we backed up a few steps before. But wait! This device doesn't have a banner configured!
34
To fix this, click "Config Plans"
35
Click "Add Config Plan"
36
Select the "Manual" option.
37
In the "Commands" field, type the configuration to create a banner
38
Click the "Location" field.
39
Select "Prague → wsd2"
40
Click "Generate"
41
Four plans were generated, one per device in scope
42
Click "Close"
43
Click "Config Plans"
44
Click this checkbox to select all four plans
45
Click "Edit Selected"
46
Click "Status"
47
Select "Approved"
48
Click "Apply"
49
Click "Config Plans"
50
Click this checkbox.
51
Click "Deploy Selected"
52
Click "Close"
53
Click "Config Plans"
54
Since the plans have been successfully deployed, the list is now empty
55
Let's take another backup to check what's going on with the devices. Click "Jobs"
56
Click here.
57
Click the "Location" field.
58
Select "Prague → wsd2"
59
Click "Run Job Now"
60
In the Job Results, click on one of the devices
61
In the device detailed view, locate the "Configuration Types" panel, and click on the "Actual" icon to see the freshly backed up configuration
62
If you scroll a bit, you may see that the banner commands have been successfully applied to the device configuration!
63
Golden Config documentation may be found at <https://docs.nautobot.com/projects/golden-config>