Обновить FINAL/S5.txt
parent
2c8db7e618
commit
dab3af54b3
26
FINAL/S5.txt
26
FINAL/S5.txt
|
@ -2,6 +2,18 @@ enable
|
|||
configure terminal
|
||||
hostname S5
|
||||
no ip domain-lookup
|
||||
vlan 30
|
||||
name VLAN_C
|
||||
vlan 40
|
||||
name VLAN_D
|
||||
interface Vlan30
|
||||
ip address 192.168.3.1 255.255.255.0
|
||||
ip helper-address 10.0.20.3
|
||||
no shut
|
||||
interface Vlan40
|
||||
ip address 192.168.4.1 255.255.255.0
|
||||
ip helper-address 10.0.20.3
|
||||
no shut
|
||||
interface vlan 1
|
||||
ip address 192.168.0.12 255.255.255.0
|
||||
no shutdown
|
||||
|
@ -11,8 +23,22 @@ int range g1/0-1
|
|||
switchport trunk encapsulation dot1q
|
||||
switchport mode trunk
|
||||
switchport trunk native vlan 1
|
||||
switchport trunk allowed vlan 1,30,40
|
||||
channel-group 1 mode passive
|
||||
no shut
|
||||
interface g0/0
|
||||
switchport mode access
|
||||
switchport access vlan 30
|
||||
no shutdown
|
||||
interface g0/1
|
||||
switchport mode access
|
||||
switchport access vlan 40
|
||||
no shutdown
|
||||
interface g0/2
|
||||
switchport trunk encapsulation dot1q
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 1,30,40
|
||||
no shutdown
|
||||
exit
|
||||
enable secret class
|
||||
line console 0
|
||||
|
|
Loading…
Reference in New Issue