aboutsummaryrefslogtreecommitdiffstats
path: root/junos-bootstrap/httpd/ex2200.template
blob: b786f64e27b974e2bee1c2d13e32581d748da5b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
system {
    host-name $hostname;
    root-authentication {
        encrypted-password "$1$oQTnGCDI$UZpSpT5z7uHhFvniCzY5w/"; ## SECRET-DATA
    }
}
chassis {
    aggregated-devices {
        ethernet {
            device-count 1;
        }
    }
}
interfaces {
    ge-0/0/0 {
        description ae0;
        ether-options {
            802.3ad ae0;
        }
    }
    ge-0/0/1 {                          
        description ae0;
        ether-options {
            802.3ad ae0;
        }
    }
    ge-0/0/2 {
        description ae0;
        ether-options {
            802.3ad ae0;
        }
    }
    ae0 {
        description "Aggregation towards $distro_name $distro_phy_port";
        aggregated-ether-options {      
            minimum-links 2;
            lacp {
                active;
            }
        }
        unit 0 {
            family ethernet-switching {
                port-mode trunk;
                vlan {
                    members [ deltagere mgmt ];
                }
            }
        }
    }                                 
    vlan {
        unit $mgmt_vlan {
            description "Management L3 interface";
            family inet {
                address $mgmt_addr/$mgmt_cidr;
            }
        }
    }
}
vlans {
    deltagere {
        vlan-id 200;
    }
    mgmt {
        vlan-id $mgmt_vlan;
        l3-interface vlan.$mgmt_vlan;
    }
}

routing-options {
    static {
        route 0.0.0.0/0 next-hop $mgmt_gw;
    }
}