{"id":975,"date":"2016-03-13T15:05:05","date_gmt":"1999-01-01T00:00:00","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/?p=975"},"modified":"2021-07-31T19:11:43","modified_gmt":"2021-07-31T19:11:43","slug":"link-aggregation-control-protcol-lacp","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/switches\/cisco-switches\/link-aggregation-control-protcol-lacp.html","title":{"rendered":"Link Aggregation Control Protcol (LACP)"},"content":{"rendered":"
LACP (Link Aggregation Control Protocol) is an open standards protocol (IEEE802.3ad) that allows multiple physical interfaces to be aggregated into one logical link.
\nEach logical link can contain up-to 8 physical members. All member ports within the bundle must have the same physical settings such as port type, speed and duplex.<\/p>\n
Within LACP there are 2 modes available, Active<\/strong> and Passive<\/strong>.<\/p>\n Creating an LACP bundle is simple, you define the port-channel number onto each of the interfaces.<\/p>\n Below is an example of some of the common show commands.<\/p>\n LACP provides the ability to define the number of active members within the bundle, in essence allowing you to have create hot-standby bundle members.<\/p>\n Once you have configured the maximum ports allowed within a bundle the port priority can be configured. Setting priority’s on each of the ports provides you with greater control and allows you to determine what ports are first added to the bundle and what ports are added into the bundle in the event of interface failure.<\/p>\n LACP (Link Aggregation Control Protocol) is an open standards protocol (IEEE802.3ad) that allows multiple physical interfaces to be aggregated into one logical link. Each logical link can contain up-to 8 physical members. All member ports within the bundle must have the same physical settings such as port type, speed and duplex. Modes Within LACP there … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"yoast_head":"\n\n
Create LACP Bundle<\/h2>\n
Switch(config-if)#interface range gi0\/1-3\r\nSwitch(config-if-range)#channel-group 33 mode active<\/span>\r\nCreating a port-channel interface Port-channel 33<\/pre>\n
Show Commands<\/h2>\n
Switch#sh lacp 33 neighbor \r\nFlags: S - Device is requesting Slow LACPDUs \r\n F - Device is requesting Fast LACPDUs\r\n A - Device is in Active mode P - Device is in Passive mode \r\n\r\nChannel group 33 neighbors\r\n\r\nPartner's information:\r\n\r\n LACP port Admin Oper Port Port\r\nPort Flags Priority Dev ID Age key Key Number State\r\nGi0\/1 SA 32768 fa16.3efa.dce3 24s 0x0 0x18 0x2 0x3D \r\nGi0\/2 SA 32768 fa16.3efa.dce3 6s 0x0 0x18 0x3 0x3D \r\nGi0\/3 SA 32768 fa16.3efa.dce3 16s 0x0 0x18 0x4 0x3D<\/pre>\n
Switch#sh lacp 33 counters \r\n LACPDUs Marker Marker Response LACPDUs\r\nPort Sent Recv Sent Recv Sent Recv Pkts Err\r\n---------------------------------------------------------------------\r\nChannel group: 33\r\nGi0\/1 62 56 0 0 0 0 0 \r\nGi0\/2 64 56 0 0 0 0 0 \r\nGi0\/3 64 55 0 0 0 0 0<\/pre>\n
Switch(config)#int po33\r\nSwitch(config-if)#lacp max-bundle ?\r\n <1-8> Max number of ports to bundle in this Port Channel<\/pre>\n
Port Priority<\/h2>\n
Switch(config)#int gi0\/3 Switch(config-if)#lacp port-priority 300 <\/pre>\n
Switch#sh lacp internal \r\nFlags: S - Device is requesting Slow LACPDUs \r\n F - Device is requesting Fast LACPDUs\r\n A - Device is in Active mode P - Device is in Passive mode \r\n\r\nChannel group 33\r\n LACP port Admin Oper Port Port\r\nPort Flags State Priority Key Key Number State\r\nGi0\/1 SA bndl 32768 0x18 0x18 0x2 0x3D \r\nGi0\/2 SA bndl 32768 0x18 0x18 0x3 0x3D \r\nGi0\/3 SA bndl 300 0x18 0x18 0x4 0x3D<\/pre>\n","protected":false},"excerpt":{"rendered":"