etherchannel
LACP
interface range fa0/23-24
channel-group 1 mode active
PAGP
interface range fa023-24
channel-group 1 mode desirable
interfae range fa0/23-24
channel-group 1 mode on
===============================
interface port-channel 1
확인
show etherchannel 1 summary
show ip interface brief
-------------------------------
switchport
L2 (access, trunk)
L3 (routed) ==> no swtichport, ip routing
===============================
L2 etherchannel
interface range fa0/23-24
switchport mode trunk
channel-group 1 mode active
L3 etherchannel
interface range fa0/23-24
no switchport
channel-group 1 mode active
interface port-channel 1
ip address 10.1.12.1 255.255.255.0
config)#monitor session 1 source interface fa0/1 both
config)#monitor session 1 destination interface fa0/2
Switch(config)# port-channel load-balance src-mac (source)
Switch(config)# port-channel load-balance drc-mac (destination)
=================================
실습, lab 6-1
sw13(config)#interface range fa0/23-24
sw13(config-if-range)#switchport trunk encapsulation dot1q
sw13(config-if-range)#switchport mode trunk
sw13(config-if-range)#no shut
sw13(config-if-range)#exit
sw13(config)#vlan 10
sw13(config-vlan)#name vlan_10
sw13(config-vlan)#exit
sw13(config)#vlan 20
sw13(config-vlan)#name vlan_20
sw13(config-vlan)#exit
sw13(config)#vlan 30
sw13(config-vlan)#name vlan_30
sw13(config-vlan)#exit
sw13(config)#exit
show interface trunk
show spanning-tree vlan 10
(Bloking port 확인)
sw13(config)#interface range fa0/23-24
sw13(config-if-range)#channel-group 1 mode active
Creating a port-channel interface Port-channel 1
fa0/23, fa0/24 ==> po1, bloking port 사라짐
1 Po1(SU) LACP Fa0/23(P) Fa0/24(P)
----------------------------------
실습, lab 6-3
==L3 Etherchannle ====
초기화
sw13(config)#default interface range fa0/23-24
sw13(config)#no interface port-channel 1
sw13(config)#interface range fa0/23-24
sw13(config-if-range)#no switchport
sw13(config-if-range)#channel-group 1 mode desirable
sw13(config)#interface port-channel 1
sw13(config-if)#ip address 10.1.12.1 255.255.255.0
sw13(config-if)#exit
sw13(config)#interface lo 0
sw13(config-if)#ip address 1.1.1.1 255.255.255.0
sw13(config-if)#exit
sw13(config)#exit
sw13(config)#ip routing
sw13(config)#router eigrp 109
sw13(config-router)#network 1.1.1.0
sw13(config-router)#network 10.1.12.0
sw13(config-router)#exit
-----------------------------------
교재 Advanced STP
STP(spanning-tree protocol) (802.1d) PVST
(IEEE)
==> 1. 시간(RSTP) 802.1W
==> 2. CPU(MST) 802.1S
(CISCO)
==> 1. 시간 portfast, uplinkfast, bakbonfast
1. portfast(listen, learn)생략 30 Sec ==> 0 Sec
config-if)#spanning-tree portfast
확인
show spanning-tree summary
2. uplink fast (rootport, blocking port를 가지고있는 switch에서 셋팅) 30 Sec ==> 0 Sec
config)#spanning-tree uplinkfast
확인
show spanning-tree summary
3. backbon fast (관련된 모든 스위치) 50 Sec ==> 30 Sec (maxage time 생략)
config)#spanning-tree backbonfast
확인
show spanning-tree summary
-------------------------------------
실습
sw13(config)#interface range fa0/22-23
sw13(config-if-range)#switchport trunk encapsulation dot1q
sw13(config-if-range)#switchport mode trunk
sw13(config-if-range)#no shut
sw13(config-if-range)#exit
sw13(config)#interface fa0/1
sw13(config-if)#switchport access vlan 10
sw13(config-if)#exit
b5(config)#interface fa0/0
b5(config-if)#ip address 172.16.10.1 255.255.255.0
b5(config-if)#no shut
sw13(config)#spanning-tree vlan 10 root primary



