Midas/provisioning/templates/junos.j2

96 lines
2.0 KiB
Plaintext
Raw Normal View History

2023-07-01 23:57:08 +01:00
system {
host-name {{ hostname }};
root-authentication {
plain-text-password-value "Juniper1";
}
login {
user dom {
2023-07-01 23:57:08 +01:00
uid 2000;
class super-user;
authentication {
encrypted-password "$6$vg0s.ptw$tShmBUnm/0xDKeBKQ4C3oAY/GdbyI0XwOlqbqxq9oqFDbQgvzQt1dM.wBcIe./q9Z1gXwleMG4Xdctjxunhmq."; ## SECRET-DATA
2023-07-01 23:57:08 +01:00
}
}
user remote {
uid 2002;
class super-user;
}
2023-07-01 23:57:08 +01:00
}
services {
ssh {
root-login allow;
}
netconf {
ssh;
}
}
authentication-order radius;
radius-server {
192.168.0.247 secret "$9$/3mgAuBcyKxNbIENbs2GU/CtuIE"; ## SECRET-DATA
}
2023-07-01 23:57:08 +01:00
syslog {
archive size 100k files 3;
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
security {
forwarding-options {
family {
mpls {
mode packet-based;
}
}
}
}
interfaces {
ge-0/0/0 {
description "{{ hostname }} ge-0/0/0 <--> gigabitEthernet0 LAB-RELAY";
unit 0 {
family inet {
address 10.0.0.1/31;
}
}
}
ge-0/0/1 {
description "{{ hostname }} ge-0/0/1 <--> gigabitEthernet1 LAB-897VA";
unit 0 {
family inet {
address 10.0.0.4/31;
}
}
}
ge-0/0/2 {
description "{{ hostname }} ge-0/0/2 <--> gigabitEthernet2 LAB-897VA";
unit 0 {
family inet {
address 10.0.0.6/31;
}
}
}
lo0 {
unit 0 {
family inet {
address {{ loopback_ip }}/32;
}
}
}
}
protocols {
lldp {
interface all;
}
}
routing-options {
static {
route 192.168.0.0/24 next-hop 10.0.0.0;
}
2023-07-01 23:57:08 +01:00
}