For the Horde!!

2014. 11. 05. Rapid spanning-tree 테스트

 

 

 Sw1 세팅

 

 RSTP 설정

 S1(config)#spanning-tree vlan 1 priority 0

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

 S2(config)#interface range Fastethernet 1/1-2

 S2(config-if-range)# spanning-tree portfast

 

 

 Sw1 결과

 

spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 1 priority 0
!
vlan internal allocation policy ascending
!
!
!

interface FastEthernet0/5
 switchport trunk encapsulation dot1q
 switchport mode trunk
 shutdown
!
interface FastEthernet0/6
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/7
 switchport trunk encapsulation dot1q
 switchport mode trunk
!

!

interface FastEthernet0/8
 switchport trunk encapsulation dot1q
 switchport mode trunk
 shutdown
 spanning-tree portfast

 

 Ping 테스트

Sw1#sh spanning-tree vlan 10

VLAN0010
  Spanning tree enabled protocol rstp
  Root ID    Priority    32778
             Address     000d.bca8.ac00
             Cost        19
             Port        7 (FastEthernet0/7)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32778  (priority 32768 sys-id-ext 10)
             Address     000d.bcb7.a200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/6               Desg FWD 19        128.6    P2p
Fa0/7               Root FWD 19        128.7    P2p
Fa0/8               Altn BLK 19        128.8    P2p


Sw1#sh spanning-tree vlan 10

VLAN0010
  Spanning tree enabled protocol rstp
  Root ID    Priority    32778
             Address     000d.bca8.ac00
             Cost        19
             Port        7 (FastEthernet0/7)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32778  (priority 32768 sys-id-ext 10)
             Address     000d.bcb7.a200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/6               Desg FWD 19        128.6    P2p
Fa0/7               Root FWD 19        128.7    P2p
Fa0/8               Altn BLK 19        128.8    P2p

 

 R1 

 

interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/0.1
 encapsulation dot1Q 1 native
 ip address 10.1.1.1 255.255.255.0
!
interface FastEthernet0/0.10
 encapsulation dot1Q 10
 ip address 10.1.10.1 255.255.255.0
!
interface FastEthernet0/0.20
 encapsulation dot1Q 20
 ip address 10.1.20.1 255.255.255.0
!

'Study > Cisco' 카테고리의 다른 글

스태틱 라우팅  (0) 2014.11.10
2014. 11. 06. Routing  (0) 2014.11.06
2014. 11. 04. Switchport // 라우터 설정 // netive  (0) 2014.11.04
2014. 11. 03. switchport // 라우터 설정  (0) 2014.11.03
루트스위치  (0) 2014.10.28