|
system {
|
|
host-name snapshot-ipv4-dhcp-el7;
|
|
time-zone Etc/UTC;
|
|
root-authentication {
|
|
encrypted-password "$1$rtd8Ub7R$5Ohzuy8WXlkaK9cA2T1wb0"; ## SECRET-DATA
|
|
}
|
|
name-server {
|
|
192.168.42.2;
|
|
192.168.42.3;
|
|
}
|
|
ntp {
|
|
boot-server 0.pool.ntp.org;
|
|
server 0.pool.ntp.org;
|
|
}
|
|
login {
|
|
message "This device was provisioned by using The Foreman!\nSee http://theforeman.org/ for further information.\n";
|
|
class automation {
|
|
permissions all;
|
|
}
|
|
user puppet {
|
|
uid 2001;
|
|
class automation;
|
|
authentication {
|
|
encrypted-password "$1$rtd8Ub7R$5Ohzuy8WXlkaK9cA2T1wb0"; ## SECRET-DATA
|
|
}
|
|
shell csh;
|
|
}
|
|
}
|
|
services {
|
|
ssh {
|
|
protocol-version v2;
|
|
}
|
|
netconf {
|
|
ssh;
|
|
}
|
|
}
|
|
syslog {
|
|
user * {
|
|
any emergency;
|
|
}
|
|
file messages {
|
|
any notice;
|
|
authorization info;
|
|
}
|
|
file interactive-commands {
|
|
interactive-commands any;
|
|
}
|
|
}
|
|
ntp {
|
|
boot-server 0.pool.ntp.org;
|
|
server 0.pool.ntp.org;
|
|
server 1.pool.ntp.org;
|
|
}
|
|
extensions {
|
|
providers {
|
|
juniper {
|
|
license-type juniper deployment-scope commercial;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
chassis {
|
|
alarm {
|
|
management-ethernet {
|
|
link-down ignore;
|
|
}
|
|
}
|
|
}
|
|
interfaces {
|
|
interface-range ACCESS-PORT {
|
|
member ge-0/0/0;
|
|
unit 0 {
|
|
family ethernet-switching {
|
|
port-mode access;
|
|
}
|
|
}
|
|
}
|
|
interface-range UPLINK-PORT {
|
|
member ge-0/0/47;
|
|
unit 0 {
|
|
family ethernet-switching {
|
|
port-mode trunk;
|
|
vlan {
|
|
members all;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
vlan {
|
|
unit 37 {
|
|
family inet;
|
|
}
|
|
}
|
|
vme {
|
|
unit 0 {
|
|
family inet {
|
|
dhcp;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
protocols {
|
|
igmp-snooping {
|
|
vlan all;
|
|
}
|
|
rstp;
|
|
lldp {
|
|
interface all;
|
|
}
|
|
lldp-med {
|
|
interface all;
|
|
}
|
|
}
|
|
ethernet-switching-options {
|
|
storm-control {
|
|
interface all;
|
|
}
|
|
bpdu-block {
|
|
interface ACCESS-PORT;
|
|
disable-timeout 120;
|
|
}
|
|
}
|
|
vlans {
|
|
testlan {
|
|
vlan-id 37;
|
|
l3-interface vlan.37;
|
|
}
|
|
}
|
|
groups {
|
|
fmztp {
|
|
apply-macro conf {
|
|
package jinstall-ex-4200-7R0-domestic-signed.tgz;
|
|
puppet jpuppet-ex-1.0R1.1.tgz;
|
|
}
|
|
}
|
|
}
|