没有合适的资源?快使用搜索试试~ 我知道了~
switching_tables.pdf
需积分: 9 1 下载量 183 浏览量
2020-11-19
16:26:37
上传
评论
收藏 80KB PDF 举报
温馨提示
试读
6页
本文档描述了交换机的交换表相关内容,也就是MAC地址和交换机端口对应的相关理论知识,包括表项的新增和删除等。
资源推荐
资源详情
资源评论
Switching Tables v1.11 – Aaron Balchunas
* * *
All original material copyright © 2014 by
Aaron Balchunas (aaron@routeralley.com),
unless otherwise noted. All other material copyright © of their respective owners.
This material may be copied and used freely, but may not be altered or sold without the expressed written
consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.
1
- Switching Tables -
Layer-2 Forwarding Overview
Layer-2 devices build hardware address tables, which at a minimum
contain the following:
• Hardware addresses for hosts (such as Ethernet MAC addresses)
• The port each hardware address is associated with
Using this information, Layer-2 devices will make intelligent forwarding
decisions based on the frame (or data-link) header. A frame can then be
forwarded out only the appropriate destination port, instead of all ports.
Layer-2 forwarding was originally referred to as bridging. Bridging is a
largely deprecated term (mostly for marketing purposes), and Layer-2
forwarding is now commonly referred to as switching.
Switching Queues
Layer-2 switches utilize queues to store incoming and outgoing frames.
Consider the following diagram:
1. The switch receives a frame on Port 1, from HostA destined for HostB.
2. The frame is placed in Port 1’s ingress queue.
3. The switch performs a lookup on the destination hardware address -
HostB in this example.
4. The switch determines that the appropriate destination port for HostB is
Port 2.
5. The frame is placed in Port 2’s egress queue.
If the switch had no knowledge of HostB’s hardware address, the frame
would be placed in the egress queue of all ports except for the originating
port, and thus flooded to the entire network.
A port can contain multiple ingress or egress queues. This allows critical
traffic to be prioritized over less important traffic.
资源评论
一鸣惊人的啦
- 粉丝: 8
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功