lacp+stp+sim (updated p4s)
TRANSCRIPT
A SPECIAL THANKS TO THE FOLLOWING PEOPLE FOR ALL THEIR HELP & SUPPORT: 1) ARSALAN “KaimKhani”
2) MR DEXTER FOR THE ORIGINAL CONCEPT OF LACP
3) CCNP_SWITCH_JUST PASSED FOR HIS LAST MINUTE HELP YEST SINCE I WAS DUE TO SIT TODAY
4) ALL THE MEMBERS OF CERTPREPARE FORUM FOR THEIR CONTINOUS SUPPORT & FEEDBACK…..I EXPECT THE SAME IN TSHOOT EXAM
NOTE: PLZ DON’T EDIT/MODIFY THE CONTENTS OF THIS CONFIGURATION SINCE IT HAS BEEN PUT TOGETHER WHILE GOING THROUGH COUNTLESS BLOGS/POSTS & WEBSITES
JUST HAD MY EXAM TODAY….PASSED WITH 9** SCORED 100,100 & 97 RESPECTIVELY IN ALL 3 SIMS….SO ALL THE CONFIG THAT HAS BEEN MENTIONED BELOW IS 100% TESTED & VERIFIED & THE CONIG BELOW IS UP-T0-DATE WITH ALL THE NECESSARY STEPS….AS FAR AS THE PRUNING FUNCTION GOES THAN IT CANNOT BE CONFIGURED ON EITHER SWITCHES
FOR ANY OTHER QUERIES IF U STILL HAVE AFTER GOING THROUGH THE CONFIGS HERE THEN EMAIL ME @ [email protected], but only SERIOUS QUERIES no silly questions
PLZ READ THE REQUIREMENT CAREFULLY SINCE U WILL FIND MORE THAN 50% OF THE REQUIREMENT FOR THIS SIM IN HERE…..I DID EDITED THE PORTION BELOW BUT U WILL FIND THE
COMPLETE LABSIM OUTPUT IN P4S PDF FILES V6.8 (TOPIC 6 QUESTION NO 8)
SwitchA#show vtp status —> Write down the VTP mode (Is in
transparent mode needs to same on swB)
SwitchA#show spanning-tree summary or show run—> Write down
the STP mode (is set to rapid-pvst needs to be same on swB)
SwitchA#show vlan —> (Check whats the native VLAN-can be
identified by the name “TrunkNative”, VLAN 99)
(NEED to create vlan 21-23)
___________________________________________________________________________
Switch A (DISTRIBUTION SWITCH::need to configure trunk , vlans & ether channel mode ACTIVE)
SwitchA(config)#vlan 21
SwitchA(config-vlan)#name Marketing exit
SwitchA(config)#vlan 22
SwitchA(config-vlan)#name Sales exit
SwitchA(config)#vlan 23
SwitchA(config-vlan)#name Engineering exit
SwitchA(config)#spanning-tree vlan 11-13,21-23 root primary (assigning swA as root
switch for respective vlans as required::vlan 11-13 already there)
***This completes VLAN configuration***
SwitchA(config)#int range fa0/3 – 4 –> Make sure you put a space between “3 – 4″ for it
to accept the command
SwitchA(config-int-range)#no switchport access vlan 98 (need to remove vlan98)
SwitchA(config-int-range)#switchport trunk encapsulation dot1q works on swA
SwitchA(config-int-range)#switchport mode trunk not supported on swA:rest works
SwitchA(config-int-range)#switchport trunk native vlan 99
SwitchA(config-int-range)#switchport trunk allowed vlan 1,21-23 (tagging vlans)
SwitchA(config-int-range)#channel-protocol lacp
SwitchA(config-int-range)#channel-group 1 mode active –> Distribution switch
needs to be ACTIVE
SwitchA(config-int-range)#exit
SwitchA(config-if)#int port-channel 1
SwitchA(config-if)#no shutdown
SwitchA(config-if)#exit
# copy running-config startup-config
***This complete’s Etherchannel configuration***
Check the all the interfaces especially Fast Ethernet 0/3 and 0/4 cause those interfaces were already assigned to a “Parking” vlan98, so we need to remove it from that vlan because we later
we will be assigning them to trunk port
Move on to SwitchB (ACCESS SWITCH-need to configure vtp/stp mode, trunk+access ports, svi & ether channel mode PASSIVE)
SwitchB#show vlan —> check if any of the required VLAN’s are
pre-configured (Need to configure 11-13,21-23 & 98-99)
SwitchB#show vtp status —> Check VTP mode of switchB (SwitchB
is in Server mode, need to change to Transparent)
SwitchB#show spanning-tree summary or show running-config
(check spanning tree mode change to rapid-pvst)
********************************************************************************** SwitchB(config)#vtp mode transparent (since swA is also in the same mode) SwitchB(config)#spanning-tree mode rapid-pvst (switchA is in rapid-pvst mode)
***This complete’s STP and VTP configuration***
SwitchB(config)#vlan 21
SwitchB(config-vlan)#name Marketing
exit
SwitchB(config)#vlan 22
SwitchB(config-vlan)#name Sales
exit
SwitchB(config)#vlan 23
SwitchB(config-vlan)#name Engineering
exit
SwitchB(config)#vlan 99
SwitchB(config-vlan)#name TrunkNative
SwitchB(config)#vlan 98
SwitchB(config-vlan)#name Parking
SwitchB(config)#vlan 11
SwitchB(config-vlan)#name AMD
ex
SwitchB(config)#vlan 12
SwitchB(config-vlan)#name BMD
ex
SwitchB(config)#vlan 13
SwitchB(config-vlan)#name CMD
ex
***This completes VLAN configuration***
SwitchB(config)#int range fa 0/9 – 10
SwitchB(config-int-range)#switchport mode access
SwitchB(config-int-range)#switchport access vlan 21
SwitchB(config-int-range)#spanning-tree portfast
SwitchB(config-int-range)#no shutdown
SwitchB(config)#exit
SwitchB(config)#int range fa 0/13 – 14
SwitchB(config-int-range)#switchport mode access
SwitchB(config-int-range)#switchport access vlan 22
SwitchB(config-int-range)# spanning-tree portfast
SwitchB(config)#no shutdown
SwitchB(config)#exit
SwitchB(config)#int range fa 0/15 – 16
SwitchB(config-int-range)#switchport mode access
SwitchB(config-int-range)#switchport access vlan 23
SwitchB(config-int-range)# spanning-tree portfast
SwitchB(config-int-range)#no shutdown
SwitchB(config)#exit In my case SVI was pre-configured….it can be checked by “show ip int brief” on swB vlan 1 was ip
assigned & state was UP SwitchB(config-if)#ip default-gateway 192.1.68.1.1 (might not be needed but type it
anyway-router’s ip address)
***This completes access ports configuration***
SwitchB(config)#int range fa0/3 – 4 (shut by default in exam-configuring as trunks)
SwitchB(config-int-range)#switchport trunk encapsulation dot1q (not working on swB)
SwitchB(config-int-range)#switchport mode trunk works on swB
SwitchB(config-int-range)#switchport trunk native vlan 99
SwitchB(config-int-range)#switchport trunk allowed vlan 1,21-23 (tagging vlans)
SwitchB(config-int-range)#channel-protocol lacp
SwitchB(config-int-range)#channel-group 1 mode passive –> Access switch needs
to be PASSIVE SwitchB(config-int-range)#exit
SwitchB(config-if)#int port-channel 1
SwitchB(config-int-range)#no shutdown
exit
copy running-config startup-config
***This complete’s Etherchannel configuration***
SwitchB# ping 192.168.1.1
!!!!!
NOTES COURTESY OF CCNP_SWITCH_PASSED:
The Port-channel will be automatically created.. Just go under port-channel int & give “NO SHUT”
command on both Switch A&B.. At next second..
The interfaces fa0/3-4 will be UP..(No need to give “No shut” cmd Under fa0/3-4 interfaces
NOTE: By default switch ports are SHUT so give the no shutdown command under int port-channel 1 in
the end once config is done on both switches….NO VLAN MISMATCH ERRORS THEN!!!!!
1. On Switch A: show cdp neighbor detail –> Get the ip address of router. This is necessary to do a ping
test at the end of the config
2. show vlan
3. show spanning-tree summary
4. show vtp status
5. show ip int brief