cisco — Example: Configuring Link Aggregation Control Protocol 1:1 Redundancy

Example: Configuring Layer 3 EtherChannels This example shows how to configure a Layer 3 EtherChannel. It assigns two ports to channel 5 with the LACP mode active : Device# configure terminal Device(config)# interface range gigabitethernet2/0/1 -2 Device(config-if-range)# no ip address Device(config-if-range)# no switchport Device(config-if-range)# channel-group 5 mode active Device(config-if-range)# end This example shows how to configure a cross-stack Layer 3 EtherChannel. It assigns two ports on stack member 2 and one port on stack member 3 to channel 7 using LACP active mode:

Device# configure terminal Device(config)# interface range gigabitethernet2/0/4 -5 Device(config-if-range)# no ip address Device(config-if-range)# no switchport Device(config-if-range)# channel-group 7 mode active Device(config-if-range)# exit Device(config)# interface gigabitethernet3/0/3 Device(config-if)# no ip address Device(config-if)# no switchport Device(config-if)# channel-group 7 mode active Device(config-if)# exit Example:

Configuring Link Aggregation Control Protocol Hot-Standby Ports This example shows how to configure an EtherChannel (port channel 2) that will be active when there are at least three active ports, will comprise up to seven active ports and the remaining ports (up to nine) as hot-standby ports: Device# configure terminal Device(config)# interface port-channel 2 Device(config-if)# port-channel min-links 3 Device(config-if)# lacp max-bundle 7 Example: Configuring Link Aggregation Control Protocol 1:1 Redundancy This example shows how to configure the LACP 1:1 Redundancy feature on the EtherChannel:

Device> enable Device# configure terminal Device(config)# interface port-channel 40 Device(config-if)# lacp fast-switchover Device(config-if)# lacp max-bundle 1 Device(config-if)# lacp fast-switchover dampening 60 Device(config-if)# end This is a sample output from the show lacp internal command: Device# show lacp 1 internal Flags: S - Device is requesting Slow LACPDUs F - Device is requesting Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Configuring EtherChannels Example: Configuring Layer 3 EtherChannels Configuring EtherChannels 32