Last active
May 16, 2019 19:14
-
-
Save achrstl/bdbc902ceaa0618fe9e8736866e3c023 to your computer and use it in GitHub Desktop.
ex conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version 14.1X53-D46.7; | |
groups { | |
ospf-10G { | |
protocols { | |
ospf { | |
area <*> { | |
interface <*> { | |
interface-type p2p; | |
metric 10000; | |
} | |
} | |
} | |
} | |
} | |
access-XXX { | |
interfaces { | |
<*> { | |
description "Layer2: XXX - Access Vlan 203"; | |
unit 0 { | |
family ethernet-switching { | |
interface-mode access; | |
vlan { | |
members v203; | |
} | |
} | |
} | |
} | |
} | |
} | |
trunk-XXX { | |
interfaces { | |
<*> { | |
description "Layer2: XXX - Trunk - "; | |
native-vlan-id 203; | |
unit 0 { | |
family ethernet-switching { | |
interface-mode trunk; | |
vlan { | |
members [ v102 v203 ]; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
system { | |
host-name XXX; | |
domain-name XXX; | |
domain-search XXX; | |
time-zone UTC; | |
location country-code XXX; | |
ports { | |
console log-out-on-disconnect; | |
} | |
root-authentication { | |
encrypted-password "XXXX"; ## SECRET-DATA | |
} | |
name-server { | |
8.8.8.8; | |
1.1.1.1; | |
} | |
login { | |
message "XXXX"; | |
retry-options { | |
tries-before-disconnect 3; | |
backoff-threshold 3; | |
backoff-factor 5; | |
maximum-time 20; | |
} | |
class backup { | |
permissions [ secret view view-configuration ]; | |
} | |
user admin { | |
uid 2001; | |
class super-user; | |
authentication { | |
encrypted-password "XXXX"; ## SECRET-DATA | |
} | |
} | |
} | |
services { | |
ssh { | |
authentication-order password; | |
root-login deny; | |
protocol-version v2; | |
connection-limit 5; | |
rate-limit 10; | |
} | |
netconf { | |
ssh; | |
} | |
} | |
syslog { | |
archive size 10m files 10 world-readable; | |
user * { | |
any emergency; | |
} | |
host XXX { | |
any warning; | |
authorization notice; | |
firewall any; | |
interactive-commands any; | |
port 514; | |
structured-data; | |
} | |
file * { | |
user emergency; | |
} | |
file messages { | |
any any; | |
authorization none; | |
firewall none; | |
change-log notice; | |
interactive-commands none; | |
match "!(Virtual Chassis Fabric usage requires a license|Receive FX craftd set alarm message|color: 2 class: 50 object: 50 slot: 126 id=0 reason=168|.* downward spike received from pfe for ibytes_reply*)"; | |
archive size 1m files 10; | |
explicit-priority; | |
} | |
file interactive-commands { | |
interactive-commands any; | |
} | |
file updown { | |
any info; | |
match "LINK_DOWN|LINK_UP"; | |
} | |
file interfaces { | |
any info; | |
daemon info; | |
match .*SNMP_TRAP_LINK.*; | |
archive size 1m files 10; | |
explicit-priority; | |
} | |
file security { | |
authorization info; | |
interactive-commands info; | |
explicit-priority; | |
} | |
file default-log-messages { | |
any any; | |
structured-data; | |
} | |
file filter { | |
firewall any; | |
explicit-priority; | |
} | |
file commands { | |
interactive-commands info; | |
explicit-priority; | |
} | |
file console { | |
any critical; | |
authorization info; | |
} | |
console { | |
authorization info; | |
} | |
time-format year millisecond; | |
} | |
commit synchronize; | |
ntp { | |
server XXX prefer; | |
server XXX; | |
} | |
} | |
chassis { | |
aggregated-devices { | |
ethernet { | |
device-count 4; | |
} | |
} | |
} | |
interfaces { | |
interface-range XXX-layer2 { | |
member-range ge-0/0/2 to ge-0/0/31; | |
member-range ge-1/0/2 to ge-1/0/31; | |
apply-groups access-XXX; | |
} | |
ge-0/0/0 { | |
apply-groups trunk-XXX; | |
} | |
ge-0/0/1 { | |
apply-groups trunk-XXX; | |
} | |
ge-0/0/8 { | |
disable; | |
} | |
ge-0/0/9 { | |
disable; | |
} | |
ge-0/0/18 { | |
disable; | |
} | |
ge-0/0/19 { | |
disable; | |
} | |
ge-0/0/23 { | |
description "XXX"; | |
} | |
ge-0/0/28 { | |
apply-groups trunk-XXX; | |
} | |
ge-0/0/29 { | |
apply-groups trunk-XXX; | |
} | |
ge-0/0/30 { | |
apply-groups trunk-XXX; | |
} | |
xe-0/0/32 { | |
description "To XXX"; | |
ether-options { | |
802.3ad ae0; | |
} | |
} | |
ge-1/0/0 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/1 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/2 { | |
apply-groups trunk-XXX; | |
disable; | |
} | |
ge-1/0/3 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/4 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/5 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/6 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/7 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/8 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/9 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/10 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/11 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/12 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/13 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/14 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/15 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/16 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/17 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/18 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/19 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/20 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/21 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/22 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/23 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/24 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/25 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/26 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/27 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/28 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/29 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/30 { | |
apply-groups trunk-XXX; | |
} | |
ge-1/0/31 { | |
apply-groups trunk-XXX; | |
} | |
xe-1/0/32 { | |
description "To XXX"; | |
ether-options { | |
802.3ad ae0; | |
} | |
} | |
ae0 { | |
description "To XXX"; | |
aggregated-ether-options { | |
lacp { | |
active; | |
periodic fast; | |
} | |
} | |
unit 0 { | |
family inet { | |
address 172.X.X.X/31; | |
} | |
} | |
} | |
irb { | |
unit 102 { | |
family inet { | |
address 172.X.X.254/23; | |
} | |
} | |
unit 203 { | |
family inet { | |
address 172.X.X.254/21; | |
} | |
} | |
} | |
lo0 { | |
unit 0 { | |
family inet { | |
address 172.X.X.251/32; | |
} | |
} | |
} | |
} | |
snmp { | |
location "XXX, XXX, XX"; | |
community XXX { | |
authorization read-only; | |
} | |
} | |
forwarding-options { | |
dhcp-relay { | |
server-group { | |
XXX { | |
X.0.0.X; | |
172.X.X.X; | |
} | |
} | |
active-server-group XX; | |
group PXE { | |
route-suppression { | |
access-internal; | |
} | |
interface irb.102; | |
interface irb.203; | |
} | |
} | |
} | |
protocols { | |
ospf { | |
traceoptions { | |
file ospf.log size 1m files 5; | |
flag error send receive detail; | |
inactive: flag packets detail; | |
} | |
area 0.0.0.0 { | |
interface ae0.0 { | |
apply-groups ospf-10G; | |
} | |
interface ae1.0 { | |
apply-groups ospf-10G; | |
} | |
interface lo0.0 { | |
passive; | |
} | |
interface irb.203 { | |
passive; | |
} | |
interface irb.102 { | |
passive; | |
} | |
} | |
} | |
l2-learning { | |
global-mac-table-aging-time 600; | |
} | |
lldp { | |
interface all; | |
} | |
layer2-control { | |
bpdu-block { | |
interface xe-0/0/32; | |
interface xe-1/0/32; | |
} | |
} | |
mstp { | |
configuration-name ADMIN; | |
revision-level 2; | |
bridge-priority 4k; | |
interface ge-0/0/0 { | |
mode point-to-point; | |
} | |
interface ge-0/0/1 { | |
mode point-to-point; | |
} | |
interface XXX-layer2 { | |
mode point-to-point; | |
edge; | |
} | |
} | |
} | |
virtual-chassis { | |
preprovisioned; | |
no-split-detection; | |
member 0 { | |
role routing-engine; | |
serial-number XXX; | |
} | |
member 1 { | |
role routing-engine; | |
serial-number XXX; | |
} | |
} | |
vlans { | |
v102 { | |
description "XXX"; | |
vlan-id 102; | |
l3-interface irb.102; | |
} | |
v203 { | |
vlan-id 203; | |
l3-interface irb.203; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment