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 43 44 45 52
  1. Anonymous
    February 12th, 2017

    @veronica i don’t know what a no named access-map is
    this is from cisco
    1. config t
    2. vlan access-map map-name [sequence-number]
    3. [no] match {ip | ipv6} address ip-access-list
    [no] match mac address mac-access-list
    4. action {drop | forward | redirect}
    5. [no] statistics per-entry
    6. show running-config aclmgr
    7. copy running-config startup-config

  2. HAIG
    February 12th, 2017

    Hi all can someone please explain why can´t we configure on the port-channel 1 instead of the interfaces. In a normal situation once the interfaces are added to the port-channel with the channel-group 1 mode active/passive, the vlans on trunk should stay equal to the ones configured in port-channel isn´t it?

    And if we only configure the interfaces with the commands indicated above, how will the configuration of the por channel stay? I ask because when you configure the channel-group 1 command in the interface it automaticly creates the port-channel virtual interface…

    Can someone that has taken 100% on both labs LACP and AAA post here the 100% correct outputs, please?

  3. YsoSerious
    February 12th, 2017

    @ ALBA,
    bud your cofig is all cool but to pass with 100% toy need to config the ip default-gateway command on both switch for ping to happen over gateway mapping, i failed on the exam recently but my pings worked after i added the default gateway dual sides…. may be something else I did on it might have worked too but that was the last step. no harms to add

  4. YsoSerious
    February 13th, 2017

    @ anon
    I agree there is no detail on cisco for numbered vacl i could find,

  5. Ziuka
    February 13th, 2017

    I practised this lab on real switches a few times, never put ‘ip default-gateway’ command, and pings always worked. I don’t think it’s needed (it’s the same IP range within 192.168.1.0/24), besides, it says ‘no ip routing should be configured’.

  6. ALBA
    February 13th, 2017

    I also config ip default gw 192.168.1.1 por cant ping from switch B

  7. PCP
    February 13th, 2017

    same issue ALBA

  8. ALBA
    February 13th, 2017

    if isnt ping switch B from Switch A , than i cant take full marks ?

  9. Ziuka
    February 14th, 2017

    When I practise this lab in Packet Tracer, it shows both switches as the root for vlans 11-13,21-23, though I entered ‘spanning vlan 11-13,21-23 root primary’ on switch A. But when running ‘show spanning’ on switch B it is showing the root for those vlans as well. I bet I configured everything as it says here in the lab. What could be the reason? Is there anything wrong with the packet tracer, or configuration?

  10. netsky
    February 15th, 2017

    I just checked from packet tracer myself. It worked without any issues

  11. netsky
    February 15th, 2017

    @alba. In packet tracer, I was able to ping the from switch B to 192.168.1.1 address of the router without adding the ip default gw configuration. Anyway, I checked two dumps and they both include this. So I guess we should have this.

  12. Ziuka
    February 15th, 2017

    I don’t understand why we need to add ‘ip default-gateway 192.168.1.1’ command. It doesn’t say in the question’s requirements. You can ping the router at 192.168.1.1 without any issues anyway – I practised this lab several times and pings always got through. Why to add unnecessary command to the config?? After all, we just need to fulfil the question’s requirements.
    Could anyone explain why we need that command? As I believe it’s not necessary – both the router and switch B are on the same network 192.168.1.0/24.

  13. anonymous
    February 15th, 2017

    if everything is on the same net, you don’t need a default gw. i would suggest people to do a show etherchannel summary to see if their etherchannel is up. on the other hand this is a simulation so i don’t know if everything works as in real life. i will tell you in 2 weeks when i take the exam.

  14. Hunter
    February 15th, 2017

    since the question says “not to enable routing”, we have to add the ‘ip default-gateway’ statement since there are more than a single vlan configured on the switch.

    At the end make sure you ping the gateway from Sw B and also try to ping Sw B from Sw A.

    HTH

  15. Cisco Test
    February 15th, 2017

    If a switch stack is configured to use SDM templates, where are the templates stored?

    A. all stack members
    B. stack master
    C. TFTP server
    D. flash memory

  16. HAIG
    February 16th, 2017

    Can someone help in the correct answer for the new question about port-security sticky? Is the correct answer A and E or D and E. Im taking the exam tomorrow and have doubt on that one

  17. Anonymous
    February 16th, 2017

    @ Cisco Test I selected

    A. All stack members

    however I do not know if I got it correct or not.

  18. moondigitall
    February 16th, 2017

    Ziuka bro…..

    ping is not working Same problem with me.So i reload SW-A and Sw-B after that it is working .

  19. anonymous
    February 16th, 2017

    “All stack members use the same SDM template that is stored on the stack master”

  20. Anonymous
    February 16th, 2017

    Hi guys is there a rule for time like, i can not finish the exam within an hour

  21. Ziuka
    February 16th, 2017

    Every time I practise this lab in Packet tracer, when configuring etherchannel I always got ports in stand-alone mode when running ‘show etherchannel summary’: fa0/3 (I), fa0/4 (I).
    When practising on real switches they are showing as fa0/3 (P), fa0/4 (P) as it should be.
    Did anyone experience that with Packet Tracer? Also, both switches are root bridges for vlans in PT. I’m not sure why is that – I configure everything correctly.

  22. Shri
    February 16th, 2017

    If a switch stack is configured to use SDM templates, where are the templates stored?

    Ans :: Stack master

    All stack members use the same SDM template that is stored on the stack master. When a new switch is
    added to a stack, as with the switch configuration and VLAN database files, the SDM configuration that
    is stored on the stack master overrides the template configured on an individual switch. For more
    information about stacking

  23. Simao
    February 16th, 2017

    can anyone send me VCE software PLEASe?
    can anyone send me VCE software PLEASe?
    can anyone send me VCE software PLEASe?

    sopprusbarbosa at gmail.com

  24. Cisco Test
    February 16th, 2017

    @anonymous @Shri
    Then the correct answer would be “All stack members” or “Stack master” ?

  25. Cisco Test
    February 16th, 2017

    Another different question

    A network engineer wants to make sure that an access switch will never become a Spanning Tree root for VLAN 5. Assume that all the other switches are set with default priority except theprimary and the secondary root switches. Which action accomplishes this task?

    A. adjust STP priority to the maximum value
    B. disable STP globally
    C. apply root guard to all outgoing neighbor interfaces
    D. enable MSTP and use a different revision number than all other switches

  26. Anonymous
    February 16th, 2017

    adjust STP priority to the maximum value

  27. Shri
    February 16th, 2017

    @ cisco test :: Stack master

    A network engineer wants to make sure that an access switch will never become a Spanning Tree root for VLAN 5. Assume that all the other switches are set with default priority except theprimary and the secondary root switches. Which action accomplishes this task?
    A. adjust STP priority to the maximum value
    B. disable STP globally
    C. apply root guard to all outgoing neighbor interfaces
    D. enable MSTP and use a different revision number than all other switches

    Ans :: A

    please read the dumps 191 q

  28. kemetkkman
    February 18th, 2017

    Hi guys !
    can some one send me 191ques to {email not allowed}

  29. Anonymous
    February 18th, 2017

    Hi kemetkkman,

    You can download 191q from here

    http://www.getfreedumps.com/pg.php?id=3828

  30. kemetkkman
    February 18th, 2017

    can some one send me 191ques to {email not allowed}

  31. Blackmore
    February 18th, 2017

    @Ziuka

    In Exam, do we need to delete config ip default gw 192.168.1.1 in Switch B ?

  32. Chua
    February 19th, 2017

    should i include vlan 99 in allowed vlan in interface port-channel 1????

    interface port-channel1
    switchport mode trunk
    switchport trunk native vlan 99 //this command will prevent the “Native VLAN mismatched” error on both switches
    switchport trunk allowed vlan 1,21-23,99

  33. Ziuka
    February 19th, 2017

    It only says to allow vlans 1,21-23. Actually, vlan 99 would be needed as a native vlan only if it’s present on Switch A: vlan 99 name TrunkNative. If the name is there it means vlan 99 should be made native vlan and added into trunk config.

  34. Mado
    February 19th, 2017

    Hi all
    I have the exam tomorrow, kindly your advise with this LACP lap cuse I am really confusing with it.
    and also if anyone can share the correct answers for the 15 new questions .
    best regards for all

  35. Shri
    February 19th, 2017

    @ Mado

    please refer 14 new question from comment page 44 provided by G

    LACP Lab :: do perform the same mentioned in cert prepare

  36. sky
    February 20th, 2017

    @Mado
    Also you can refer MK comment in Page 36, everyone told what he had posted is the correct config.

  37. sky
    February 20th, 2017

    @Mado Please do share ur experience after the exam

  38. Hiko
    February 20th, 2017

    How we must configure LACP lab same with certprepare or under the Interfcae 0/3-4?

  39. ticktac
    February 20th, 2017

    Just now attempt for exam…failed 769/1000….lots of new questions, 3 labs came,,AAAdot1x…LCP and HSRP….re-booked exam for 26th…..looking for some new dumps if any one have……mail id {email not allowed}

  40. Anonymous
    February 20th, 2017

    hello ticktac,

    can you tell us if you had new questions besides the ones from this site and the 14 questions we discussed here (that are new)??

    I am taking the test tomorrow and I really need to know if there are other new questions.

    thanks

  41. ticktac
    February 20th, 2017

    oh man how I missed that post……those 14 new questions are correct…go through it

  42. ticktac
    February 20th, 2017

    But the answers mention on pg 44 (14 question) just double check the answers are correct because I was now reading all the post and saw different answers…..I re-booked….26th is date….waiting for your feedback….

  43. Shri
    February 20th, 2017

    @Ticktac please refer page 43 and all the answer for the new question has been provided by Hiko

    Also confirm if you had received any new question apart from those 14 questions

  44. Mado
    February 20th, 2017

    @Ticktac please for the LACP lap we should configure under physical interfaces or under port-channel?

Comment pages
1 43 44 45 52
  1. No trackbacks yet.