STP (802.1D) PVST

 1. RSTP
    root port
    designated port
    alternative port (root port) - 원래 blocking 이지만 alternative로 만들어둠
    backup port (designated port)

    edge port (listen , learn) 생략

    config)#spanning-tree mode rapid-pvst

 2. MSTP
   
    MST (name, revision, group)
    D1
      spanning-tree mode mst ==> (RSTP 자동 enable)
      spanning-tree mst configuration  
        name BCMSN
        revision 1
        instance 1 vlan 1-500
        instance 2 vlan 500-1000
     
      show spanning-tree mst 1
      show spanning-tree mst 2

      spannign-tree mst 1 root primary
      spanning-tree mst 2 root secondary
     
    STP 1000 ===> STP 2개

      show spanning-tree mst configuration
     



-----------------

IOS & Catos 차이

IOS

config)#vlan 10
config-vlan)#name 10f
show vlan

interface fa0/1
  switchport trunk encapsulation dot1q     -- 802.1Q, isl 둘다 지원
  switchport trunk encapsulation isl
  switchport mode trunk

vtp domain BCMSN
vtp mode server

show spanning-tree vlan 1

Catos

#vlan database
-vlan)#vlan 10 name 10F

show vlan-switch

interface fa0/1             -- 802.1Q만 지원
  switchport mode trunk
  no shut

vlan database
  vtp domain BCMSN
  vtp server

  show spanning-tree vlan 1 brief

-----------------

실습 LAB _ 05


sw13(config)#interface fa0/23
sw13(config-if)#switchport trunk encapsulation isl
sw13(config-if)#switchport mode trunk
sw13(config-if)#no shut
sw13(config-if)#exit
sw13(config)#interface fa0/24
sw13(config-if)#switchport trunk encapsulation isl
sw13(config-if)#switchport mode trunk
sw13(config-if)#no shut

sw13#show interface trunk

sw13(config)#vtp domain BCMSN
Domain name already set to BCMSN.
sw13(config)#vtp mode server
Device mode already VTP SERVER.

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)#vlan 40
sw13(config-vlan)#name VLAN_40
sw13(config-vlan)#exit
sw13(config)#vlan 50
sw13(config-vlan)#name VLAN_50
sw13(config-vlan)#exit
sw13(config)#vlan 60
sw13(config-vlan)#name VLAN_60
sw13(config-vlan)#exit

sw13(config)#spanning-tree mode rapid-pvst

sw13(config)#spanning-tree mode mst
sw13(config)#spanning-tree mst configuration
sw13(config-mst)#name BCMSN
sw13(config-mst)#revision 1
sw13(config-mst)#instance 1 vlan 10, 20, 30
sw13(config-mst)#instance 2 vlan 40, 50, 60
sw13(config-mst)#exit
sw13(config)#spanning-tree mst 1 root primary
sw13(config)#exit

sw13#show spanning-tree mst 1
sw13#show spanning-tree mst configuration
   
sw13(config)#interface fa0/24
sw13(config-if)#spanning-tree mst 2 cost 20000   (default 200000)
(mst 2 FA0/24 Blocking -> FA0/23 Blocking)



================
교재
EhterChannel

trunk
  802.1Q (IEEE)
  ISL (CISCO)

etherchannel
  LACP (IEEE) 802.3ad
  PAGP (CISCO)

interface range fa0/23-24
  channel-protocol lacp
  channel-group 1 mode (active, passive)
 
interface range fa0/23-24
  channel-protocol pagp
  channel-group 1 mode (desirable, auto)

interface range fa0/23-24
  channel-group 1 mode on



sw13(config)#interface range fa0/23-24
sw13(config-if-range)#channel-protocol lacp
sw13(config-if-range)#channel-group 1 mode active
Creating a port-channel interface Port-channel 1

sw13#show spanning-tree mst 2
Po1              Root FWD 100000    128.56   P2p

cost도 100000으로 줄어들었음

확인
show etherchannel 1 summary
interface port-channel 1

삭제
default interface range fa0/23-24
(configuration 삭제)
no interface port-channel 1
(논리적 인터페이스 삭제)



-------------
Multilayer Switch(L3, L2)
  switchport mode access
  switchport mode trunk
  routed port (no switchport) => switchport


  sw13(config)#interface fa0/23
  sw13(config-if)#no switchport   (*)
  sw13(config-if)#ip address 10.1.12.1 255.255.255.0
  sw13(config-if)#exit

  ip routing  (*)
  router eigrp 109


확인
show interface status

실습 LAB 6-2

sw13(config)#interface lo 0
sw13(config-if)#ip address 1.1.1.1 255.255.255.0
sw13(config-if)#exit

sw13(config)#interface fa0/23
sw13(config-if)#no switchport
sw13(config-if)#ip address 10.1.12.1 255.255.255.0
sw13(config-if)#exit

sw13(config)#ip routing
sw13(config)#router eigrp 109
sw13(config-router)#network 1.1.1.0 0.0.0.255
sw13(config-router)#network 10.1.12.0 0.0.0.255
sw13(config-router)#exit

확인
show ip route
ping 2.2.2.2

실습 LAB 6-3

L2 etherchannel
Interface range fa0/23-24
  channel-group 1 mode active
  switchport trunk encapsulation dot1q
  switchport mode trunk

L3 etherchannel
Interface range fa0/23-24
  no swithport
  channel-group 1 mode active
Interface port-channel 1
  ip add 10.1.12.1 255.255.255.0

ip routing
router eigrp 109
  network 10.1.12.0 0.0.0.255

2008/06/12 19:50 2008/06/12 19:50
dhappy 이 작성.

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

Trackback RSS : http://dhappy.net/rss/trackback/79

Trackback ATOM : http://dhappy.net/atom/trackback/79


« Prev : 1 : ... 374 : 375 : 376 : 377 : 378 : 379 : 380 : 381 : 382 : ... 413 : Next »