Вы находитесь на странице: 1из 7

UNIVERSITY OF THE EAST

CALOOCAN CITY
College of Engineering
Department of Computer Studies and Systems

STP ACTIVITIES

Name: Alda, Axel Nikko A.


Student Number: 20181173422
Subject and Section: CIT3201 – IT2F

Activity No. Score


STP ACT 1 88
STP ACT 2 87
SW1 : SW2 :
Switch>en Switch>en
Switch#conf t Switch#conf t
SW1(config-if)#ex Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#int fa0/2 Switch(config)#h SW2
SW1(config-if)#sw m t SW2(config)#int fa0/1
SW1(config-if)#ex SW2(config-if)#sw m t
SW1(config)#int fa0/3 SW2(config-if)#ex
SW1(config-if)#sw m a SW2(config)#int fa0/2
SW1(config-if)#ex SW2(config-if)#sw m t
SW1(config)#int fa0/4 SW2(config-if)#ex
SW1(config-if)#sw m a SW2(config)#int fa0/3
SW1(config-if)#ex SW2(config-if)#sw m a
SW1(config)#vlan 10 SW2(config-if)#ex
SW1(config-vlan)#name FLE SW2(config)#int fa0/4
SW1(config-vlan)#vlan 20 SW2(config-if)#sw m a
SW1(config-vlan)#name FLJ SW2(config-if)#ex
SW1(config-vlan)#vlan 30 SW2(config)#vtp mode client
SW1(config-vlan)#name FLI Setting device to VTP CLIENT mode.
SW1(config-vlan)#ex SW2(config)#int fa0/3
SW1(config)#int fa0/3 SW2(config-if)#sw a vlan 30
SW1(config-if)#sw a vlan 10 SW2(config-if)#ex
SW1(config-if)#ex SW2(config)#int fa0/4
SW1(config)#int fa0/4 SW2(config-if)#sw a vlan 10
SW1(config-if)#sw a vlan 20 SW2(config-if)#ex
SW1(config-if)#ex SW2(config)#spanning-tree vlan 20 root primary
SW1(config)#spanning-tree vlan 10 root primary SW2(config)#int range fa0/3-4
SW1(config)#int range fa0/3-4 SW2(config-if-range)#spanning
SW1(config-if-range)#spanning SW2(config-if-range)#spanning-tree portfast
SW1(config-if-range)#spanning-tree portfast SW2(config-if-range)#ex
SW1(config-if-range)#ex SW2(config)#spanning-tree mode rapid-pvst
SW1(config)#spanning-tree mode rapid-pvst SW2(config)#
SW1(config)#
SW3 :

Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#h SW3
SW3(config)#int fa0/1
SW3(config-if)#sw m t
SW3(config-if)#ex
SW3(config)#int fa0/2
SW3(config-if)#sw m t
SW3(config-if)#ex
SW3(config)#int fa0/3
SW3(config-if)#sw m a
SW3(config-if)#ex
SW3(config)#int fa0/4
SW3(config-if)#sw m a
SW3(config-if)#ex
SW3(config)#vtp mode client
Setting device to VTP CLIENT mode.
SW3(config)#int fa0/3
SW3(config-if)#sw a vlan 30
SW3(config-if)#ex
SW3(config)#int fa0/4
SW3(config-if)#sw a vlan 20
SW3(config-if)#ex
SW3(config)#spanning-tree vlan 30 root primary
SW3(config)#int range fa0/3-4
SW3(config-if-range)#spanning
SW3(config-if-range)#spanning-tree portfast
SW3(config-if-range)#ex
SW3(config)#spanning-tree mode rapid-pvst
SW3(config)#
R1 : R2 :

Router>en Router>en
Router#conf t Router#conf t
Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int fa0/0
Router(config)#h R1 R2(config-if)#no sh
R1(config)#int fa0/0 R2(config)#int se2/0
R1(config-if)#no sh R2(config-if)#ip add 192.168.0.1 255.255.255.252
R1(config)#int se2/0 R2(config-if)#cl r 64000
R1(config-if)#ip add 192.168.0.2 255.255.255.252 R2(config-if)#no sh
R1(config-if)#no sh R2(config)#int fa0/0.100
R1(config)#int fa0/0.25 R2(config-subif)#encap dot1Q 100
R1(config-subif)#encap dot1Q 25 R2(config-subif)#ip add 192.168.100.1 255.255.255.0
R1(config-subif)#ip add 192.168.25.1 255.255.255.0 R2(config-subif)#no sh
R1(config-subif)#no sh R2(config-subif)#ex
R1(config-subif)#ex R2(config)#int fa0/0.125
R1(config)#int fa0/0.50 R2(config-subif)#encap dot1Q 125
R1(config-subif)#encap dot1Q 50 R2(config-subif)#ip add 192.168.125.1 255.255.255.0
R1(config-subif)#ip add 192.168.50.1 255.255.255.0 R2(config-subif)#no sh
R1(config-subif)#no sh R2(config-subif)#ex
R1(config-subif)#ex R2(config)#router EIGRP 31
R1(config)#int fa0/0.75 R2(config-router)#net 192.168.100.0 255.255.255.0
R1(config-subif)#encap dot1Q 75 R2(config-router)#net 192.168.125.0 255.255.255.0
R1(config-subif)#ip add 192.168.75.1 255.255.255.0 R2(config-router)#net 192.168.0.0 255.255.255.0
R1(config-subif)#no sh
R1(config-subif)#ex
R1(config)#router EIGRP 31
R1(config-router)#net 192.168.0.0 255.255.255.252
R1(config-router)#net 192.168.25.0 255.255.255.0
R1(config-router)#net 192.168.50.0 255.255.255.0
R1(config-router)#net 192.168.75.0 255.255.255.0
R1(config-router)#ex
Enter configuration commands, one per line. End with CNTL/Z.
SW 1 : %Portfast has been configured on FastEthernet2/1 but will only
have effect when the interface is in a non-trunking mode.
Switch>en SW1(config-if)#ex
Switch#conf t SW1(config)#int fa6/1
Enter configuration commands, one per line. End with CNTL/Z. SW1(config-if)#spanning-tree portfast
Switch(config)#h SW1 %Warning: portfast should only be enabled on ports connected to
SW1(config)#int fa1/1 a single
SW1(config-if)#sw m t host. Connecting hubs, concentrators, switches, bridges, etc... to
this
SW1(config-if)# interface when portfast is enabled, can cause temporary bridging
%LINEPROTO-5-UPDOWN: Line protocol on Interface loops.
FastEthernet1/1, changed state to down Use with CAUTION

%LINEPROTO-5-UPDOWN: Line protocol on Interface %Portfast has been configured on FastEthernet6/1 but will only
FastEthernet1/1, changed state to up have effect when the interface is in a non-trunking mode.
SW1(config-if)#ex
SW1(config-if)#ex SW1(config)#
SW1(config)#int fa2/1 %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to
SW1(config-if)#sw m a up
SW1(config-if)#ex
SW1(config)#int fa3/1 %LINEPROTO-5-UPDOWN: Line protocol on Interface
SW1(config-if)#sw m t FastEthernet0/1, changed state to up
SW1(config-if)#ex
SW1(config)#int fa6/1 SW 2 :
SW1(config-if)#sw m a
SW1(config-if)#ex Switch>en
SW1(config)#int fa7/1 Switch#conf t
SW1(config-if)#sw m t Enter configuration commands, one per line. End with CNTL/Z.
SW1(config-if)#ex Switch(config)#h SW2
SW1(config)#vtp domain XXX SW2(config)#%SPANTREE-2-RECV_PVID_ERR: Received
Changing VTP domain name from NULL to XXX 802.1Q BPDU on non trunk FastEthernet0/1 VLAN1.
SW1(config)#vtp pass 12345
Setting device VLAN database password to 12345 %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/1
SW1(config)#int fa0/1 on VLAN0001. Inconsistent port type.
SW1(config-if)#sw m t
SW1(config-if)#ex
SW1(config)#vlan 25 %LINEPROTO-5-UPDOWN: Line protocol on Interface
SW1(config-vlan)#name IT FastEthernet0/1, changed state to down
SW1(config-vlan)#vlan 50
SW1(config-vlan)#name CS %LINEPROTO-5-UPDOWN: Line protocol on Interface
SW1(config-vlan)#vlan 75 FastEthernet0/1, changed state to up
SW1(config-vlan)#name CE %SPANTREE-2-RECV_PVID_ERR: Received 802.1Q BPDU on
SW1(config-vlan)#ex non trunk FastEthernet6/1 VLAN1.
SW1(config)#int fa2/1
SW1(config-if)#sw a vlan 25 %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet6/1
SW1(config-if)#ex on VLAN0001. Inconsistent port type.
SW1(config)#int fa6/1
SW1(config-if)#sw a vlan 50
SW1(config-if)#ex %LINEPROTO-5-UPDOWN: Line protocol on Interface
SW1(config)# FastEthernet6/1, changed state to down

SW1 con0 is now available %LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet6/1, changed state to up
Press RETURN to get started.
SW2(config)#int fa0/1
SW1>en SW2(config-if)#sw m t
SW1#conf t SW2(config-if)#ex
Enter configuration commands, one per line. End with CNTL/Z. SW2(config)#int fa1/1
SW1(config)#spanning-tree mode rapid-pvst SW2(config-if)#sw m a
SW1(config)#int fa2/1 SW2(config-if)#ex
SW1(config-if)#spanning-tree portfast SW2(config)#int fa2/1
%Warning: portfast should only be enabled on ports connected to SW2(config-if)#sw m a
a single SW2(config-if)#ex
host. Connecting hubs, concentrators, switches, bridges, etc... to SW2(config)#int fa3/1
this SW2(config-if)#sw m t
interface when portfast is enabled, can cause temporary bridging
loops. SW2(config-if)#
Use with CAUTION %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet3/1, changed state to down
Use with CAUTION
%LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet3/1, changed state to up %Portfast has been configured on FastEthernet7/1 but will only
have effect when the interface is in a non-trunking mode.
SW2(config-if)#ex SW2(config-if)#ex
SW2(config)#int fa6/1 SW2(config)#
SW2(config-if)#sw m t
SW2(config-if)#ex SW 3 :
SW2(config)#int fa7/1
SW2(config-if)#sw m a Switch>en
SW2(config-if)#ex Switch#conf t
SW2(config)#vtp mode client Enter configuration commands, one per line. End with CNTL/Z.
Setting device to VTP CLIENT mode. Switch(config)#h SW3
SW2(config)#vtp pass 12345 SW3(config)#%SPANTREE-2-RECV_PVID_ERR: Received
Setting device VLAN database password to 12345 802.1Q BPDU on non trunk FastEthernet0/1 VLAN1.
SW2(config)#int fa1/1
SW2(config-if)#sw a vlan 25 %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/1
SW2(config-if)#ex on VLAN0001. Inconsistent port type.
SW2(config)#int fa2/1
SW2(config-if)#sw a vlan 50
SW2(config-if)#ex %LINEPROTO-5-UPDOWN: Line protocol on Interface
SW2(config)#int fa7/1 FastEthernet0/1, changed state to down
SW2(config-if)#sw a vlan 25
SW2(config-if)#ex %LINEPROTO-5-UPDOWN: Line protocol on Interface
SW2(config)# FastEthernet0/1, changed state to up
%SPANTREE-2-RECV_PVID_ERR: Received 802.1Q BPDU on
SW2 con0 is now available non trunk FastEthernet1/1 VLAN1.

Press RETURN to get started. %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet1/1


on VLAN0001. Inconsistent port type.
SW2>en
SW2#conf t
Enter configuration commands, one per line. End with CNTL/Z. %LINEPROTO-5-UPDOWN: Line protocol on Interface
SW2(config)#spanning-tree mode rapid-pvst FastEthernet1/1, changed state to down
SW2(config)#spanning-tree vlan 75 priority 16384
SW2(config)#int fa1/1 %LINEPROTO-5-UPDOWN: Line protocol on Interface
SW2(config-if)#spanning-tree portfast FastEthernet1/1, changed state to up
%Warning: portfast should only be enabled on ports connected to
a single SW3(config)#int fa0/1
host. Connecting hubs, concentrators, switches, bridges, etc... to SW3(config-if)#sw m t
this SW3(config-if)#ex
interface when portfast is enabled, can cause temporary bridging SW3(config)#int fa1/1
loops. SW3(config-if)#sw m t
Use with CAUTION SW3(config-if)#ex
SW3(config)#int fa2/1
%Portfast has been configured on FastEthernet1/1 but will only SW3(config-if)#sw m a
have effect when the interface is in a non-trunking mode. SW3(config-if)#ex
SW2(config-if)#ex SW3(config)#int fa3/1
SW2(config)#int fa2/1 SW3(config-if)#sw m a
SW2(config-if)#spanning-tree portfast SW3(config-if)#ex
%Warning: portfast should only be enabled on ports connected to SW3(config)#vtp mode client
a single Setting device to VTP CLIENT mode.
host. Connecting hubs, concentrators, switches, bridges, etc... to SW3(config)#vtp pass 12345
this Setting device VLAN database password to 12345
interface when portfast is enabled, can cause temporary bridging SW3(config)#int fa2/1
loops. SW3(config-if)#sw a vlan 75
Use with CAUTION SW3(config-if)#ex
SW3(config)#int fa3/1
%Portfast has been configured on FastEthernet2/1 but will only SW3(config-if)#sw a vlan 75
have effect when the interface is in a non-trunking mode. SW3(config-if)#ex
SW2(config-if)#ex SW3(config)#
SW2(config)#int fa7/1
SW2(config-if)#spanning-tree portfast SW3 con0 is now available
%Warning: portfast should only be enabled on ports connected to
a single Press RETURN to get started.
host. Connecting hubs, concentrators, switches, bridges, etc... to
this SW3>en
interface when portfast is enabled, can cause temporary bridging SW3#conf t
loops. Enter configuration commands, one per line. End with CNTL/Z.
SW3(config)#spanning-tree mode rapid-pvst SW5(config)#int fa3/1
SW3(config)#spanning-tree vlan 50 priority 16384 SW5(config-if)#sw m a
SW3(config)#int fa2/1 SW5(config-if)#ex
SW3(config-if)#spanning-tree portfast SW5(config)#vtp domain ZZZ
%Warning: portfast should only be enabled on ports connected to Changing VTP domain name from NULL to ZZZ
a single SW5(config)#vtp pass 56789
host. Connecting hubs, concentrators, switches, bridges, etc... to Setting device VLAN database password to 56789
this SW5(config)#vlan 100
interface when portfast is enabled, can cause temporary bridging SW5(config-vlan)#name EE
loops. SW5(config-vlan)#vlan 125
Use with CAUTION SW5(config-vlan)#name ME
SW5(config-vlan)#ex
%Portfast has been configured on FastEthernet2/1 but will only SW5(config)#int fa2/1
have effect when the interface is in a non-trunking mode. SW5(config-if)#sw a vlan 100
SW3(config-if)#ex SW5(config-if)#ex
SW3(config)#int fa3/1 SW5(config)#int fa3/1
SW3(config-if)#spanning-tree portfast SW5(config-if)#sw a vlan 125
%Warning: portfast should only be enabled on ports connected to SW5(config-if)#ex
a single SW5(config)#
host. Connecting hubs, concentrators, switches, bridges, etc... to
this SW 6 :
interface when portfast is enabled, can cause temporary bridging
loops. Switch>en
Use with CAUTION Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
%Portfast has been configured on FastEthernet3/1 but will only Switch(config)#h SW6
have effect when the interface is in a non-trunking mode. SW6(config)#int fa0/1
SW3(config-if)#ex SW6(config-if)#sw m t
SW3(config)# SW6(config-if)#ex
SW6(config)#int fa1/1
SW : 4 SW6(config-if)#sw m a
Switch>en SW6(config-if)#ex
Switch#conf t SW6(config)#int fa2/1
Enter configuration commands, one per line. End with CNTL/Z. SW6(config-if)#sw m a
Switch(config)#h SW4 SW6(config-if)#ex
SW4(config)#int fa0/1 SW6(config)#int fa3/1
SW4(config-if)#sw m t SW6(config-if)#sw m a
SW4(config-if)#ex SW6(config-if)#ex
SW4(config)#int fa1/1 SW6(config)#vtp mode client
SW4(config-if)#sw m t Setting device to VTP CLIENT mode.
SW4(config-if)#ex SW6(config)#vtp pass 56789
SW4(config)#vtp mode client Setting device VLAN database password to 56789
Setting device to VTP CLIENT mode. SW6(config)#int fa1/1
SW4(config)#vtp pass 12345 SW6(config-if)#sw a vlan 125
Setting device VLAN database password to 12345 SW6(config-if)#ex
SW4(config)#spanning-tree mode rapid-pvst SW6(config)#int fa2/1
SW4(config)#spanning-tree vlan 25 priority 16384 SW6(config-if)#sw a vlan 125
SW4(config)# SW6(config-if)#ex
SW6(config)#int fa3/1
SW6(config-if)#sw a vlan 100
SW6(config-if)#ex
SW6(config)#

SW 5 :
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#h SW5
SW5(config)#
SW5(config)#int fa0/1
SW5(config-if)#sw m t
SW5(config-if)#ex
SW5(config)#int fa1/1
SW5(config-if)#sw m t
SW5(config-if)#ex
SW5(config)#int fa2/1
SW5(config-if)#sw m a
SW5(config-if)#ex

Вам также может понравиться