Pcornel
H3 · Practical network exams · Cisco IOS / IOS XE

EtherChannel · Finals

Configuration first, verification second, theory third. Reference templates require task-specific adaptation.

Content version 1.1-draft

Keyboard shortcuts

/ Finals search · Ctrl K global command palette · Alt E Exam Mode · Alt G Golden Scripts · Alt T Exam Topics · Alt V Verify · Esc close dialog.

Case Skills Exam

Quick explanation

EtherChannel bundles compatible physical links into a single logical port-channel. LACP and PAgP negotiate membership; static mode does not negotiate.

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Use compatible member speeds, duplex and switchport or routed settings.
  • Use the same protocol and compatible negotiation modes at both endpoints.
  • For a new group, use an unused port-channel ID; do not overwrite unrelated interfaces.
TRUNK – LACP active / active Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
TRUNK – LACP active / passive Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode passive
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
TRUNK – PAgP desirable / desirable Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
  • PAgP support is platform-dependent.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
TRUNK – PAgP desirable / auto Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
  • PAgP support is platform-dependent.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode auto
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
TRUNK – Static on / on Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
  • Both endpoints must be explicitly configured on; incorrect static bundling can cause loops or loss of traffic.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
ACCESS – LACP active / active Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ACCESS – LACP active / passive Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode passive
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ACCESS – PAgP desirable / desirable Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ACCESS – PAgP desirable / auto Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode auto
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ACCESS – Static on / on Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Both endpoints must be explicitly configured on; incorrect static bundling can cause loops or loss of traffic.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ROUTED – LACP active / active Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – LACP active / passive Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode passive
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – PAgP desirable / desirable Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – PAgP desirable / auto Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode auto
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – Static on / on Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Both endpoints must be explicitly configured on; incorrect static bundling can cause loops or loss of traffic.
enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – LACP active / active (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
ROUTED – LACP active / passive (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode passive
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
ROUTED – PAgP desirable / desirable (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
ROUTED – PAgP desirable / auto (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode auto
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
ROUTED – Static on / on (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Both endpoints must be explicitly configured on; incorrect static bundling can cause loops or loss of traffic.
enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end

Show / Verify

Primary verification Section link
show etherchannel summary
Example output
1   Po1(SU)   LACP   Gi0/1(P) Gi0/2(P)

S = Layer 2, U = in use, P = bundled; routed Port-channels normally show RU.

Detailed verification Section link
show etherchannel port-channel
Example output
Port-channel: Po1

Inspect the logical bundle and active members.

Detailed verification Section link
show interfaces trunk
Example output
Po1   on   802.1q   trunking   99

For a trunk bundle, verify the logical Port-channel and VLANs.

Detailed verification Section link
show lacp neighbor
Example output
Channel group 1 neighbors

Use on LACP bundles to inspect the partner.

Detailed verification Section link
show pagp neighbor
Example output
Channel group 1 neighbors

Use on PAgP bundles to inspect the partner.

Detailed verification Section link
show ip interface brief
Example output
Port-channel1  192.0.2.1  YES manual  up  up

For a routed IPv4 bundle, verify the logical interface.

Detailed verification Section link
show ipv6 interface brief
Example output
Port-channel1  [up/up]
    2001:DB8::1

For a routed IPv6 bundle, inspect its logical interface.

Connectivity verification

Layer 2 endpoint test

After sending traffic between the intended hosts, verify that the expected MAC addresses are learned on the correct VLAN and interface.

show mac address-table vlan [VLAN-ID]
show interfaces [INTERFACE] switchport

Common mistakes

  • Passive/passive or auto/auto cannot negotiate a bundle.
  • Mismatched VLANs, trunk settings, or port types.
  • IP addressing physical members instead of the routed logical Port-channel.
  • Mixing PAgP and LACP on opposite ends.

Quick reference and default values

EtherChannel negotiation
LocalRemoteResult
ActiveActive/passiveLACP
PassivePassiveNo
DesirableDesirable/autoPAgP
AutoAutoNo
OnOnStatic
LACPPAgPIncompatible
EtherChannel flags
FlagMeaning
SLayer 2
RLayer 3
UIn use
PBundled
IStand-alone
DDown
sSuspended

Configuration comparison

LACP vs PAgP vs static — LACP uses active/passive; PAgP desirable/auto; static on requires explicit agreement without negotiation.

Remove configuration — separate, potentially disruptive actions

Remove bundle membership and logical interface

Disrupts the logical link and may expose independent Layer 2 links. Assess both ends before removal.

enable
configure terminal
interface range [INTERFACE-RANGE]
 no channel-group [CHANNEL-GROUP]
 exit
no interface port-channel [CHANNEL-GROUP]
end

Related reference

Networking technical reference · Interface types · Connectivity verification
Documentation references consulted

Reset checklist?

Command block

Back to Top

Confirmation

Confirm action

Continue?