2023-07-01 23:57:08 +01:00
|
|
|
system {
|
|
|
|
host-name {{ hostname }};
|
|
|
|
root-authentication {
|
|
|
|
plain-text-password-value "Juniper1";
|
|
|
|
}
|
|
|
|
login {
|
2023-11-14 22:18:09 +00:00
|
|
|
user dom {
|
2023-07-01 23:57:08 +01:00
|
|
|
uid 2000;
|
|
|
|
class super-user;
|
|
|
|
authentication {
|
2023-11-14 22:18:09 +00:00
|
|
|
encrypted-password "$6$vg0s.ptw$tShmBUnm/0xDKeBKQ4C3oAY/GdbyI0XwOlqbqxq9oqFDbQgvzQt1dM.wBcIe./q9Z1gXwleMG4Xdctjxunhmq."; ## SECRET-DATA
|
2023-07-01 23:57:08 +01:00
|
|
|
}
|
|
|
|
}
|
2023-11-14 22:18:09 +00:00
|
|
|
user remote {
|
|
|
|
uid 2002;
|
|
|
|
class super-user;
|
|
|
|
}
|
2023-07-01 23:57:08 +01:00
|
|
|
}
|
|
|
|
services {
|
|
|
|
ssh {
|
|
|
|
root-login allow;
|
|
|
|
}
|
|
|
|
netconf {
|
|
|
|
ssh;
|
|
|
|
}
|
|
|
|
}
|
2023-11-14 22:18:09 +00:00
|
|
|
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 {
|
2023-09-09 02:34:01 +01:00
|
|
|
static {
|
2023-11-14 22:18:09 +00:00
|
|
|
route 192.168.0.0/24 next-hop 10.0.0.0;
|
2023-09-09 02:34:01 +01:00
|
|
|
}
|
2023-11-15 00:02:44 +00:00
|
|
|
}
|
|
|
|
v3 {
|
|
|
|
usm {
|
|
|
|
local-engine {
|
|
|
|
user snmp-user {
|
|
|
|
authentication-sha {
|
|
|
|
authentication-key "$9$qf5Fp0BSlKpudb2gJZp0O1RSM8X7Nbrl4aUjq.5QFnp0B1hSlKhcwYoaUD9At0RhM8X7NbXxUjiHmP0B1ISrWLxN-wLXDiHkPfRhcSKM8LNdVYIE-V"; ## SECRET-DATA
|
|
|
|
}
|
|
|
|
privacy-aes128 {
|
|
|
|
privacy-key "$9$i.mTCtuESrCA7-ws4oCtp0BEevWLX-cSYgJGiHmfTzCtu0IESrIRdb2gJZn/9tBIevWLX-W8JGUDkqtu0OEcKM8XxdMW"; ## SECRET-DATA
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
vacm {
|
|
|
|
security-to-group {
|
|
|
|
security-model usm {
|
|
|
|
security-name snmp-user {
|
|
|
|
group view-all;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
access {
|
|
|
|
group view-all {
|
|
|
|
default-context-prefix {
|
|
|
|
security-model usm {
|
|
|
|
security-level privacy {
|
|
|
|
read-view view-all;
|
|
|
|
notify-view view-all;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
view view-all {
|
|
|
|
oid .1 include;
|
|
|
|
}
|
|
|
|
trap-options;
|