channel-protocol {pagp|lacp}

Answered Question
May 15th, 2009
User Badges:

I've been using command


channel-group {#} mode {on|desirable|...etc}


for port-channel negotiation. However, I saw this command


channel-protocol {pagp|lacp}


on Cisco doco but I'm not really sure the implication compared with channel-group command. Is there something superfluous or there is more about it?


Regards,


David Sudjiman

Correct Answer by Edison Ortiz about 8 years 1 week ago

If you enter "channel-group mode passive" under the interface, entering "channel-protocol pagp" won't change the etherchannel mode.


In the same token, on this scenario neither LACP nor PAgP will work as the channel-protocol and channel-group must match if you decide to use channel-protocol command.


__


Edison.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3.5 (2 ratings)
Loading.
iyde Sat, 05/16/2009 - 03:06
User Badges:
  • Silver, 250 points or more

Hi.

Channel-protocol command is for setting whether you want to sue Cisco's original, but proprietary, PAgP protocol for etherchanneling or you will use the IEEE standard LACP protocol.

Depending on protocol you keywords for the mode command will differ (LACP has active and passive where PAgP has desirable and auto).

HTH

glen.grant Sat, 05/16/2009 - 04:30
User Badges:
  • Purple, 4500 points or more

I have never really understood why that command is there , if you use channel-group mode desirable it is pagp and if you use channel-group mode active it is lacp so why is the extra command even there as they work without it ?

Edison Ortiz Sat, 05/16/2009 - 12:05
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

David,


Use the channel-protocol command only to restrict a channel to LACP or PAgP. If you set the protocol by using the channel-protocol command, the setting is not overridden by the channel-group interface configuration command.


You must use the channel-group interface configuration command to configure the EtherChannel parameters. The channel-group command also can set the mode for the EtherChannel.


You cannot enable both the PAgP and LACP modes on an EtherChannel group.


PAgP and LACP are not compatible; both ends of a channel must use the same protocol.


http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_46_se/command/reference/cli1.html#wp2748472


HTH,


__


Edison.

davidsudjiman Tue, 05/19/2009 - 04:50
User Badges:

Sorry, I still don't understand this

"If you set the protocol by using the channel-protocol command, the setting is not overridden by the channel-group interface configuration command."


Could you please elaborate?


Correct Answer
Edison Ortiz Tue, 05/19/2009 - 05:02
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

If you enter "channel-group mode passive" under the interface, entering "channel-protocol pagp" won't change the etherchannel mode.


In the same token, on this scenario neither LACP nor PAgP will work as the channel-protocol and channel-group must match if you decide to use channel-protocol command.


__


Edison.

Actions

This Discussion