Escolar Documentos
Profissional Documentos
Cultura Documentos
SW1 and SW2 are connected by two crossover cables, one cable connecting port
fa0/1 on both switches and the other connecting fa0/2 on both switches.
Auto : This mode activate PAgP. This is Cisco proprietary implementation (for
network with only Cisco Switches), it places a LAN port into a passive negotiating
state, in which the port responds to PAgP packets it receives but does not initiate
PAgP negotiation. (Default).
e.g configuration:
SW1(config)#interface range f0/1-2
SW1(config-if-range)#channel-group 1 mode auto
SW1(config-if-range)#end
SW1#
Desirable: This mode also activate PAgP. This is Cisco proprietary implementation
and
the most recommended mode, it places a LAN port into an active negotiating state, in
which the port initiates negotiations with other LAN ports by sending PAgP
packets.
e.g configuration:
SW1(config)#interface range f0/1-2
SW1(config-if-range)#channel-group 1 mode desirable
SW1(config-if-range)#end
SW1#
Active activate LACP. This is the industry standard implementation (network with
different vendor switches), This mode places a port into a passive negotiating state,
in which the port responds to LACP packets it receives but does not initiate LACP
negotiation. (Default).
e.g configuration:
SW1(config)#interface range f0/1-2
SW1(config-if-range)#channel-group 1 mode active
SW1(config-if-range)#end
SW1#
Passive activate LACP.This is the industry standard implementation (network with
different vendor switches). This mode places a port into an active negotiating state,
in which the port initiates negotiations with other ports by sending LACP packets.
e.g configuration:
SW1(config)#interface range f0/1-2
SW1(config-if-range)#channel-group 1 mode passive
SW1(config-if-range)#end
SW1#
Mode on forces the interface to channel traffic without PAgP or LACP. You can
only use the on mode if only a LAN port group in the on mode is connected to
another LAN port group in the on mode.
e.g configuration :
SW1(config)#interface range f0/1-2
SW1(config-if-range)#channel-group 1 mode on
SW1(config-if-range)#end
SW1#
After your configuration, use the show show spanning-tree command to view
spanning-tree for VLAN 1; you will see only a port-channel, the spanning-tree
cost and you will also notice that the port-channel is now being considered as
spanning-tree type shared.
You can add more physical ports, Spanning tree will see the logical port-channel
as a single port.
Switch0# show spanning-tree
VLAN0001
Spanning tree enabled protocol rstp