Home > LACP with STP Sim

LACP with STP Sim

May 17th, 2014 in Lab Sim, LabSim Go to comments

Question

You work for SWITCH.com. They have just added a new switch (SwitchB) to the existing network as shown in the topology diagram.

LACP_STP_topology.jpg

RouterA is currently configured correctly and is providing the routing function for devices on SwitchA and SwitchB. SwitchA is currently configured correctly, but will need to be modified to support the addition of SwitchB. SwitchB has a minimal configuration. You have been tasked with competing the needed configuring of SwitchA and SwitchB. SwitchA and SwitchB use Cisco as the enable password.

Configuration Requirements for SwitchA

– The VTP and STP configuration modes on SwitchA should not be modified.
– SwitchA needs to be the root switch for vlans 11, 12, 13, 21, 22 and 23. All other vlans should be left are their default values.

Configuration Requirements for SwitchB

– Vlan 21, Name: Marketing, will support two servers attached to fa0/9 and fa0/10
– Vlan 22, Name: Sales, will support two servers attached to fa0/13 and fa0/14
– Vlan 23, Name: Engineering, will support two servers attached to fa0/15 and fa0/16
– Access ports that connect to server should transition immediately to forwarding state upon detecting the connection of a device.
– SwitchB VTP mode needs to be the same as SwitchA.
– SwitchB must operate in the same spanning tree mode as SwitchA.
– No routing is to be configured on SwitchB.
– Only the SVI vlan 1 is to be configured and it is to use address 192.168.1.11/24.

Inter-switch Connectivity Configuration Requirements:

– For operational and security reasons trunking should be unconditional and Vlans 1, 21, 22 and 23 should tagged when traversing the trunk link.
– The two trunks between SwitchA and SwitchB need to be configured in a mode that allows for the maximum use of their bandwidth for all vlans. This mode should be done with a non-proprietary protocol, with SwitchA controlling activation.
– Propagation of unnecessary broadcasts should be limited using manual pruning on this trunk link.

Answer and Explanation:

We post the initial configuration of Sw-A & Sw-B here for your reference, you can try solving this sim by yourself before reading the asnwers below:

Initial Configuration (useless lines have been removed)

SwA:
hostname Sw-A
!
vtp mode transparent
!
spanning-tree mode rapid-pvst
!
vlan 98
!
vlan 99
 name TrunkNative
!
interface FastEthernet0/1
 switchport access vlan 98
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 98
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 98
 switchport mode access
!
interface Vlan1
 no ip address
 shutdown
!
end
Sw-B:
hostname Sw-B
!
vtp mode server
!
spanning-tree mode pvst
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface Vlan1
 no ip address
 shutdown
!
ip default-gateway 192.168.1.1
!
end

Solution

SW-A (close to router)
Note: If Sw-A does not have Vlan 11, 12, 13 we have to create them first with command “SW-A(config)#vlan 11,12,13”
SW-A(config)#spanning-tree vlan 11-13,21-23 root primary

SW-A(config)#vlan 21
SW-A(config-vlan)#name Marketing
SW-A(config-vlan)#exit

SW-A(config)#vlan 22
SW-A(config-vlan)#name Sales
SW-A(config-vlan)#exit

SW-A(config)#vlan 23
SW-A(config-vlan)#name Engineering
SW-A(config-vlan)#exit
SW-A(config)#interface range fa0/3 – 4
SW-A(config-if-range)#no switchport mode access
SW-A(config-if-range)#no switchport access vlan 98 (These two commands must be deleted to form a trunking link)
SW-A(config-if-range)#channel-group 1 mode active
SW-A(config-if-range)#channel-protocol lacp
SW-A(config-if-range)#no shutdown
SW-A(config-if)#interface port-channel 1
SW-A(config-if)#switchport mode trunk
SW-A(config-if)#switchport trunk native vlan 99 //this command will prevent the “Native VLAN mismatched” error on both switches
SW-A(config-if)#switchport trunk allowed vlan 1,21-23
SW-A(config-if)#no shut

Note: When you apply commands under “interface port-channel 1”, the same commands will be automatically applied to the physical member interfaces (of port-channel 1) so you don’t need to type them under physical member interfaces again.

——————————————————————————————–

SW-B (far from router)
SW-B(config)#vlan 21
SW-B(config-vlan)#name Marketing
SW-B(config-vlan)#exit

SW-B(config)#vlan 22
SW-B(config-vlan)#name Sales
SW-B(config-vlan)#exit

SW-B(config)#vlan 23
SW-B(config-vlan)#name Engineering
SW-B(config-vlan)#exit
SW-B(config)#vlan 99
SW-B(config-vlan)#name TrunkNative // not necessary to name it but just name it same as SwitchA
SW-B(config-vlan)#exit
SW-B(config)#interface range fa0/9 – 10
SW-B(config-if-range)#switchport mode access
SW-B(config-if-range)#switchport access vlan 21
SW-B(config-if-range)#spanning-tree portfast
SW-B(config-if-range)#no shutdown
SW-B(config-if-range)#exit

SW-B(config)#interface range fa0/13 – 14
SW-B(config-if-range)#switchport mode access
SW-B(config-if-range)#switchport access vlan 22
SW-B(config-if-range)#spanning-tree portfast
SW-B(config-if-range)#no shutdown
SW-B(config-if-range)#exit

SW-B(config)#interface range fa0/15 – 16
SW-B(config-if-range)#switchport mode access
SW-B(config-if-range)#switchport access vlan 23
SW-B(config-if-range)#spanning-tree portfast
SW-B(config-if-range)#no shutdown
SW-B(config-if-range)#exit

SW-B(config)#vtp mode transparent

SW-B(config)#spanning-tree mode rapid-pvst //Same as Sw-A

SW-B(config)#ip default-gateway 192.168.1.1 (you can get this IP from SW-A with command show cdp neighbour detail) // not sure about this command because the question says “No routing is to be configured on SwitchB”.

SW-B(config)#interface vlan 1
SW-B(config-if)#ip address 192.168.1.11 255.255.255.0
SW-B(config-if)#no shutdown
SW-B(config-if)#exit

SW-B(config)#interface range fa0/3 – 4
SW-B(config-if-range)#channel-group 1 mode passive //mode passive because “SwitchA controlling activation”
SW-B(config-if-range)#channel-protocol lacp
SW-B(config-if-range)#no shutdown

SW-B(config-if)#interface port-channel 1
SW-B(config-if)#switchport trunk encapsulation dot1q
SW-B(config-if)#switchport mode trunk
SW-B(config-if)#switchport trunk native vlan 99 //this command will prevent the “Native VLAN mismatched” error on both switches
SW-B(config-if)#switchport trunk allowed vlan 1,21-23
SW-B(config-if)#no shut

Note: For Sw-B we have to set the 802.1q trunking protocol (switchport trunk encapsulation dot1q) before converting it into a trunk because it is a 3500 series (or higher) switch which supports both ISL and 802.1Q and we have to explicitly set which trunking protocol to be used. Sw-A is a 2900x series (or lower) switch and does not support ISL trunking protocol (802.1Q is the only supported trunking protocol) so we can apply “switchport mode trunk” directly.

———————————————————

Some guidelines for configuring SwitchA & SwitchB:

Configuration Requirements for SwitchA

– The VTP and STP configuration modes on SwitchA should not be modified.
– SwitchA needs to be the root switch for vlans 11, 12, 13, 21, 22 and 23. All other vlans should be left are their default values
SW-A(config)#spanning-tree vlan 11-13,21-23 root primary

Configuration Requirements for SwitchB

– Vlan 21, Name: Marketing, will support two servers attached to fa0/9 and fa0/10
– Vlan 22, Name: Sales, will support two servers attached to fa0/13 and fa0/14
– Vlan 23, Name: Engineering, will support two servers attached to fa0/15 and fa0/16
– Access ports that connect to server should transition immediately to forwarding state upon detecting the connection of a device.
vlan …
name …
(VLANs must be created on both switches if not exist)
interface range fa0/x – y
switchport mode access
switchport access vlan
spanning-tree portfast
– SwitchB VTP mode needs to be the same as SwitchA. vtp mode transparent
– SwitchB must operate in the same spanning tree mode as SwitchA. spanning-tree mode rapid-pvst
– No routing is to be configured on SwitchB.
– Only the SVI vlan 1 is to be configured and it is to use address 192.168.1.11/24.
interface vlan 1
ip address 192.168.1.11 255.255.255.0

Inter-switch Connectivity Configuration Requirements:

– For operational and security reasons trunking should be unconditional and Vlans 1, 21, 22 and 23 should tagged when traversing the trunk link.
– The two trunks between SwitchA and SwitchB need to be configured in a mode that allows for the maximum use of their bandwidth for all Vlans. This mode should be done with a non-proprietary protocol, with SwitchA controlling activation.
SW-A(config)#interface range fa0/3 – 4
SW-A(config-if)#no switchport mode access
SW-A(config-if)#no switchport access vlan 98
Note: Two above commands must be deleted first to form a trunking link.

Although the first requirement asks us to configure trunking but we can ignore this task because we only need to configure trunking under their Port-channel (in the next task)

– The two trunks between SwitchA and SwitchB need to be configured in a mode that allows for the maximum use of their bandwidth for all Vlans:
SW-A(config)#interface range fa0/3 – 4
SW-A(config-if)#channel-group 1 mode active
SW-A(config-if)#channel-protocol lacp
SW-A(config-if)#no shutdown
– Trunking should be unconditional and Vlans 1, 21, 22 and 23 should tagged when traversing the trunk link:
SW-A(config-if)#interface port-channel 1
SW-A(config-if)#switchport mode trunk
SW-A(config-if)#switchport trunk native vlan 99 //this command will prevent the “Native VLAN mismatched” error on both switches
SW-A(config-if)#no shut
—————————————
SW-B(config)#interface range fa0/3 – 4
SW-B(config-if)#channel-group 1 mode passive
SW-B(config-if)#channel-protocol lacp
SW-B(config-if)#no shutdown
SW-B(config-if)#interface port-channel 1
SW-B(config-if)#switchport trunk encapsulation dot1q
SW-B(config-if)#switchport mode trunk
SW-B(config-if)#switchport trunk native vlan 99 //this command will prevent the “Native VLAN mismatched” error on both switches
SW-B(config-if)#no shut

– Propagation of unnecessary broadcasts should be limited using manual pruning on this trunk link. SW-A(config)#interface port-channel 1
SW-A(config-if)#switchport trunk allowed vlan 1,21-23
—————————————
SW-B(config)#interface port-channel 1
SW-B(config-if)#switchport trunk allowed vlan 1,21-23
Note: When configure this command under Port-channel 1, the same command will be applied to physical member interfaces (of port-channel 1) so you don’t need to type them under physical member interfaces again.

Some notes for this sim:
+ You should check the initial status of both switches with these commands: show vtp status (transparent mode on switchA and we have to set the same mode on switchB), show spanning-tree [summary] (rapid-pvst mode on switchA and we have to set the same mode on switchB), show vlan (check the native vlan and the existence of vlan99), show etherchannel 1 port-channel and show ip int brief(check if Port-channel 1 has been created and make sure it is up), show run (to check everything again).
+ When using “int range f0/x – y” command hit space bar before and after “-” otherwise the simulator does not accept it.
+ You must create vlan 99 for the switchB. SwitchA already have vlan 99 configured.
+ At the end, you can try to ping from SwitchB to RouterA (you can get the IP on RouterA via the show cdp neighbors detail on SwitchA), not sure if it can ping or not. If not, you can use the “ip default-gateway 192.168.1.1” on SwitchB.
+ The name of SwitchA and SwitchB can be swapped or changed so be careful to put your configuration into appropriate switch.

We hope with this information our candidates can find the best solution in the exam. If you learn anything new about this sim please share with us!

Other lab-sims in this site:

MLS and EIGRP Sim
VTP Lab 2
VTP Lab
Spanning Tree Lab Sim
AAAdot1x Lab Sim

Comments
Comment pages
1 46 47 48 52
  1. Nikos
    March 16th, 2017

    @Mika

    Hi Mika,
    First of all congrats on your success. Secondly, i would like to ask you regarding the configuration of the LACP sim.
    Other than the fact that you configured lacp only on the physical interfaces and that you didn’t include the ip default gateway, all your rest configuration was identical to the one provided here above?

  2. Anonymous
    March 16th, 2017

    can someone please send me the 21 new questions? {email not allowed}

  3. sunny
    March 16th, 2017

    Pass today 9xx
    AAA + HSRP sim+ LACP&STP + CDP drag&drop – 191+15 OK
    From FR , thanks waleed the best !

  4. Mika
    March 16th, 2017

    @nikos yes. Rest all is same

  5. Latasha
    March 18th, 2017

    Eveoryne would benefit from reading this post

  6. Rosa
    March 18th, 2017

        nous dit le as-salâmu &lAhso;alaykumuqlen, pour faire simple, pouvez-vous résumer en une ou deux phrases le problème que vous voyez ?

  7. Shady
    March 18th, 2017

    Guys I wanna ask simple question regarding LACP lab.

    at the exam I can see it requesting that to apply the etherchannel only on physical interfaces.

    However when I’ve tried to apply the lab sim on packet tracer I’ve found error “%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on Port-channel 1 (1), with Sw_B FastEthernet0/4 (99).”

    When I checked further I found that my configuration is identical to the lab sim and everything is correct but the alarm is keep going.

    After I checked #show int trunk I found that the Po1 is having a native vlan 1 but the physical interfaces of both switches having native vlan 99.

    That is very confusing how from the lab they request to apply these configuration only on physical interface and it is necessary to apply command #switchport trunk native vlan 99 on the Po1 it self too.

    I need to clear this point to my self to avoid any mistakes and become more certain of the lab answers.

    Thanks in advance (.^^)

  8. Someone6539
    March 20th, 2017

    191 + 21 still valid . Hsrp aaa lacp . No new questions.

  9. Shadow
    March 20th, 2017

    @Someone6539 could you please send me the current dumps medkaloks06 (a) yahoo.com.

  10. KK
    March 21st, 2017

    anyone tel me,is it correct for lacp-stp(from cerprepare web)?
    SW-A (close to router)
    Note: If Sw-A does not have Vlan 11, 12, 13 we have to create them first with command “SW-A(config)#vlan 11,12,13”
    SW-A(config)#spanning-tree vlan 11-13,21-23 root primary

    SW-A(config)#vlan 21
    SW-A(config-vlan)#name Marketing
    SW-A(config-vlan)#exit

    SW-A(config)#vlan 22
    SW-A(config-vlan)#name Sales
    SW-A(config-vlan)#exit

    SW-A(config)#vlan 23
    SW-A(config-vlan)#name Engineering
    SW-A(config-vlan)#exit
    SW-A(config)#interface range fa0/3 – 4
    SW-A(config-if-range)#no switchport mode access
    SW-A(config-if-range)#no switchport access vlan 98 (These two commands must be deleted to form a trunking link)
    SW-A(config-if-range)#channel-group 1 mode active
    SW-A(config-if-range)#channel-protocol lacp
    SW-A(config-if-range)#no shutdown
    SW-A(config-if)#interface port-channel 1
    SW-A(config-if)#switchport mode trunk
    SW-A(config-if)#switchport trunk native vlan 99 //this command will prevent the “Native VLAN mismatched” error on both switches
    SW-A(config-if)#switchport trunk allowed vlan 1,21-23
    SW-A(config-if)#no shut

    SW-B (far from router)
    SW-B(config)#vlan 21
    SW-B(config-vlan)#name Marketing
    SW-B(config-vlan)#exit

    SW-B(config)#vlan 22
    SW-B(config-vlan)#name Sales
    SW-B(config-vlan)#exit

    SW-B(config)#vlan 23
    SW-B(config-vlan)#name Engineering
    SW-B(config-vlan)#exit
    SW-B(config)#vlan 99
    SW-B(config-vlan)#name TrunkNative // not necessary to name it but just name it same as SwitchA
    SW-B(config-vlan)#exit
    SW-B(config)#interface range fa0/9 – 10
    SW-B(config-if-range)#switchport mode access
    SW-B(config-if-range)#switchport access vlan 21
    SW-B(config-if-range)#spanning-tree portfast
    SW-B(config-if-range)#no shutdown
    SW-B(config-if-range)#exit

    SW-B(config)#interface range fa0/13 – 14
    SW-B(config-if-range)#switchport mode access
    SW-B(config-if-range)#switchport access vlan 22
    SW-B(config-if-range)#spanning-tree portfast
    SW-B(config-if-range)#no shutdown
    SW-B(config-if-range)#exit

    SW-B(config)#interface range fa0/15 – 16
    SW-B(config-if-range)#switchport mode access
    SW-B(config-if-range)#switchport access vlan 23
    SW-B(config-if-range)#spanning-tree portfast
    SW-B(config-if-range)#no shutdown
    SW-B(config-if-range)#exit

    SW-B(config)#vtp mode transparent

    SW-B(config)#spanning-tree mode rapid-pvst //Same as Sw-A

    SW-B(config)#ip default-gateway 192.168.1.1 (you can get this IP from SW-A with command show cdp neighbour detail) // not sure about this command because the question says “No routing is to be configured on SwitchB”.

    SW-B(config)#interface vlan 1
    SW-B(config-if)#ip address 192.168.1.11 255.255.255.0
    SW-B(config-if)#no shutdown
    SW-B(config-if)#exit

    SW-B(config)#interface range fa0/3 – 4
    SW-B(config-if-range)#channel-group 1 mode passive //mode passive because “SwitchA controlling activation”
    SW-B(config-if-range)#channel-protocol lacp
    SW-B(config-if-range)#no shutdown

    SW-B(config-if)#interface port-channel 1
    SW-B(config-if)#switchport trunk encapsulation dot1q
    SW-B(config-if)#switchport mode trunk
    SW-B(config-if)#switchport trunk native vlan 99 //this command will prevent the “Native VLAN mismatched” error on both switches
    SW-B(config-if)#switchport trunk allowed vlan 1,21-23
    SW-B(config-if)#no shut

  11. Please Share
    March 22nd, 2017

    Waleed – your link is no longer available, can you share if you still online on this forum to eem1980200 @ yahoo dot com

    or anyone have a copy please share. Thanks in advance

  12. hmuzviwana2008@gmail.com
    March 22nd, 2017

    Yes Waleed your link was very good, please share again!!

  13. Shadow
    March 22nd, 2017

    Why is it that people don’t share….that’s not cool at all guys.

  14. Shadow
    March 22nd, 2017

    I’ve been asking for days now the current dump for SWITCH 300-115 but no one responded.

  15. Anonymous
    March 22nd, 2017

    i have passed the exam and all the dump is valid … lab exam: AAAdot1x Lab Sim et MLS and EIGRP lab…. hotspot VTP drag and drop CDP et LLD

  16. Shadow
    March 22nd, 2017

    Hi all could someone please post a link to valid dumps or forward it to my mail medkaloks06(@)yahoo.com… please please. am suppose to take the exam soon.

  17. Anonymous
    March 23rd, 2017

    Waleed your link , please share again

  18. Switch
    March 23rd, 2017

    Hi guys
    carefull many news questions… labs are the same. Loss :-( 698 …
    good luck

  19. Trollolo
    March 23rd, 2017

    @Switch,did u reviewed HIKO ?

  20. Mo
    March 23rd, 2017

    Hi Waleed,

    I tried to access the share you posted but it said the “SHARE HAS BEEN REMOVED”. Can i give you my email so that you forward it straight to me.

    Regards,
    Mo

  21. HunterX
    March 24th, 2017

    @Switch
    How many new questions?

    I am taking the exam this sunday.

  22. ranjeet
    March 24th, 2017

    can u plz send me dumps a4 {email not allowed}

  23. pk
    March 24th, 2017

    can any one share the exam prem12july(A)hotmail.com

  24. @Yard
    March 25th, 2017

    In the LACP with STP Sim, for SW-A, why was the “switchport trunk encapsulation dot1q” not used?

  25. YsoSerious
    March 25th, 2017

    Thanks Will ping you..

  26. Bulls-Eye
    March 26th, 2017

    @yard
    SW-A does not support ISL, that is why you dont need that command.

  27. Aguy
    March 26th, 2017

    -Hi, yesterday I had my exam and was ok. In this lab I had not to do this configuration
    SW-B(config)#interface vlan 1
    SW-B(config-if)#ip address 192.168.1.11 255.255.255.0
    SW-B(config-if)#no shutdown
    SW-B(config-if)#exit
    doing a ” show run ” there were already:
    interface vlan 1
    ip address 192.168.1.11 255.255.255.0
    so.. not necessary

  28. JustME
    March 27th, 2017

    Passed today with 860.. 191 + 21 still valid with 2 new questions not on either. Both were trunking questions . Hsrp aaa lacp . Same as above for lacp lab Vlan 1 was already configured on swB.

  29. Norm
    March 28th, 2017

    Folks,
    when LACP lab is configured correctly should i be able to ping the router from SWB ?. Could anyone please confirm.

  30. Skinnie Phat Dude
    March 28th, 2017

    @JustME…Congrats! I passed the test today as well and it felt good. Next up Routing. However, my exam didn’t have 2 new questions.

    @Norm….yes you will be able to ping the router from SWB. On both SWA and SWB, be sure to use the show run, show vlan, and show interface trunk prior to typing in any commands. DO NOT CONFIGURE YOUR PORT CHANNEL. All configs need to be done on the interface (which doesn’t make any damn sense). The switch yells that requirement at you in bold on the exam. If your exam does not specify that, then apply the configs on the port channel. I didn’t see the 2 new questions that JustME is referring to, but be sure to have the 21 new questions (which you can get on some of the most recent comments) because they are all on the exam.

    The HSRP sim is on there and the LLDP/CDP drag and drop is on there as well. I advise taking the test asap before they revise it again. Best of luck!!!

  31. Norm
    March 28th, 2017

    Thanks Skinnie for the confirmation.

  32. Anonymous
    March 28th, 2017

    I passed today 930 ,make sure you find out what the native vlan is 99

  33. Anonymous
    March 28th, 2017

    please send the 21 new questions

  34. Anonymous
    March 29th, 2017

    i passed today, all questions came from 191 + 21 HIKO

Comment pages
1 46 47 48 52
  1. No trackbacks yet.