go
This commit is contained in:
0
R-DarkStore.md
Normal file
0
R-DarkStore.md
Normal file
87
SW1-Darkstore.md
Normal file
87
SW1-Darkstore.md
Normal file
@@ -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
|
||||||
32
SW2-Darkstore.md
Normal file
32
SW2-Darkstore.md
Normal file
@@ -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
|
||||||
0
SW3-Darkstore.md
Normal file
0
SW3-Darkstore.md
Normal file
Reference in New Issue
Block a user