From 1043ab1285f701eef4e1a4a9d71e938fc4e96851 Mon Sep 17 00:00:00 2001 From: geseas Date: Wed, 19 Nov 2025 20:33:25 +0300 Subject: [PATCH] go --- R-DarkStore.md | 0 SW1-Darkstore.md | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ SW2-Darkstore.md | 32 ++++++++++++++++++ SW3-Darkstore.md | 0 4 files changed, 119 insertions(+) create mode 100644 R-DarkStore.md create mode 100644 SW1-Darkstore.md create mode 100644 SW2-Darkstore.md create mode 100644 SW3-Darkstore.md diff --git a/R-DarkStore.md b/R-DarkStore.md new file mode 100644 index 0000000..e69de29 diff --git a/SW1-Darkstore.md b/SW1-Darkstore.md new file mode 100644 index 0000000..decc2f9 --- /dev/null +++ b/SW1-Darkstore.md @@ -0,0 +1,87 @@ +enable +configure terminal + +! Включаем маршрутизацию ! +ip routing + +! Создаём VLAN +vlan 30 + name Logistics +vlan 40 + name Storage +vlan 60 + name DS-Servers + +! Настройка access-портов для пользователей +interface e0/2 + description PCL-3 - Logistics + switchport mode access + switchport access vlan 30 + no shutdown + +interface e0/3 + description PCL-4 - Logistics + switchport mode access + switchport access vlan 30 + no shutdown + +interface e1/0 + description PCS-3 - Storage + switchport mode access + switchport access vlan 40 + no shutdown + +interface e1/1 + description PCS-4 - Storage + switchport mode access + switchport access vlan 40 + no shutdown + +! Trunk-порты ! +interface e0/0 + description To R-Darkstore + switchport trunk encapsulation dot1q + switchport mode trunk + switchport trunk allowed vlan 30,40,60 + no shutdown + +interface e0/1 + description To SW2-Darkstore + switchport trunk encapsulation dot1q + switchport mode trunk + switchport trunk allowed vlan 30,40,60 + no shutdown + +interface e1/1 + description To SW3-Darkstore + switchport trunk encapsulation dot1q + switchport mode trunk + switchport trunk allowed vlan 30,40 + no shutdown + +end +write memory + + +// ! Результат ! +Switch#show interfaces trunk + +Port Mode Encapsulation Status Native vlan +Et0/0 on 802.1q trunking 1 +Et0/1 on 802.1q trunking 1 +Et1/1 on 802.1q trunking 1 + +Port Vlans allowed on trunk +Et0/0 30,40,60 +Et0/1 30,40,60 +Et1/1 30,40 + +Port Vlans allowed and active in management domain +Et0/0 30,40,60 +Et0/1 30,40,60 +Et1/1 30,40 + +Port Vlans in spanning tree forwarding state and not pruned +Et0/0 none +Et0/1 none +Et1/1 none \ No newline at end of file diff --git a/SW2-Darkstore.md b/SW2-Darkstore.md new file mode 100644 index 0000000..94798dc --- /dev/null +++ b/SW2-Darkstore.md @@ -0,0 +1,32 @@ +• enable +• configure terminal + +• vlan 30 +• name Logistics +• vlan 40 +• name Storage +• vlan 60 +• name DS-Servers + +• interface e0/1 +• description Portal - DS-Servers +• switchport mode access +• switchport access vlan 60 + +• interface e0/2 +• description FileServer - DS-Servers +• switchport mode access +• switchport access vlan 60 + +• interface e0/0 +• description To R-Darkstore +• switchport mode trunk +• switchport trunk allowed vlan 30,40,60 + +• interface e0/1 +• description To SW1-Darkstore +• switchport mode trunk +• switchport trunk allowed vlan 30,40,60 + +• end +• write diff --git a/SW3-Darkstore.md b/SW3-Darkstore.md new file mode 100644 index 0000000..e69de29