Requirement:
A Link Aggregation Group (LAG) combines a number of physical ports together to make a single high-bandwidth data path, so as to implement the traffic load sharing among the member ports in the group and to enhance the connection reliability.
Solution:
In the following example, A LAG is configured between a 2920 switch and a 7010 controller.
Configuration:
********** Create the 2920 802.3ad link aggregation (Trunk) **********
2920(config)# trunk 3,4 trk1 lacp
2920(config)# show trunk
Load Balancing Method: L3-based (default)
Port | Name Type | Group Type
------ + -------------------------------- ---------- + ----- --------
3 | 100/1000T | Trk1 LACP
4 | 100/1000T | Trk1 LACP
********** Create VLAN and Configure IP adddress **********
2920(config)# vlan 1000 ip address 10.10.10.1/24
2920# show ip
Internet (IP) Service
IP Routing : Enabled
Default TTL : 64
Arp Age : 20
Domain Suffix :
DNS server :
| Proxy ARP
VLAN | IP Config IP Address Subnet Mask Std Local
-------------------- + ---------- --------------- --------------- ----------
DEFAULT_VLAN | DHCP/Bootp
VLAN10 | Manual 10.0.10.1 255.255.255.0 No No
********** Configure the trunk vlan **********
2920(config)# vlan 1000 tagged trk1
2920(config)# show vlans ports trk1 detail
Status and Counters - VLAN Information - for ports Trk1
VLAN ID Name | Status Voice Jumbo Mode
------- -------------------- + ---------- ----- ----- --------
1 DEFAULT_VLAN | Port-based No No Untagged
1000 VLAN1000 | Port-based No No Tagged
2920(config)# show vlan 1000
Status and Counters - VLAN Information - VLAN 1000
VLAN ID : 1000
Name : VLAN1000
Status : Port-based
Voice : No
Jumbo : No
Private VLAN : none
Associated Primary VID : none
Associated Secondary VIDs : none
Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
Trk1 Tagged Learn Up
********** Create the 7010 802.3ad link aggregation **********
(Standalone-v6) (config) #interface gigabitethernet 0/0/0
(Standalone-v6) (config-if)#lacp group 1 mode active
(Standalone-v6) (config-if)#interface gigabitethernet 0/0/1
(Standalone-v6) (config-if)#lacp group 1 mode active
********** Verify LACP System IDs **********
2920# show lacp local
LACP Local Information.
System ID: 941882-a48880
(Standalone-v6) #show lacp 1 neighbor
Flags: S - Device is requesting slow LACPDUs
F - Device is requesting fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
LACP Neighbor Table
-------------------
Port Flags Pri OperKey State Num Dev Id
---- ----- --- ------- ----- --- ------
GE 0/0/0 SA 0 0xd2 0x3d 0x3 94:18:82:A4:88:80
GE 0/0/1 SA 0 0xd2 0x3d 0x4 94:18:82:A4:88:80
(Standalone-v6) #show lacp sys-id
32768,00:0B:86:DD:11:40
2920# show lacp peer
LACP Peer Information.
System ID: 941882-a48880
Local Local Port Oper LACP Tx
Port Trunk System ID Port Priority Key Mode Timer
------ ------ -------------- ----- --------- ------- -------- -----
3 Trk1 000b86-dd1140 1 255 2 Active Slow
4 Trk1 000b86-dd1140 2 255 2 Active Slow
********** Create/Configure VLAN and configure port channel **********
(Standalone-v6) (config) #vlan 1000
(Standalone-v6) (config) #interface vlan 1000
(Standalone-v6) (config-subif)#ip address 10.10.10.2 255.255.255.0
(Standalone-v6) (config) #interface port-channel 1
(Standalone-v6) (config-channel)#switchport mode trunk
(Standalone-v6) (config-channel)#switchport trunk allowed vlan 1000
(Standalone-v6) (config-channel)#trusted
(Standalone-v6) #show vlan status 1000
VLAN1000 is up line protocol is up
Hardware is CPU Interface, Interface address is 00:0B:86:DD:11:40 (bia 00:0B:86:DD:11:40)
Description: 802.1Q VLAN
Internet address is 10.10.10.2 255.255.255.0
IPv6 Router Advertisements are disabled
Routing interface is enable, Forwarding mode is enable
Directed broadcast is disabled, BCMC Optimization disabled ProxyARP disabled Suppress ARP enable
Encapsulation 802, loopback not set
MTU 1500 bytes
Last clearing of "show interface" counters 0 day 0 hr 26 min 43 sec
link status last changed 0 day 0 hr 2 min 0 sec
Associated Ports:,Pc1
(Standalone-v6) #show ip interface brief | exclude unassigned
Interface IP Address / IP Netmask Admin Protocol VRRP-IP (VRRP-Id)
vlan 1 172.16.0.254 / 255.255.255.0 up up none (none)
vlan 1000 10.10.10.2 / 255.255.255.0 up up none (none)
Verification
(Standalone-v6) #ping 10.10.10.1
Press 'q' to abort.
Sending 5, 92-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0.777/0.8218/0.867 ms
(Standalone-v6) #show arp vlan 1000
Protocol Address Hardware Address Interface
Internet 10.10.10.1 94:18:82:a4:88:80 vlan1000