Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 9

AOS-CX Switching Fundamentals

===================================================================================
===========================
Lab 6.1: Link Aggregation between Core Switches
===================================================================================
===========================
Objectives
After completing this lab, you will be able to:
• Deploy static Link Aggregation
• Understand the nature of transient loops when creating static aggregations
• Monitor LAG interfaces in AOS-CX

=======================================================
Task 1: Pre-lab Setup:
=======================================================

Objectives
In this activity you will load Lab5-2_final checkpoint in Access-1 and Access-2,
where those two switches were interconnected to the Core switches using ports
1/1/21 and 1/1/22.
NOTE: This activity is dependent on Lab 5.2 configuration, make sure you have
completed that lab before starting the current one. Do not proceed if this is not
the case.

Steps

===================
Access-1 and Access-2
===================

1. Display the checkpoint list and confirm the Lab5-2 checkpoint is there.
********************************************************************************
T11-Access-1# show checkpoint list | include Lab5
T11-Access-2# show checkpoint list | include Lab5

2. Load the checkpoint using the “checkpoint rollback” command.


********************************************************************************
T11-Access-1# checkpoint rollback Lab5-2_final
T11-Access-2# checkpoint rollback Lab5-2_final

=======================================================
Task 2: Configure Manual Link Aggregation
=======================================================

Steps

===================
PC-3
===================
1. Access PC-3.

2. Run a continuous ping to the IP address of Access-2 on VLAN 711 (10.7.11.4).


Ping should be successful.

===================
Core-1 (via PC-1)
===================
3. Open the SSH session to Core-1.
4. Create LAG 10 interface and apply a description. This will be used as a logical
Layer 2 connection between Cores.

Core-1# configure terminal


Core-1(config)# interface lag 10
Core-1(config-lag-if)# description TO_CORE-2_PORTS-43_&_44

5. Disable routing and enable the interface.

Core-1(config-lag-if)# no routing
Core-1(config-lag-if)# no shutdown

6. Allow VLANs 711 and 712.

Core-1(config-lag-if)# vlan trunk allowed 711-712

7. Create a port range with interfaces 1/1/43 and 1/1/44 and make these two ports
members of LAG 10.

Core-1(config-if)# interface 1/1/43-1/1/44


Core-1(config-if-<1/1/43-1/1/44>)# lag 10
Core-1(config-if-<1/1/43-1/1/44>)# end

8. Display detailed information about LAG 10.

Core-1# show interface lag 10

===================
PC-3
===================
9. Move back to PC-3.
Is the ping still running? -->no

===================
Core-2 (via PC-1)
===================
10. Move to Core-2.

11. Disable port 1/1/43.

Core-2# configure terminal


Core-2(config)# interface 1/1/43
Core-2(config-if)# shutdown
Core-2(config-if)# exit
===================
12. Move back to PC-3.
===================

Is the ping still failing? > ping is OK

===================
Core-2
===================
13. Move back to Core-2.
14. Repeat steps 4 to 8.

Core-2(config)# interface lag 10


Core-2(config-lag-if)# description TO_CORE-1_PORTS-43_&_44
Core-2(config-lag-if)# no routing
Core-2(config-lag-if)# no shutdown
Core-2(config-lag-if)# vlan trunk allowed 711-712
Core-2(config-lag-if)#
Core-2(config-if)# interface 1/1/43-1/1/44
Core-2(config-if-<1/1/43-1/1/44>)# lag 10
Core-2(config-if-<1/1/43-1/1/44>)# exit

15. Enable interface 1/1/43 back.

Core-2(config)# interface 1/1/43


Core-2(config-if)# no shutdown
Core-2(config-if)# end

16. Show interface LAG 10 status.


Core-2# show interface lag brief

===================
PC-3
===================
12. Move back to PC-3
Is the ping still working ?

=======================================================
Task 3: Normalize Configuration for All Kits.
=======================================================
Objectives
You will now proceed to save your configurations and create checkpoints. Notice
that final
lab checkpoints might be used by later activities.

Steps

===================
PC-1
===================

1. Access PC-1
2. Open the “CXF LAG 10.txt” file located within CXF Student Folder on the desktop.
3. Copy the file contents into the clipboard.

===================
Core-1 and Core-2 (via PC-1)
===================
4. Paste contents on Core-1 and Core-2’s SSH sessions.
Core-1# end
Core-1# configure terminal
Core-1(config)# vlan 111-112,211-212,311-312,411-412,511-512,611-612,711-712,811-
812,911-912,1011-1012,1111-1112,1211-1212,1311-1312,1411-1412
Core-1(config-vlan-<111-112,211-212,311-312,411-412,511-512,611-612,7>)#interface
lag 10
Core-1(config-lag-if)# vlan trunk allowed 111-112,211-212,311-312,411-412,511-
512,611-612,711-712,811-812,911-912,1011-1012,1111-1112,1211-1212,1311-1312,1411-
1412
Core-1(config-lag-if)# end
Core-1# write memory

Core-2# end
Core-2# configure terminal
Core-2(config)# vlan 111-112,211-212,311-312,411-412,511-512,611-612,711-712,811-
812,911-912,1011-1012,1111-1112,1211-1212,1311-1312,1411-1412
Core-2(config-vlan-<111-112,211-212,311-312,411-412,511-512,611-612,7>)#interface
lag 10
Core-2(config-lag-if)# vlan trunk allowed 111-112,211-212,311-312,411-412,511-
512,611-612,711-712,811-812,911-912,1011-1012,1111-1112,1211-1212,1311-1312,1411-
1412
Core-2(config-lag-if)# end
Core-2# write memory

5. End the SSH sessions.


Core-1# exit
Core-2# exit

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You have completed Lab 6.1!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

===================================================================================
===========================
Lab 6.2 Deploying LACP based Link Aggregation
===================================================================================
===========================
Objectives
After completing this lab, you will be able to:
• Deploy LACP based Link Aggregation
• Demonstrate the benefits of LACP vs Static aggregation

=======================================================
Task 1: Pre-lab Setup
=======================================================

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
NOTE: This activity uses the same topology you created in Lab 5.3 Task 1
configuration, if you completed that task then feel free to load Lab5-3_task1_done
checkpoints on both Access switches and move to Task 2.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

T11-Access-1# checkpoint rollback Lab5-3_task1_done


T11-Access-2# checkpoint rollback Lab5-3_task1_done
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If this is not the case, then complete steps 1 to 7.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Steps

===================
Access-1
===================
1. Open a console connection to Access-1. Login using admin and no password.

2. Disable ports 1/1/21 and 1/1/22.

T11-Access-1# configure terminal


T11-Access-1(config)# interface 1/1/21-1/1/22
T11-Access-1(config-if-<1/1/21-1/1/22>)# shutdown
T11-Access-1(config-if-<1/1/21-1/1/22>)# exit

3. Access port 1/1/27 and set a description.

T11-Access-1(config)# interface 1/1/27


T11-Access-1(config-if)# description TO_T7-ACCESS-2_PORT-27
T11-Access-1(config-if)# exit

4. Create a port range including 1/1/27 and 1/1/28, allow VLANs 1, 711 and 712,then
enable them.

T11-Access-1(config)# interface 1/1/27-1/1/28


T11-Access-1(config-if-<1/1/27-1/1/28>)# vlan trunk allow 1,711-712
T11-Access-1(config-if-<1/1/27-1/1/28>)# no shutdown
T11-Access-1(config-if-<1/1/27-1/1/28>)# exit

5. Confirm port 1/1/21 to 1/1/22 are down.

T11-Access-1(config) # show interface 1/1/21-1/1/22 link-status

===================
Access-2
===================

6. Move to Access-2, then repeat steps 2 through 4.

T11-Access-2# configure terminal


T11-Access-2(config-if-<1/1/21-1/1/22>)# interface 1/1/21-1/1/22
T11-Access-2(config-if-<1/1/21-1/1/22>)# shutdown
T11-Access-2(config-if-<1/1/21-1/1/22>)# exit
T11-Access-2(config)# interface 1/1/27
T11-Access-2(config-if)# description TO_T7-ACCESS-1_PORT-27
T11-Access-2(config-if)# exit

T11-Access-2(config)# interface 1/1/27-1/1/28


T11-Access-2(config-if-<1/1/27-1/1/28>)# vlan trunk allow 1,711-712
T11-Access-2(config-if-<1/1/27-1/1/28>)# no shutdown
T11-Access-2(config-if-<1/1/27-1/1/28>)# exit

7. Confirm ports 1/1/21 to 1/1/22 are down and 1/1/27 to 1/1/28 are up.
T11-Access-2(config)# show interface 1/1/21-1/1/22,1/1/27-1/1/28 link-status

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

=======================================================
Task 2: Configure LACP Link Aggregation
=======================================================

Objectives
In the current task you will deploy an aggregated link between both Access Switches
using LACP for negotiating the physical ports’ states.

Steps
===================
Access-1
===================

1. Open a console connection to Access-1.

2. Create LAG 1 and add a description.


********************************************************************************

T11-Access-1# configure terminal


T11-Access-1(config)# interface lag 1
T11-Access-1(config-lag-if)# description LAG_TO_Access-2

3. Run Active LACP and fast rate heartbeats on the link aggregation.
********************************************************************************

T11-Access-1(config-lag-if)# lacp mode active


T11-Access-1(config-lag-if)# lacp rate fast
T11-Access-1(config-lag-if)#

4. Allow VLANs 1, 711 and 712. then enable the interface.


********************************************************************************

T11-Access-1(config-lag-if)# vlan trunk allowed 1,711,712


T11-Access-1(config-lag-if)# no shutdown
T11-Access-1(config-lag-if)# exit

5. Make ports 1/1/27 and 1/1/28 part of the lag.


********************************************************************************

T11-Access-1(config)# interface 1/1/27-1/1/28


T11-Access-1(config-if-<1/1/27-1/1/28>)# lag 1
T11-Access-1(config-if-<1/1/27-1/1/28>)# exit
6. Use the “show lacp configuration” for displaying the local System-ID and
Priority.
T11-Access-1(config)# show lacp configuration

7. Display the LACP based LAG status information.


T11-Access-1(config)# show lacp interfaces

===================
Access-2
===================
8. Open a console connection to Access-2.

9. Repeat steps 2 to 5 using VLANs 711 and 712.

T11-Access-2# configure terminal


T11-Access-2(config)# interface lag 1
T11-Access-2(config-lag-if)# description LAG_TO_Access-1
T11-Access-2(config-lag-if)# lacp mode active
T11-Access-2(config-lag-if)# lacp rate fast
T11-Access-2(config-lag-if)#
T11-Access-2(config-lag-if)# vlan trunk allowed 1,711,712
T11-Access-2(config-lag-if)# no shutdown
T11-Access-2(config-lag-if)# exit

T11-Access-2(config)# interface 1/1/27-1/1/28


T11-Access-2(config-if-<1/1/27-1/1/28>)# lag 1
T11-Access-2(config-if-<1/1/27-1/1/28>)# exit

10. Display the LACP based LAGs status information.

T11-Access-2(config)# show lacp interfaces

11. Issue the “show spanning-tree” command

T11-Access-2(config)# show spanning-tree | exclude Disabled

12. Run the “show lacp aggregates” command.

T11-Access-2(config)# show lacp aggregates

===================
PC-1
===================
13. Open a console session to PC-1.

14. Ping PC-4 (10.7.12.104). Ping should be successful.


ping 10.7.12.104
=======================================================
Task 3: Save Your Configurations
=======================================================
Objectives

You will now proceed to create checkpoints.


Steps

===================
Access-1 and Access-2
===================

1. Save the current Access switches’ configuration in the startup checkpoint.

T11-Access-1# write memory


T11-Access-2# write memory

2. Backup the current Access switches’ configuration as a custom checkpoint called


Lab6-2_final.

T11-Access-1# copy running-config checkpoint Lab6-2_final


T11-Access-2# copy running-config checkpoint Lab6-2_final

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You have completed Lab 6.2!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

You might also like