Created
March 7, 2023 09:47
-
-
Save matisiekpl/13b1f69b607c57a19c98e36835c57b35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! task1 | |
conf t | |
int vlan1 | |
ip address 200.200.200.1 255.255.255.0 | |
no sh | |
! task2 | |
conf t | |
vlan 20 | |
exit | |
vlan 21 | |
exit | |
int fa0/1 | |
no sh | |
switchport mode access | |
switchport access vlan 20 | |
int fa0/2 | |
no sh | |
switchport mode access | |
switchport access vlan 20 | |
! task3 | |
conf t | |
int fa0/1 | |
no sh | |
switchport mode trunk | |
switchport trunk allowed vlan 1 - 100 | |
switchport trunk native vlan 20 | |
do show int trunk | |
do show int fa0/1 switchport | |
do show int fa0/1 status | |
! task4 | |
debug sw-vlan vtp events | |
conf t | |
int fa0/1 | |
switchport mode trunk | |
vtp domain mojadomena | |
vtp mode server ! vtp mode client na drugim switchu | |
do show vtp status | |
vlan 31 | |
exit | |
vlan 32 | |
exit | |
vlan 33 | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment