Add notes on solving Lab 2
This commit is contained in:
parent
5bf1eead77
commit
16807e4e87
2 changed files with 59 additions and 2 deletions
BIN
Networks/Main.pkt
(Stored with Git LFS)
BIN
Networks/Main.pkt
(Stored with Git LFS)
Binary file not shown.
|
@ -17,3 +17,60 @@
|
|||
> - Set `SW2` to be spanning-tree root primary for VLAN 10 and root secondary for VLAN 20
|
||||
> - Set `SW3` to be spanning-tree root secondary for VLAN 20
|
||||
> - Configure static IP addresses for at least 3 computers per switch
|
||||
|
||||
|
||||
## Basic Configuration
|
||||
Run this configuration on each Switch replacing `{x}` with the switch number:
|
||||
|
||||
```sh
|
||||
enable
|
||||
configure terminal
|
||||
hostname SW{x}
|
||||
|
||||
interface range fastEthernet 0/1-10
|
||||
switchport mode access
|
||||
switchport access vlan 10
|
||||
|
||||
interface range fastEthernet 0/11-20
|
||||
switchport mode access
|
||||
switchport access vlan 20
|
||||
|
||||
interface range fastEthernet 0/1-20
|
||||
spanning-tree portfast
|
||||
|
||||
interface range fastEthernet 0/22-24
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 10,20
|
||||
spanning-tree portfast trunk
|
||||
|
||||
exit
|
||||
exit
|
||||
disable
|
||||
exit
|
||||
```
|
||||
|
||||
## Configuration of `SW2`
|
||||
```sh
|
||||
enable
|
||||
configure terminal
|
||||
spanning-tree vlan 10 root primary
|
||||
spanning-tree vlan 20 root secondary
|
||||
|
||||
exit
|
||||
exit
|
||||
disable
|
||||
exit
|
||||
```
|
||||
|
||||
## Configuration of `SW3`
|
||||
```sh
|
||||
enable
|
||||
configure terminal
|
||||
spanning-tree vlan 10 root secondary
|
||||
spanning-tree vlan 20 root primary
|
||||
|
||||
exit
|
||||
exit
|
||||
disable
|
||||
exit
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue