XpressLearn Home

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Basic Port Channel

Task:

Create an access port based Etherchannel to increase bandwidth to a computer with two network cards.

Solution:

!
! Configure member ports as basic access ports
!
interface GigabitEthernet1/0/1
 description Nic 1 on Server
 ! This is a Layer2 port
 switchport
 ! Force access mode - no trunking
 switchport mode access
 ! Assign port the vlan needed for the machine
 switchport access vlan 5
 ! Don’t wait the better part of one minute to start forwarding traffic on this port
 spanning-tree portfast
 ! Assign port as a member of Port Channel 1
 ! Mode Guide: Select appropriate based on what the other end supports
 ! active - send LACP packets to negotiate Etherchannel
 ! on - do not use any negotiation and just force Etherchannel
 ! desirable - send PAgP packets to negotiate Etherchannel
 channel-group 1 mode active
 ! Configure Etherchannel load balancing algorithm
 port-channel load-balance src-mac

!
interface GigabitEthernet1/0/2
 description Nic 2 on Server
 ! This is a Layer2 port
 switchport
 ! Force access mode - no trunking
 switchport mode access
 ! Assign port the vlan needed for the machine
 switchport access vlan 5
 ! Don’t wait the better part of one minute to start forwarding traffic on this port
 spanning-tree portfast
 ! Assign port as a member of Port Channel 1
 ! Mode Guide: Select appropriate based on what the other end supports
 ! active - send LACP packets to negotiate Etherchannel
 ! on - do not use any negotiation and just force Etherchannel
 ! desirable - send PAgP packets to negotiate Etherchannel
 channel-group 1 mode active
 ! Configure Etherchannel load balancing algorithm
 port-channel load-balance src-mac
! Any changes to the member ports going forward should be done on the interface PortChannelX
! and not the individual port numbers

Author Info:

 
Scott is the Founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs Xpresslearn.
 

Scott has been working in the networking field for 13 years and has experience in all the areas: Lan, Wan, Security, Optimization, High Availability, Wireless, and others.

When he is not working on further development of Xpresslearn, Scott loves spending time with his family and has such hobbies as Camping, Fishing, Cars, and Woodworking.

Related Posts:


Leave a Reply