Monday, April 15, 2013

Cisco - Port Channels


1st go into Port-channel
int port-channel 1

Enable switch port
switchport

Move into ports to add
interface gi1/1

Enable as switch port and add to port channel
switchport
channel-group 1 mode ?
  active     Enable LACP unconditionally
  auto       Enable PAgP only if a PAgP device is detected
  desirable  Enable PAgP unconditionally
  on         Enable Etherchannel only
  passive    Enable LACP only if a LACP device is detected

channel-group 1 mode active

interface gi1/2
switchport
channel-group 1 mode active

Move to Port-channel and enable dot1q encapsulation and trunk mode
int port-channel 1
switchport trunk encapsulation dot1q
switchport mode trunk

add vlans to trunk
switchport trunk allowed vlan 1-5

no shutdown ports
Cisco-6503(config)#int port-channel 1
Cisco-6503(config-if)#no shut
Cisco-6503(config-if)#int gi1/1
Cisco-6503(config-if)#no shut
Cisco-6503(config-if)#int gi1/2
Cisco-6503(config-if)#no shut


interface Port-channel1

 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address
 no shut

interface GigabitEthernet1/1

 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address
 channel-group 1 mode on
 no shut

interface GigabitEthernet1/2

 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address
 channel-group 1 mode on
 no shut

No comments:

Post a Comment

Please add comments so I may update the material to accommodate platform modification to various commands. Also if you have some real-world caveats, do please share.

Search Duke

About the Author

My photo
Central Florida, United States