Skip to content

Commit

Permalink
Update NTC lab
Browse files Browse the repository at this point in the history
  • Loading branch information
knewell committed Sep 28, 2018
1 parent e866c82 commit 165eb0e
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core_config/ansible-csr1-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,21 @@ interface GigabitEthernet4
no shutdown
ip address 172.10.12.1 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet3
no shutdown
ip address 172.10.14.1 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet2
no shutdown
ip address 172.10.13.1 255.255.255.0
negotiation auto
mpls ip
!
!
!
Expand Down Expand Up @@ -116,6 +119,8 @@ router bgp 65000
exit-address-family
!
!
mpls label protocol ldp
!
virtual-service csr_mgmt
!
ip forward-protocol nd
Expand Down
5 changes: 5 additions & 0 deletions core_config/ansible-csr2-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,21 @@ interface GigabitEthernet4
no shutdown
ip address 172.10.12.2 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet3
no shutdown
ip address 172.10.23.2 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet2
no shutdown
ip address 172.10.25.2 255.255.255.0
negotiation auto
mpls ip
!
!
!
Expand All @@ -90,6 +93,8 @@ router bgp 65000
exit-address-family
!
!
mpls label protocol ldp
!
virtual-service csr_mgmt
!
ip forward-protocol nd
Expand Down
4 changes: 4 additions & 0 deletions core_config/ansible-csr3-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@ interface GigabitEthernet3
no shutdown
ip address 172.10.23.3 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet2
no shutdown
ip address 172.10.13.3 255.255.255.0
negotiation auto
mpls ip
!
!
!
Expand All @@ -83,6 +85,8 @@ router bgp 65000
exit-address-family
!
!
mpls label protocol ldp
!
virtual-service csr_mgmt
!
ip forward-protocol nd
Expand Down
5 changes: 5 additions & 0 deletions core_config/ansible-csr4-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,21 @@ interface GigabitEthernet4
no shutdown
ip address 172.10.45.4 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet3
no shutdown
ip address 172.10.14.4 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet2
no shutdown
ip address 172.10.46.4 255.255.255.0
negotiation auto
mpls ip
!
!
!
Expand All @@ -90,6 +93,8 @@ router bgp 65000
exit-address-family
!
!
mpls label protocol ldp
!
virtual-service csr_mgmt
!
ip forward-protocol nd
Expand Down
5 changes: 5 additions & 0 deletions core_config/ansible-csr5-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,21 @@ interface GigabitEthernet4
no shutdown
ip address 172.10.45.5 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet3
no shutdown
ip address 172.10.56.5 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet2
no shutdown
ip address 172.10.25.5 255.255.255.0
negotiation auto
mpls ip
!
!
!
Expand All @@ -90,6 +93,8 @@ router bgp 65000
exit-address-family
!
!
mpls label protocol ldp
!
virtual-service csr_mgmt
!
ip forward-protocol nd
Expand Down
4 changes: 4 additions & 0 deletions core_config/ansible-csr6-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@ interface GigabitEthernet3
no shutdown
ip address 172.10.56.6 255.255.255.0
negotiation auto
mpls ip
!
!
interface GigabitEthernet2
no shutdown
ip address 172.10.46.6 255.255.255.0
negotiation auto
mpls ip
!
!
!
Expand All @@ -83,6 +85,8 @@ router bgp 65000
exit-address-family
!
!
mpls label protocol ldp
!
virtual-service csr_mgmt
!
ip forward-protocol nd
Expand Down
5 changes: 5 additions & 0 deletions ios/core.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ interface {{intf.split('.')[0]}}
ip address {{intf_attr.ip}} {{intf_attr.mask|default('255.255.255.0')}}
negotiation auto
{% endif %}
{% if intf_attr.mpls is defined %}
mpls ip
{% endif %}
!
{% if intf_attr.vlan is defined and intf_attr.vlan != 0 %}
interface {{intf}}
Expand Down Expand Up @@ -106,6 +109,8 @@ router bgp {{common.bgp_asn}}
{% endif %}
!
!
mpls label protocol ldp
!
virtual-service csr_mgmt
!
ip forward-protocol nd
Expand Down

0 comments on commit 165eb0e

Please sign in to comment.