Example: Configuring an IP Interface for a LAG Bundle
The following example displays configuration of LACP for two Fast Ethernet interfaces in slot 0. The interfaces are enabled for active LACP. The speed and duplex characteristics are the same for both interfaces.
host1(config)#interface fastEthernet 0/0host1(config-if)#speed 100host1(config-if)#duplex fullhost1(config-if)#lacp activehost1(config-if)#interface fastEthernet 0/5host1(config-if)#speed 100host1(config-if)#duplex fullhost1(config-if)#lacp activeThe following commands create a virtual router, add the Ethernet physical interfaces to a LAG bundle named bundleBoston, and assign an IP address and mask to the bundle.
host1(config)#virtual-router bostonhost1:boston(config)#interface lag bostonhost1:boston(config-if)#member-interface fastEthernet 0/0host1:boston(config-if)#member-interface fastEthernet 0/5host1:boston(config-if)#ip address 1.1.1.1 255.255.255.0