diff --git a/internal-lab-setup-assets/startup-config/cisco1.conf b/internal-lab-setup-assets/startup-config/cisco1.conf index eaac678..2e349f2 100644 --- a/internal-lab-setup-assets/startup-config/cisco1.conf +++ b/internal-lab-setup-assets/startup-config/cisco1.conf @@ -27,7 +27,7 @@ cdp lldp ! interface MgmtEth0/RP0/CPU0/0 -{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}} +{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}} ! interface Loopback0 ip address 198.51.100.1 255.255.255.255 @@ -64,7 +64,7 @@ route-policy PERMIT_ALL end-policy ! router static -{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}} +{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}} {{- if .MgmtIPv4Gateway }} address-family ipv4 unicast 0.0.0.0/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv4Gateway }} @@ -75,6 +75,7 @@ router static ::/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv6Gateway }} ! {{- end}} +! router bgp 64500 bgp router-id 198.51.100.1 address-family ipv4 unicast diff --git a/internal-lab-setup-assets/startup-config/cisco2.conf b/internal-lab-setup-assets/startup-config/cisco2.conf index d7d6e12..10a07ae 100644 --- a/internal-lab-setup-assets/startup-config/cisco2.conf +++ b/internal-lab-setup-assets/startup-config/cisco2.conf @@ -27,7 +27,7 @@ cdp lldp ! interface MgmtEth0/RP0/CPU0/0 -{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}} +{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}} ! interface Loopback0 ip address 198.51.100.2 255.255.255.255 @@ -64,7 +64,7 @@ route-policy PERMIT_ALL end-policy ! router static -{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}} +{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}} {{- if .MgmtIPv4Gateway }} address-family ipv4 unicast 0.0.0.0/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv4Gateway }} diff --git a/internal-lab-setup-assets/startup-config/cisco3.conf b/internal-lab-setup-assets/startup-config/cisco3.conf index 26afbaa..5dd8ced 100644 --- a/internal-lab-setup-assets/startup-config/cisco3.conf +++ b/internal-lab-setup-assets/startup-config/cisco3.conf @@ -27,7 +27,7 @@ cdp lldp ! interface MgmtEth0/RP0/CPU0/0 -{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}} +{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}} ! interface Loopback0 ip address 198.51.100.3 255.255.255.255 @@ -54,7 +54,7 @@ route-policy PERMIT_ALL end-policy ! router static -{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}} +{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}} {{- if .MgmtIPv4Gateway }} address-family ipv4 unicast 0.0.0.0/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv4Gateway }}