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

RSTP

system {
    host-name Sun;
    root-authentication {
        encrypted-password "$6$dtWw6f9v$.pxa66SoxZzbpeZ5kPmMHFmE6MYb4nO9FPMPm9k5MUdf.W2qCTiWeTBU3xZ8fbJZ9mj7ZL7mF1X1CVqUl2iFx."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }
    xe-0/0/1 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mvrp {
        interface xe-0/0/0 {
            registration restricted;
        }
        interface xe-0/0/1 {
            registration restricted;
        }
    }
    rstp {
        bridge-priority 0;
        interface xe-0/0/0;
        interface xe-0/0/1;
    }
}
vlans {
    mgmt {
        description native;
        vlan-id 4000;
    }
    v100 {
        vlan-id 100;
    }
    v200 {
        vlan-id 200;
    }
    v300 {
        vlan-id 300;
    }
    v400 {
        vlan-id 400;
    }
    v500 {
        vlan-id 500;
    }
    v600 {
        vlan-id 600;
    }
}

VSTP

MSTP

Last updated

Was this helpful?