Repository URL to install this package:
|
Version:
0.62.2 ▾
|
!
hostname {{ .ShortName }}
!
username clab
group root-lr
group cisco-support
secret clab@123
!
grpc
{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
port 9339
no-tls
address-family dual
!
{{- if .Env.CLAB_MGMT_VRF }}
vrf {{ .Env.CLAB_MGMT_VRF }}
address-family ipv4 unicast
!
address-family ipv6 unicast
!
{{- end}}
!
line default
transport input ssh
!
netconf-yang agent
ssh
!
interface MgmtEth0/RP0/CPU0/0
{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
!
interface GigabitEthernet0/0/0/0
ipv4 address 192.168.0.1 255.255.255.254
!
router static
{{ 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 }}
!
{{- end}}
{{- if .MgmtIPv6Gateway }}
address-family ipv6 unicast
::/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv6Gateway }}
!
{{- end}}
!
ssh server v2
{{- if .Env.CLAB_MGMT_VRF }}
ssh server vrf {{ .Env.CLAB_MGMT_VRF }}
{{- end}}
ssh server netconf {{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
end