Port aggregation, also known as Ethernet Channel, is a technique that combines multiple physical switch ports into a single logical connection. This method provides several advantages when connecting switches:
Key Benefits
- Increased Bandwidth: The total bandwidth equals the sum of all aggregated ports
- Enhanced Redundancy: The connection remains active as long as atleast one port in the group is operational
- Load Balancing: Traffic is automatically distributed across all active ports
Configuration Process
Before setting up port aggregation, ensure all connection between switches are in trunk mode:
// Sample configuration for port aggregation
interface range FastEthernet 0/1-2
switchport mode trunk
channel-group 1 mode on
Configuration Notes
- Use the same group number on both ends of the connection
- Ports will temporarily turn red during configuration before stabilizing
- STP (Spanning Tree Protocol) will automatically disable redundant links without port aggregation
Practical Implementation
Here's how to configure a three-switch setup with multiple VLANs:
Switch Configuration Example
// VLAN configuration
vlan 10
exit
vlan 20
exit
vlan 30
exit
// Port assignment
interface FastEthernet 0/1
switchport mode access
switchport access vlan 10
interface FastEthernet 0/2
switchport mode access
switchport access vlan 20
interface FastEthernet 0/3
switchport mode access
switchport access vlan 30
Router Configuration
For multiple VLAN support, configure router sub-interfaces:
interface FastEthernet 0/0
no shutdown
interface FastEthernet 0/0.1
encapsulation dot1Q 10
ip address 192.168.1.254 255.255.255.0
interface FastEthernet 0/0.2
encapsulation dot1Q 20
ip address 192.168.2.254 255.255.255.0
interface FastEthernet 0/0.3
encapsulation dot1Q 30
ip address 192.168.3.254 255.255.255.0
Dynamic Routing Setup
router eigrp 1
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
no auto-summary
DHCP Configuration
ip dhcp pool VLAN10
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
dns-server 192.168.1.253
ip dhcp pool VLAN20
network 192.168.2.0 255.255.255.0
default-router 192.168.2.254
dns-server 192.168.2.253
ip dhcp pool VLAN30
network 192.168.3.0 255.255.255.0
default-router 192.168.3.254
dns-server 192.168.3.253
Verification Steps
To test the configuration:
- Verify DHCP assignment on devices from different VLANs
- Test connectivity between devices in different VLANs
- Check port status on all switches