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

## RSTP

{% tabs %}
{% tab title="Sun" %}

```
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;
    }
}
```

{% endtab %}

{% tab title="Earth" %}

```
system {
    host-name Earth;
    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;
                }
            }
        }
    }
    xe-0/0/2 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 100;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mvrp {
        interface xe-0/0/0;
        interface xe-0/0/1;
    }
    rstp {
        bridge-priority 12k;
        interface xe-0/0/0;
        interface xe-0/0/1;
    }
}
vlans {
    mgmt {
        description native;
        vlan-id 4000;
    }
}
```

{% endtab %}

{% tab title="Saturn" %}

```
system {
    host-name Saturn;
    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;
                }
            }
        }
    }
    xe-0/0/2 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 100;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mvrp {
        interface xe-0/0/0;
        interface xe-0/0/1;
    }
    rstp {
        bridge-priority 8k;
        interface xe-0/0/0;
        interface xe-0/0/1;
    }
}
vlans {
    mgmt {
        description native;
        vlan-id 4000;
    }
}
```

{% endtab %}

{% tab title="Jupiter" %}

```
system {
    host-name Jupiter;
    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;
        interface xe-0/0/1;
    }
    rstp {
        bridge-priority 8k;
        interface xe-0/0/0;
        interface xe-0/0/1;
    }
}
vlans {
    mgmt {
        description native;
        vlan-id 4000;
    }
}
```

{% endtab %}
{% endtabs %}

## VSTP

{% tabs %}
{% tab title="Sun" %}

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

{% endtab %}

{% tab title="Earth" %}

```
system {
    host-name Earth;
    root-authentication {
        encrypted-password "$6$dtWw6f9v$.pxa66SoxZzbpeZ5kPmMHFmE6MYb4nO9FPMPm9k5MUdf.W2qCTiWeTBU3xZ8fbJZ9mj7ZL7mF1X1CVqUl2iFx."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }
    xe-0/0/1 {
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }
    xe-0/0/2 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 100;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    vstp {
        bpdu-block-on-edge;
        vlan 100 {
            bridge-priority 0;
        }
        vlan 200 {
            bridge-priority 0;
        }
        vlan all {
            interface xe-0/0/2 {
                edge;
            }
            interface all;
        }
    }
}
vlans {
    v100 {
        vlan-id 100;
    }
    v200 {
        vlan-id 200;
    }
    v300 {
        vlan-id 300;
    }
    v400 {
        vlan-id 400;
    }
    v500 {
        vlan-id 500;
    }
    v600 {
        vlan-id 600;
    }
}
```

{% endtab %}

{% tab title="Saturn" %}

```
system {
    host-name Saturn;
    root-authentication {
        encrypted-password "$6$dtWw6f9v$.pxa66SoxZzbpeZ5kPmMHFmE6MYb4nO9FPMPm9k5MUdf.W2qCTiWeTBU3xZ8fbJZ9mj7ZL7mF1X1CVqUl2iFx."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }
    xe-0/0/1 {
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }
    xe-0/0/2 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 100;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    vstp {
        bpdu-block-on-edge;
        vlan 100 {
            bridge-priority 0;
        }
        vlan 200 {
            bridge-priority 0;
        }
        vlan 300 {
            bridge-priority 0;
        }
        vlan 400 {
            bridge-priority 0;
        }
        vlan all {
            interface xe-0/0/2 {
                edge;
            }
            interface all;
        }
    }
}
vlans {
    v100 {
        vlan-id 100;
    }
    v200 {
        vlan-id 200;
    }
    v300 {
        vlan-id 300;
    }
    v400 {
        vlan-id 400;
    }
    v500 {
        vlan-id 500;
    }
    v600 {
        vlan-id 600;
    }
}
```

{% endtab %}

{% tab title="Jupiter" %}

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

{% endtab %}
{% endtabs %}

## MSTP

{% tabs %}
{% tab title="Mercury" %}

```
system {
    host-name Mercury;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    xe-0/0/1 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    xe-0/0/2 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 10;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-1;
        revision-level 1;
        interface all;
        msti 1 {
            vlan 1-500;
        }
        msti 2 {
            vlan 501-1000;
        }
        msti 3 {
            bridge-priority 0;
            vlan 1001-1700;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}

{% tab title="Venus" %}

```
system {
    host-name Venus;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    xe-0/0/1 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-1;
        revision-level 1;
        interface all;
        msti 1 {
            bridge-priority 0;
            vlan 1-500;
        }
        msti 2 {
            vlan 501-1000;
        }
        msti 3 {
            vlan 1001-1700;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}

{% tab title="Earth" %}

```
system {
    host-name Earth;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    xe-0/0/1 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    xe-0/0/2 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 1500;
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-1;
        revision-level 1;
        interface all;
        msti 1 {
            vlan 1-500;
        }
        msti 2 {
            vlan 501-1000;
        }
        msti 3 {
            vlan 1001-1700;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}

{% tab title="Sun" %}

```
system {
    host-name Sun;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    xe-0/0/1 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    xe-0/0/3 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    xe-0/0/4 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-1;
        revision-level 1;
        interface all;
        msti 1 {
            vlan 1-500;
        }
        msti 2 {
            bridge-priority 0;
            vlan 501-1000;
        }
        msti 3 {
            vlan 1001-1700;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}

{% tab title="Mars" %}

```
system {
    host-name Mars;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/2 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/3 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-2;
        revision-level 2;
        interface all;
        msti 1 {
            vlan 1001-1400;
        }
        msti 2 {
            bridge-priority 0;
            vlan 1401-1700;
        }
        msti 3 {
            vlan 1701-2000;
        }
        msti 4 {
            vlan 1-1000;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v1710 {
        vlan-id 1710;
    }
    v1900 {
        vlan-id 1900;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}

{% tab title="Jupiter" %}

```
system {
    host-name Jupiter;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/2 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/4 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 4000 ];
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-2;
        revision-level 2;
        interface all;
        msti 1 {
            vlan 1001-1400;
        }
        msti 2 {
            vlan 1401-1700;
        }
        msti 3 {
            bridge-priority 0;
            vlan 1701-2000;
        }
        msti 4 {
            vlan 1-1000;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v1710 {
        vlan-id 1710;
    }
    v1900 {
        vlan-id 1900;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}

{% tab title="Uranus" %}

```
system {
    host-name Uranus;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/1 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 10;
                }
            }
        }
    }
    xe-0/0/2 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/3 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-2;
        revision-level 2;
        interface all;
        msti 1 {
            vlan 1001-1400;
        }
        msti 2 {
            vlan 1401-1700;
        }
        msti 3 {
            vlan 1701-2000;
        }
        msti 4 {
            bridge-priority 0;
            vlan 1-1000;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v1710 {
        vlan-id 1710;
    }
    v1900 {
        vlan-id 1900;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}

{% tab title="Saturn" %}

```
system {
    host-name Saturn;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/1 {
        unit 0 {
            family ethernet-switching {
                interface-mode access;
                vlan {
                    members 1500;
                }
            }
        }
    }
    xe-0/0/2 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/3 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-2;
        revision-level 2;
        interface all;
        msti 1 {
            vlan 1001-1400;
        }
        msti 2 {
            vlan 1401-1700;
        }
        msti 3 {
            vlan 1701-2000;
        }
        msti 4 {
            vlan 1-1000;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v1710 {
        vlan-id 1710;
    }
    v1900 {
        vlan-id 1900;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}

{% tab title="Neptune" %}

```
system {
    host-name Neptune;
    root-authentication {
        encrypted-password "$6$60a/FKxt$n8t.mv6n1f.ig/Onlpif4Zd3x2PXx3pnL2qnWvJ4iZO1UdYPn2F/zYVCZY6H41XMxCq9PxROJWdfw7xjAWKws."; ## SECRET-DATA
    }
}
interfaces {
    xe-0/0/0 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    xe-0/0/1 {
        native-vlan-id 4000;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ 10 110 510 610 1010 1200 1410 1500 1710 1900 4000 ];
                }
            }
        }
    }
    em1 {
        unit 0 {
            family inet {
                address 169.254.0.2/24;
            }
        }
    }
}
protocols {
    mstp {
        configuration-name Sun-System-2;
        revision-level 2;
        interface all;
        msti 1 {
            bridge-priority 0;
            vlan 1001-1400;
        }
        msti 2 {
            vlan 1401-1700;
        }
        msti 3 {
            vlan 1701-2000;
        }
        msti 4 {
            vlan 1-1000;
        }
    }
}
vlans {
    mgmt {
        vlan-id 4000;
    }
    v10 {
        vlan-id 10;
    }
    v1010 {
        vlan-id 1010;
    }
    v110 {
        vlan-id 110;
    }
    v1200 {
        vlan-id 1200;
    }
    v1410 {
        vlan-id 1410;
    }
    v1500 {
        vlan-id 1500;
    }
    v1710 {
        vlan-id 1710;
    }
    v1900 {
        vlan-id 1900;
    }
    v510 {
        vlan-id 510;
    }
    v610 {
        vlan-id 610;
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://netlabs.gitbook.io/juniper/6-stp-rstp-vstp-mstp/konfiguracii-ustroistv.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
