Конфигурации устройств

Active-Standby

system {
    host-name CE1;
    root-authentication {
        encrypted-password "$6$EJGUsxd0$yp81.o/VmH/WKBmbVO5cYauNKq5L2nhLXcwAybkM2NgWBDc.4jeEOQU/ZHY4DawJobAlRSh00Z6E4/Wp3IXtd0"; ## SECRET-DATA
    }
}
chassis {
    aggregated-devices {
        ethernet {
            device-count 1;
        }
    }
}
interfaces {
    xe-0/0/0 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 10;
                }                       
            }
        }
    }
    xe-0/0/1 {
        gigether-options {
            802.3ad ae0;
        }
    }
    xe-0/0/2 {
        gigether-options {
            802.3ad ae0;
        }
    }
    ae0 {
        aggregated-ether-options {
            lacp {
                active;
                periodic fast;
            }
        }
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;   
                vlan {
                    members 10;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
vlans {
    v10 {
        vlan-id 10;
    }
}

Active-Active

system {
    host-name CE2;
    root-authentication {
        encrypted-password "$6$EJGUsxd0$yp81.o/VmH/WKBmbVO5cYauNKq5L2nhLXcwAybkM2NgWBDc.4jeEOQU/ZHY4DawJobAlRSh00Z6E4/Wp3IXtd0"; ## SECRET-DATA
    }
}
chassis {
    aggregated-devices {
        ethernet {
            device-count 1;
        }
    }
}
interfaces {
    xe-0/0/0 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 10;
                }                       
            }
        }
    }
    xe-0/0/1 {
        gigether-options {
            802.3ad ae0;
        }
    }
    xe-0/0/2 {
        gigether-options {
            802.3ad ae0;
        }
    }
    ae0 {
        aggregated-ether-options {
            lacp {
                active;
                periodic fast;
            }
        }
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;   
                vlan {
                    members 10;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
vlans {
    v10 {
        vlan-id 10;
    }
}

Router

Router
system {
    host-name Router;
    root-authentication {
        encrypted-password "$1$Q9Cd/oyO$Q0ZJz5hEqPB/NQyuIOwqb1"; ## SECRET-DATA
    }
}
interfaces {
    ge-0/0/0 {
        unit 0 {
            family bridge {
                interface-mode trunk;
                vlan-id-list 10;
            }
        }
    }
    ge-0/0/1 {
        unit 0 {
            family bridge {
                interface-mode trunk;
                vlan-id-list 10;
            }
        }                               
    }
    irb {
        unit 10 {
            family inet {
                address 8.8.8.1/24;
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 50.0.0.1/32;
            }
        }
    }
}
bridge-domains {
    v10 {
        vlan-id 10;
        routing-interface irb.10;
    }
}

Last updated