UNDERSTANDING AND TROUBLESHOOTING THE SPANNIN...
来源:百度文库 编辑:神马文学网 时间:2024/04/29 02:13:55
UNDERSTANDING AND TROUBLESHOOTING THE SPANNING TREE PROTOCOLwhen the spanning-tree algorithm determines a port should be transitioned to the forwarding state, the following occurs:
1?the port is put into the listening state where it receives bpdus and passes them to the switch's cpu. bpdu packets from the cpu are processed. if no bpdus that suggest the port should go to the blocking state are received:
2?the port waits for the expiration of the forward delay timer. it then moves to the learning state.
3?in the learning state, the port learns station location information from the source address of packets and adds this information to its forwarding database.
4?the expiration of forwarding delay timer moves the port to the forwarding state, where both learning and forwarding are enabled. at this point, packets are forwarded by the port.
blocking state
a port in the blocking state does not forward packets. when the switch is booted, a bpdu is sent to each port in the switch putting these ports into the blocking state. a switch initially assumes it is the root, and then begins the exchange of bpdus with other switches. this will determine which switch in the network is the best choice for the root switch. if there is only one switch on the network, no bpdu exchange occurs, the forward delay timer expires, and the ports move to the listening state. all stp enabled ports enter the blocking state following switch boot.
a port in the blocking state does the following:
1?discards packets received from the network segment to which it is attached.
2?discards packets sent from another port on the switch for forwarding.
3?does not add addresses to its forwarding database
4?receives bpdus and directs them to the cpu.
5?does not transmit bpdus received from the cpu.
6?receives and responds to network management messages.
listening state
the listening state is the first transition for a port from the blocking state. listening is an opportunity for the switch to receive bpdus that may tell the switch that the port should not continue to transition to the forwarding state, but should return to the blocking state (that is, a different port is a better choice).
there is no address learning or packet forwarding from a port in the listening state.
a port in the listening state does the following:
1?discards frames received from the network segment to which it is attached.
2?discards packets sent from another port on the switch for forwarding.
3?does not add addresses to its forwarding database
4?receives bpdus and directs them to the cpu.
5?processes bpdus received from the cpu.
6?receives and responds to network management messages.
learning state
a port in the learning state prepares to participate in frame forwarding. the port enters the learning state from the listening state.
a port in the learning state does the following:
1?discards frames received from the network segment to which it is attached.
2?discards packets sent from another port on the switch for forwarding.
3?adds addresses to its forwarding database.
4?receives bpdus and directs them to the cpu.
5?processes and transmits bpdus received from the cpu.
6?receives and responds to network management messages.
forwarding state
a port in the forwarding state forwards packets. the port enters the forwarding state from the learning state when the forward delay timer expires.
a port in the forwarding state does the following:
1?forwards packets received from the network segment to which it is attached.
2?forwards packets sent from another port on the switch for forwarding.
3?incorporates station location information into its address database.
4?receives bpdus and directs them to the system cpu.
5?receives and responds to network management messages.
disabled state
a port in the disabled state does not participate in frame forwarding or stp. a port in the disabled state is virtually non-operational.
a disabled port does the following:
1?discards packets received from the network segment to which it is attached.
2?discards packets sent from another port on the switch for forwarding.
3?does not add addresses to its forwarding database.
4?receives bpdus, but does not direct them to the system cpu.
5?does not receive bpdus for transmission from the system cpu.
6?receives and responds to network management messages.
D-Link DES-3226 相关内容:报价 | 参数 | 图片 | 论坛 | 评测
1?the port is put into the listening state where it receives bpdus and passes them to the switch's cpu. bpdu packets from the cpu are processed. if no bpdus that suggest the port should go to the blocking state are received:
2?the port waits for the expiration of the forward delay timer. it then moves to the learning state.
3?in the learning state, the port learns station location information from the source address of packets and adds this information to its forwarding database.
4?the expiration of forwarding delay timer moves the port to the forwarding state, where both learning and forwarding are enabled. at this point, packets are forwarded by the port.
blocking state
a port in the blocking state does not forward packets. when the switch is booted, a bpdu is sent to each port in the switch putting these ports into the blocking state. a switch initially assumes it is the root, and then begins the exchange of bpdus with other switches. this will determine which switch in the network is the best choice for the root switch. if there is only one switch on the network, no bpdu exchange occurs, the forward delay timer expires, and the ports move to the listening state. all stp enabled ports enter the blocking state following switch boot.
a port in the blocking state does the following:
1?discards packets received from the network segment to which it is attached.
2?discards packets sent from another port on the switch for forwarding.
3?does not add addresses to its forwarding database
4?receives bpdus and directs them to the cpu.
5?does not transmit bpdus received from the cpu.
6?receives and responds to network management messages.
listening state
the listening state is the first transition for a port from the blocking state. listening is an opportunity for the switch to receive bpdus that may tell the switch that the port should not continue to transition to the forwarding state, but should return to the blocking state (that is, a different port is a better choice).
there is no address learning or packet forwarding from a port in the listening state.
a port in the listening state does the following:
1?discards frames received from the network segment to which it is attached.
2?discards packets sent from another port on the switch for forwarding.
3?does not add addresses to its forwarding database
4?receives bpdus and directs them to the cpu.
5?processes bpdus received from the cpu.
6?receives and responds to network management messages.
learning state
a port in the learning state prepares to participate in frame forwarding. the port enters the learning state from the listening state.
a port in the learning state does the following:
1?discards frames received from the network segment to which it is attached.
2?discards packets sent from another port on the switch for forwarding.
3?adds addresses to its forwarding database.
4?receives bpdus and directs them to the cpu.
5?processes and transmits bpdus received from the cpu.
6?receives and responds to network management messages.
forwarding state
a port in the forwarding state forwards packets. the port enters the forwarding state from the learning state when the forward delay timer expires.
a port in the forwarding state does the following:
1?forwards packets received from the network segment to which it is attached.
2?forwards packets sent from another port on the switch for forwarding.
3?incorporates station location information into its address database.
4?receives bpdus and directs them to the system cpu.
5?receives and responds to network management messages.
disabled state
a port in the disabled state does not participate in frame forwarding or stp. a port in the disabled state is virtually non-operational.
a disabled port does the following:
1?discards packets received from the network segment to which it is attached.
2?discards packets sent from another port on the switch for forwarding.
3?does not add addresses to its forwarding database.
4?receives bpdus, but does not direct them to the system cpu.
5?does not receive bpdus for transmission from the system cpu.
6?receives and responds to network management messages.
D-Link DES-3226 相关内容:报价 | 参数 | 图片 | 论坛 | 评测
电力“市场价格”如何形成?
股市大盘行情 新北洋:超募资金投资主营业务
如何认识当前市场价格现象
如何认识当前市场价格现象
房屋补偿不得低于市场价格
依法加大市场价格监管力度
我国大豆市场价格运行特征浅析
加强市场价格监管 确保市场供应稳定
国务院16项措施稳定市场价格
国务院16项措施稳定市场价格
人民日报(依法加大市场价格监管力度)
政策保护小麦市场价格长期趋涨
熟悉业务,精通业务
八部门联合出台措施整顿医药市场价格秩序
硬分币中“五大王”的市场价格及真伪识别
自由的市场价格与被误解的‘斯德哥尔摩综合症’
南宁房产市场价格继续飙升 土地推量掀高潮
大菱鲆市场价格的变化反思我国鱼类养殖业的发展
“怪难吃”系列风味小吃技术配方(市场价格2800)
怪难吃”系列风味小吃技术配方(市场价格2800)
聂振邦:保持中国粮食市场价格稳定的难度加大
4月12日国内PET废料市场价格
收入差距为何不断扩大 市场价格扭曲带来行业暴利
2010年5月份阿克苏市场价格监测分析