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/0 host1(config-if)#speed 100 host1(config-if)#duplex full host1(config-if)#lacp passive host1(config-if)#interface fastEthernet 4/3 host1(config-if)#speed 100 host1(config-if)#duplex full host1(config-if)#lacp passive

The following commands add the Ethernet physical interfaces to a LAG bundle named chicago.

host1(config)#interface lag chicago host1(config-if)#member-interface fastEthernet 4/0 host1(config-if)#member-interface fastEthernet 4/3

The 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 pppoe host1(config)#interface lag chicago.1 host1(config-if)#encapsulation ppp host1(config-if)#ip address 10.10.1.1 255.255.0.0 host1(config-if)#ipv6 address 1::1/64

As 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.