STP:
•hello: hello – Bridge Protocol Data Unit (BPDU),
. 2 ,
1 10 .
•forward delay: Forward delay () – . 15 , 4 30 .
•max age: Max age () – , , BPDU. 20 6 40 .
BPDU .
BPDU, (Message Age). . BPDU .
BPDU ,
BPDU 1. ,
, BPDU.
802.1d 802.1w |
, |
|
. 802.1d |
– |
, |
|
1. |
802.1w, |
|
1/16 |
1, |
. |
|
, |
MaxAge(20 ) Hello |
(2 ), |
18 |
, |
37 |
, |
, |
|
. |
• |
: |
|
STP, 802.1d: 30 . |
|
RSTP, 802.1w: 2-3 . |
• |
: |
|
STP, 802.1d: 7 |
|
RSTP, 802.1w: 18 |
•802.1w 802.1d. ,
.
• RSTP.
•,
RSTP.
•PC1 PC2 PC2 PC1 .
, 1-2
. ()
•?
DES-3324SR_A:
config ipif System ipaddress 10.1.1.10/8 enable stp
config stp version rstp
# , A , .
# = 32768. config stp priority 4096 instance_id 1 config stp ports 1:5-1:24 edge true
DGS-3324SR_B:
config ipif System ipaddress 10.1.1.11/8 enable stp
config stp version rstp
config stp ports 1:5-1:24 edge true
:
1.PC1 PC2 PC2 PC1 .
2. 1. 1-2 ( 1-
2ping) 1-2 .
3. 1 . 1-2 ping.
RSTP:
Spanning Tree ().
VLAN,
. , VLAN
,
. « » VLAN.
: Multiple Spanning Tree, MSTP (IEEE 802.1s)