B5055.txt
上传用户:allwinjm
上传日期:2021-08-29
资源大小:99k
文件大小:2k
源码类别:

Internet/IE编程

开发平台:

Unix_Linux

  1. alex alex ~/Stp.emu>./bridge 
  2. my pid: 5055
  3. 12:52:57:clearFDB (all, start stpm)
  4. 12:52:57 B5055 > connected port p02
  5. 12:57:16 B5055 > 13:00:03:brige 0 root port became p02
  6. get-st-p
  7.  E   p01 8001 Dis  0400-00c013000001 8000-00bf13000001 8001  
  8.      p02 8002 Fwd  0400-00c013000001 0400-00c013000001 8002 R
  9.  E   p03 8003 Dis  0400-00c013000001 8000-00bf13000001 8003  
  10.  E   p04 8004 Dis  0400-00c013000001 8000-00bf13000001 8004  
  11. 13:01:30 B5055 > 
  12. 13:01:30 B5055 > get-st-b
  13. Bridge:          B5055                 State:enabled
  14. BridgeId:        8000-00bf13000001     Bridge Proirity: 32768 (0x8000)
  15. Designated Root: 0400-00c013000001
  16. Root Port:       8002 (p02
  17. ), Root Cost:     20000
  18. Max Age:         20   Bridge Max Age:       20
  19. Hello Time:       2   Bridge Hello Time:     2
  20. Forward Delay:   15   Bridge Forward Delay: 15
  21. 13:01:48 B5055 > 
  22. 13:01:48 B5055 > get-st-p 2
  23. Stp Port p02: PortId: 8002 in Bridge 'B5055':
  24. Priority:          128
  25. State:             Forwarding
  26. PathCost:          20000
  27. Designated Root:   0400-00c013000001
  28. Designated Cost:   0
  29. Designated Bridge: 0400-00c013000001
  30. Designated Port:   8002
  31. Role:              Root
  32. Tc:                n  TcAck:             n
  33. TcWhile:           0
  34. fdWhile:           0  rcvdInfoWhile:   5
  35. helloWhen:         2  rrWhile:        15
  36. mdelayWhile:       0  lnkWhile:        0
  37. rbWhile:           0  txCount:         0
  38. RSTP BPDU rx:      69
  39. CONFIG BPDU rx:    0
  40. TCN BPDU rx:       0
  41. 13:02:13 B5055 > 
  42. 13:02:13 B5055 > disconnected port p02
  43. 13:02:47:clearFDB (2, all, this port, 'disable port')
  44. 13:02:47 B5055 > 13:02:47:brige 0 became root
  45. shutdown from manager :(
  46. alex alex ~/Stp.emu>