on 06-04-2013 02:01 PM
- the ability to aggregate multiple interfaces together in an L2 manner, based on the standards defined in 802.1ax/802.1ad
- A group of physical interfaces with the same: speed,media, peer
- Treated as a single interface by higher layer protocol (one MAC, one IP, one set of configuration)
Alternative names used are: EtherChannel, Port-Channel, Link Bundle or LAG.
- Increase link availability
- Increase bandwidth
- A single peering between two devices instead of having multiple individual links requiring ECMP (in L3) or STP (L2)
- All the features are applied on the bundle interface, but replicated to the NPU's that have members in this bundle.
- Members can be on multiple LCs
- L3 hashing is based on Source IP, Destination IP and Router ID, Src/Dest Ports are included too on TCP/UDP packet
- L2 hashing is based on Source MAC, Destination MAC, and Router ID
for more details on the Loadbalancing architecture see the https://supportforums.cisco.com/docs/DOC-26687
- Global MAC addresses stored in the backplane EEPROM are used as Bundle mac addresses
- Min/Max active member links can be configured on Bundle interface
- Bundle interface and its members can be shut/no shut independently
- There are 3 different modes: LACP (active/passive), or no LACP (ON)
- LACP in active mode will send and receive control packets as opposed to passive mode that will only response to received control packets
- LACP can be configured in short mode (1 sec) or long mode (30 sec) which determines the rate at which control packets are exchanged.
- For each port 28 bytes of information (LAG ID) and is exchanged between peers:
- If Bundle interface is outgoing multicast interface, then one bundle line card (BLC) is chosen to forward the multicast traffic and that decision is made by MRIB (In control plane).
- In egress BLC, packet is delivered to all Trident Chips. The member interface selected for a hash (from Trident Packet Header) will be local only to one Trident Chip. The other Trident Chip drops packet as member is not local.
config
lacp system priority 40000
lacp system mac 000c.15c0.bd15
interface bundle-ether<x>
bundle minimum-active {links <count> | bandwidth <bw>}
bundle maximum-active links <count> hot-standby
config
interface Gig0/1/0/0
bundle id <x> mode {on|active|passive}
bundle port-priority <priority>
lacp period {short | long}
- An optional tool for checking that the bundle membership configuration makes sense and that the partner machine is also willing and able to aggregate the same set of links.
- Each link is assigned a LAGID which is a combination of the LACP system identifier and administrative key for the bundle as specified by both connected devices. For a bundle to be established all links within a bundle must have the same LAGID - any links with a different LAGID are excluded from the bundle.
- Timeout: The default (long) period of a packet every 30 seconds (timeout after 90 seconds), and the "short" period of a packet every second (timeout after 3 seconds).
- Each LACP system has a system identifier which consists of a MAC address and a system priority. The MAC should be unique to the system (if it matches a partner system, LACP negotiations may fail), and the combination of the priority and MAC address are used to determine which is the higher priority system (default 32768)
- Starting from 4.1; the global system priority and MAC address can each be overridden for a specific bundle and configured under the bundle interface config
- BFD over Bundle members is an enhancement to the Layer 3 fast protection protocol for determining whether a Bundle member can be used to forward traffic
- BFD has two modes
- BFD has three external states: Up, Down, Neighbor Unconfigured (Nbr_Unconfig)
- BFD sessions can be shut down in one of two ways:
- BFD sessions are only started on member links once they have reached LACP DISTRIBUTING state. Consequently the status of the BFD protocol does not affect the LACP state of a link in any way
- A new feature for IOS XR release 4.0. MC-LAG involves two devices collaborating to act as a single LAG from the perspective of a (third) connected device
- Only one of the XR devices forwards traffic at any one time, eliminating the risk of forwarding loops. When a failure occurs, the XR devices coordinate to perform a switchover, changing the device on which traffic is being forwarded by manipulating the link LACP states
- The use case for this is at the edge of a provider's network, to allow a "simple" customer edge (CE) device which only supports standard LACP to be connected to two provider edge (PE) devices. Thus the CE device is "dual-homed", providing better L2 redundancy from the provider's side. In the mLACP documentation, the CE device is referred to as a Dual-Homed Device (DHD) and each PE device is known as a Point of Attachment (POA). The POA forwarding traffic for the bundle is the Active device for that bundle with the other POA being Standby
- The two POAs communicate with each other over an LDP link using the Inter-Chassis Communication Protocol (ICCP)
redundancy
iccp
group 1
mlacp node 1
mlacp system mac 000d.000e.000f
mlacp system priority 1
member
neighbor 5.4.3.2
interface Bundle-Ether1
lacp switchover suppress-flaps 300
mlacp iccp-group 1
mac-address 0.deaf.0
bundle wait-while 100
interface Loopback0
ipv4 address 5.4.3.1 255.255.255.255
interface GigabitEthernet0/0/0/0
description Connected to DHD Gi0/0/0/0
bundle id 1 mode active
lacp period short
no shutdown
interface GigabitEthernet0/0/0/3
description Connected to POA2 Gi0/0/0/3
ipv4 address 1.2.3.1 255.255.255.0
proxy-arp
no shutdown
router static
address-family ipv4 unicast
5.4.3.2/32 1.2.3.2
mpls ldp
router-id 5.4.3.1
discovery targeted-hello accept
log
neighbor
redundancy
iccp
group 1
mlacp node 2
mlacp system mac 000d.000e.000f
mlacp system priority 1
member
neighbor 5.4.3.1
interface Bundle-Ether1
lacp switchover suppress-flaps 300
mlacp iccp-group 1
mac-address 0.deaf.0
bundle wait-while 100
interface Loopback0
ipv4 address 5.4.3.2 255.255.255.255
interface GigabitEthernet0/0/0/0
description Connected to DHD Gi0/0/0/3
bundle id 1 mode active
lacp period short
no shutdown
interface GigabitEthernet0/0/0/3
description Connected to POA1 Gi0/0/0/3
ipv4 address 1.2.3.2 255.255.255.0
proxy-arp
no shutdown
router static
address-family ipv4 unicast
5.4.3.1/32 1.2.3.1
mpls ldp
router-id 5.4.3.2
discovery targeted-hello accept
log
neighbor
interface Bundle-Ether1
lacp switchover suppress-flaps 300
bundle wait-while 100
interface GigabitEthernet0/0/0/0
description Connected to POA1 Gi0/0/0/0
bundle id 1 mode active
lacp period short
no shutdown
interface GigabitEthernet0/0/0/3
description Connected to POA2 Gi0/0/0/0
bundle id 1 mode active
lacp period short
no shutdown
- show bundle
- show bundle status
- show lacp
- show lacp system-id
- show bundle reasons
- admin show diag chassis eeprom-info
- bundle-hash bundle-ether 10
- show cef <ip dst> hardware egress detail location <x>
- show controller bundle bundle-ether<id> location <x>
- show bundle trace all/process
- show tech-support bundle file <filesystem:filename>
- admin show tech-support bundle file <filesystem:filename>
- show iccp counters
- show iccp counters
- show iccp trace
- show mlacp inconsistencies
- When adding a member interface to a bundle ensure NO other configs present under the member interface.
RP/0/RSP0/CPU0:RTP-VIKING-L2-3(config)#interface gigabitEthernet 0/6/0/5RP/0/RSP0/CPU0:RTP-VIKING-L2-3(config-if)#bundle id 1 mode active RP/0/RSP0/CPU0:RTP-VIKING-L2-3(config-if)#commit% Failed to commit one or more configuration items during an atomic operation, no changes have been made. Please use 'show configuration failed' to view the errors
Show config failed would show the following reason.
!!% Bundle membership configuration conflicts with underlying physical link configuration (either already existing or also present in the same commit). Please refer to configuration documentation for further assistance.
Remove conflicting configuration to proceed
- Bundle interface doesn’t come up
- Bundle members are not distributing
- L3 traffic is not flowing
Make sure the rx_adj field matches the correct lag id. Make sure the "leaf" shows "forwarding" and nrLDI shows RX and TX adjacency as "COMPLETE"
- All member links should be of the same speed
- Maximum number of Link Bundling interfaces per chassis is 255 (however a few are reserved for Bundle-POS interfaces)
- Maximum number of Link Bundle interface per line card is 64
- Maximum number of members per bundle is 64. User will be allowed to configure more than 8 members and the additional links will be in de-attached state
We are running on V5.3.3. We are attempting to create a bundle on a sub-interface but can't seem to get it to work.
I also tried to configure subinterface (555) on GigabitEthernet0/0/0/5 after I add the physical interface GigabitEthernet0/0/0/5 to be member of bundle 4 and this the error:
interface GigabitEthernet0/0/0/5.555
!!% 'bundlemgr' detected the 'warning' condition 'Underlying interface configuration conflicts with existing bundle membership configuration. Please refer to configuration documentation for further assistance.'
RP/0/RSP0/CPU0:gp#show bundle Bundle-Ether 4
Mon Nov 13 12:42:40.558 IST
Bundle-Ether4
Status: Down
Local links <active/standby/configured>: 0 / 0 / 1
Local bandwidth <effective/available>: 0 (0) kbps
MAC address (source): 5087.896b.ab09 (Chassis pool)
Inter-chassis link: No
Minimum active links / bandwidth: 1 / 1 kbps
Maximum active links: 64
Wait while timer: 2000 ms
Load balancing: Default
LACP: Not operational
Flap suppression timer: Off
Cisco extensions: Disabled
Non-revertive: Disabled
mLACP: Not configured
IPv4 BFD: Not configured
Port Device State Port ID B/W, kbps
-------------------- --------------- ----------- -------------- ----------
Gi0/0/0/5 Local Configured 0x8000, 0x0000 1000000
RP/0/RSP0/CPU0:gp#sh run inter bundle-ether 4
Mon Nov 13 12:43:14.853 IST
interface Bundle-Ether4
description HOT-POC
load-interval 30
RP/0/RSP0/CPU0:gp#sh run inter gigabitEthernet 0/0/0/5
Mon Nov 13 12:45:17.943 IST
interface GigabitEthernet0/0/0/5
description Hot-Bundle-POC (1 of 2)
bundle id 4 mode on
cdp
load-interval 30
bundle command is not supported on subinterfaces:
RP/0/RSP0/CPU0:petach-tikva-gp(config)#interface TenGigE0/0/1/7.555
RP/0/RSP0/CPU0:petach-tikva-gp(config-subif)#
RP/0/RSP0/CPU0:petach-tikva-gp(config-subif)#bund ?
^
% Invalid input detected at '^' marker.
So what are we missing in order to define bundles on sub-interfaces?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: