Skip to content

Commit

Permalink
Add missing policy statement + disable netconf/yang
Browse files Browse the repository at this point in the history
  • Loading branch information
sbyrnes committed Jan 30, 2025
1 parent d87c216 commit 8669ea1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal-lab-setup-assets/startup-config/cisco1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ xml agent tty
iteration off
!
ssh server v2
ssh server netconf vrf default
! ssh server netconf vrf default
end
9 changes: 6 additions & 3 deletions internal-lab-setup-assets/startup-config/cisco2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ call-home
destination transport-method http
!
!
netconf-yang agent
ssh
! netconf-yang agent
! ssh
!
cdp
lldp
Expand Down Expand Up @@ -56,6 +56,9 @@ interface GigabitEthernet0/0/0/2.100
ipv4 helper-address vrf default 10.2.3.4
ip address 10.2.0.1 255.255.255.0
!
route-policy PERMIT_ALL
pass
!
router static
address-family ipv4 unicast
0.0.0.0/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv4Gateway }}
Expand Down Expand Up @@ -89,5 +92,5 @@ xml agent tty
iteration off
!
ssh server v2
ssh server netconf vrf default
! ssh server netconf vrf default
end
9 changes: 6 additions & 3 deletions internal-lab-setup-assets/startup-config/cisco3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ call-home
destination transport-method http
!
!
netconf-yang agent
ssh
! netconf-yang agent
! ssh
!
cdp
lldp
Expand All @@ -46,6 +46,9 @@ interface GigabitEthernet0/0/0/2.100
ipv4 helper-address vrf default 10.2.3.4
ip address 10.3.0.1 255.255.255.0
!
route-policy PERMIT_ALL
pass
!
router static
address-family ipv4 unicast
0.0.0.0/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv4Gateway }}
Expand Down Expand Up @@ -79,5 +82,5 @@ xml agent tty
iteration off
!
ssh server v2
ssh server netconf vrf default
! ssh server netconf vrf default
end

0 comments on commit 8669ea1

Please sign in to comment.