11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

pagp learn-methodChapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>spagp learn-methodUse the pagp learn-method interface configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>aloneswitch to learn the source address of incoming packets received from an EtherChannel port. Use the noform of this comm<strong>and</strong> to return to the default setting.pagp learn-method {aggregation-port | physical-port}no pagp learn-methodSyntax Descriptionaggregation-portphysical-portSpecify address learning on the logical port-channel. The switch sendspackets to the source using any of the ports in the EtherChannel. This settingis the default. With aggregate-port learning, it is not important on whichphysical port the packet arrives.Specify address learning on the physical port within the EtherChannel. Theswitch sends packets to the source using the same port in the EtherChannelfrom which it learned the source address. The other end of the channel usesthe same port in the channel for a particular destination MAC or IP address.DefaultsThe default is aggregation-port (logical port channel).Comm<strong>and</strong> ModesInterface configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesThe learn method must be configured the same at both ends of the link.NoteThe switch supports address learning only on aggregate ports even though the physical-port keyword isprovided in the comm<strong>and</strong>-line interface (CLI). The pagp learn-method <strong>and</strong> the pagp port-priorityinterface configuration comm<strong>and</strong>s have no effect on the switch hardware, but they are required for PAgPinteroperability with devices that only support address learning by physical ports, such as the<strong>Catalyst</strong> 1900 switch.When the link partner to the switch is a physical learner, we recommend that you configure the switchas a physical-port learner by using the pagp learn-method physical-port interface configurationcomm<strong>and</strong> <strong>and</strong> to set the load-distribution method based on the source MAC address by using theport-channel load-balance src-mac global configuration comm<strong>and</strong>. Use the pagp learn-methodinterface configuration comm<strong>and</strong> only in this situation.2-412<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!