Конфигурирование PAgP.

Switch#
Switch#en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname Switch111
Switch111(config)#interface range fastEthernet 0/1-2
Switch111(config-if-range)#switchport mode access 
Switch111(config-if-range)#switchport access vlan 100
% Access VLAN does not exist. Creating vlan 100
Switch111#
%SYS-5-CONFIG_I: Configured from console by console
Switch111#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch111(config)#inter
Switch111(config)#interface ra
Switch111(config)#interface range fa
Switch111(config)#interface range fastEthernet 0/1-2
Switch111(config-if-range)#channel-group 6 mo
Switch111(config-if-range)#channel-group 6 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
Switch111(config-if-range)#channel-group 6 mode desirable 
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (100), with Switch222 FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (100), with Switch222 FastEthernet0/2 (1).
Switch111(config-if-range)#channel-group 6 mode desirable 
Switch111(config-if-range)#
Creating a port-channel interface Port-channel 6
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
Switch111(config-if-range)#
Switch222>en
Switch222#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch222(config)#inter
Switch222(config)#interface RA
Switch222(config)#interface ra
Switch222(config)#interface range fa
Switch222(config)#interface range fastEthernet 0/1-2
Switch222(config-if-range)#swi
Switch222(config-if-range)#switchport mo
Switch222(config-if-range)#switchport mode acc
Switch222(config-if-range)#switchport mode access 
Switch222(config-if-range)#swo
Switch222(config-if-range)#swi
Switch222(config-if-range)#switchport ac
Switch222(config-if-range)#switchport access vla
Switch222(config-if-range)#switchport access vlan 100
% Access VLAN does not exist. Creating vlan 100
Switch222(config-if-range)#cha
Switch222(config-if-range)#channel-gr
Switch222(config-if-range)#channel-group 6 mo
Switch222(config-if-range)#channel-group 6 mode de
Switch222(config-if-range)#channel-group 6 mode desirable 
Switch222(config-if-range)#
Creating a port-channel interface Port-channel 6

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

%LINK-5-CHANGED: Interface Port-channel6, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel6, changed state to up

Switch222(config-if-range)#

Related Posts

Leave a Reply

Your email address will not be published.