Monday, March 14, 2011

PAgP and LACP modes Misconfiguration

Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int range fa0/1-2
Switch(config-if-range)#channel-protocol ?
  lacp  Prepare interface for LACP protocol
  pagp  Prepare interface for PAgP protocol

Switch(config-if-range)#channel-protocol pagp
Switch(config-if-range)#channel-group ?
  <1-48>  Channel group number

Switch(config-if-range)#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

Switch(config-if-range)#channel-group 1 mode active
 FEC_ER_DIFF_CHGP_REJECT
Command rejected (Channel protocol mismatch for interface Fa0/1 in group 1): the interface can not be added to the channel group

% Range command terminated because it failed on FastEthernet0/1
Switch(config-if-range)#
Switch(config-if-range)#channel-group 1 mode passive
 FEC_ER_DIFF_CHGP_REJECT
Command rejected (Channel protocol mismatch for interface Fa0/1 in group 1): the interface can not be added to the channel group

% Range command terminated because it failed on FastEthernet0/1
Switch(config-if-range)#
Switch(config-if-range)#channel-group 1 mode desirable ?
  non-silent  Start negotiation only after data packets received
  

Switch(config-if-range)#channel-group 1 mode auto ?
  non-silent  Start negotiation only after data packets received
  

Switch(config-if-range)#channel-group 1 mode auto
Creating a port-channel interface Port-channel 1

Switch(config-if-range)#channel-protocol lacp
Command rejected (the interface Fa0/1 is ): is already part of a channel with a different type of protocol enabled

% Range command terminated because it failed on FastEthernet0/1
Switch(config-if-range)#

No comments:

Post a Comment