华为生成树协议STP分析过程与配置方?- 百度文库 ر

4. [SW1]int g0/0/14

5. [SW1-GigabitEthernet0/0/14]shutdown 6. SW2

7. [SW2]int g0/0/13

8. [SW2-GigabitEthernet0/0/13]shutdown

SW4stpģʽΪstpģʽ

[plain] view plain copy

1. [SW4]undo stp region-configuration 2. [SW4]stp mode stp

һ´ʱsw4stp״̬STPSW4MSTPSW1SW2SW3еʵ0ͬCIST

ٿһSW2stp״̬SW2ΪCISTܸʵ0ĸ

ڽSW4stp priorityΪ4096

[plain] view plain copy

1. [SW4]stp priority 4096

ٿSW4stp״̬SW4ĿڶDPʱSW4CISTܸ

13ָ˿ڱ

һIJSW4ѾܸpriorityΪ4096Ǵʱһ̨ǴӱĵطߵĽԱδ

ã˽priorityС̨豸ͻܸռȥӶstpԼ綪£ŵĶ˿˱ԣͻֹ

[plain] view plain copy

1. [SW4]int g0/0/1

2. [SW4-GigabitEthernet0/0/1]stp root-protection 3. [SW4]int g0/0/24

4. [SW4-GigabitEthernet0/0/24]stp root-protection

ʱǽSW2stpȼΪ0Ƿռ

[plain] view plain copy

1. [SW2]stp instance 0 priority 0

ͼǷSW4Ȼʵ0ĸ

14ñԵ˿ڱ

У뽻ĽӿҪóɱԵ˿ڣΪ뽻ֻӷյBPDUһн

˱ԵӿڣԵӿھͻյBPDUʱͻԶرմ˽ӿڡ

ȽSW1G0/0/10ڴ򿪣ȻϱԵȫ¿bpdu

[plain] view plain copy

1. [SW1]int g0/0/10

2. [SW1-GigabitEthernet0/0/10]undo shutdown

3. [SW1-GigabitEthernet0/0/10]stp edged-port enable 4. [SW1-GigabitEthernet0/0/10]quit 5. [SW1]stp bpdu-protection

ʱյ澯ͼG0/0/10ڱرˣԭյbpdu packet

ٿ´ʱG0/0/10ڵ״̬ʾAdministratively DOWN