Example: Configuring a PPPoE Subinterface for a LAG Bundle
The following example displays LACP configuration for two Fast Ethernet interfaces in slot 4. The interfaces are enabled for passive LACP. The speed and duplex characteristics are the same for both interfaces.
host1(config)#interface fastEthernet 4/0host1(config-if)#speed 100host1(config-if)#duplex fullhost1(config-if)#lacp passivehost1(config-if)#interface fastEthernet 4/3host1(config-if)#speed 100host1(config-if)#duplex fullhost1(config-if)#lacp passiveThe following commands add the Ethernet physical interfaces to a LAG bundle named chicago.
host1(config)#interface lag chicagohost1(config-if)#member-interface fastEthernet 4/0host1(config-if)#member-interface fastEthernet 4/3The following commands configure a PPPoE subinterface for the LAG bundle named chicago. In the LAG interface identification command (interface lag chicago.1), the number 1 represents the subinterface number for the PPPoE subinterface.
host1(config-if)#encapsulation pppoehost1(config)#interface lag chicago.1host1(config-if)#encapsulation ppphost1(config-if)#ip address 10.10.1.1 255.255.0.0As an alternative to using the command interface lag chicago.1 to configure the PPPoE subinterface in this example, you can also use the command pppoe subinterface lag chicago.1 to achieve the same result. For more information, see pppoe subinterface lag.