首页 > 其他分享 >What does STP message do which send from switch to PC

What does STP message do which send from switch to PC

时间:2023-03-26 13:47:22浏览次数:46  
标签:do What network layer send switch STP devices message

What does STP message do which send from switch to PC

Switches do not send STP (Spanning Tree Protocol) messages to PCs or end devices. STP is a protocol used by switches to prevent loops in a network by ensuring that there is only one active path between any two network devices. STP operates at the layer 2 (data link) level of the OSI model and is used to identify and disable redundant paths in a network.

When STP is enabled on a switch, it sends BPDU (Bridge Protocol Data Unit) messages to other switches in the network to exchange information about network topology and identify the root bridge. The root bridge is the switch with the lowest bridge ID and serves as the central point of control for the network.

PCs and end devices do not participate in STP or receive BPDU messages. They are simply connected to the switch ports and communicate with other devices on the network through the switch. The switch uses STP to manage its own internal network topology and ensure that traffic is forwarded on the most efficient path, but it does not send STP messages to end devices.

 

So the STP message is a broadcast from one switch to another switch, and the PCs or end devices will not respond it?

Yes, that's correct. STP messages are sent as broadcasts by switches to communicate with other switches in the network. The STP messages contain information about the switches and the network topology, and are used by switches to elect a root bridge and determine the best path for forwarding traffic.

PCs and end devices do not participate in the STP process and do not receive or respond to STP messages. They simply send and receive data packets through the switch, which uses STP to manage its internal network topology and ensure that traffic is forwarded on the most efficient path. The STP messages are only relevant to switches and are not part of the normal communication process between PCs and other network devices.

 

What does DTP message do which send from switch to PC

DTP (Dynamic Trunking Protocol) is a Cisco proprietary protocol that is used to negotiate the trunking mode between two switches or between a switch and another network device. DTP messages are sent between switches to dynamically enable or disable trunking on a particular port.

When a switch is connected to another switch or to a network device such as a router, it sends a DTP message to negotiate the trunking mode on the port. The DTP message includes information about the switch's capabilities and requests information about the other device's capabilities. The negotiation process determines whether the port should be configured as a trunk port or an access port.

If both devices support trunking, the port is configured as a trunk port and can carry traffic from multiple VLANs. If one or both devices do not support trunking, the port is configured as an access port and can carry traffic from only one VLAN.

It's important to note that DTP messages are only sent between switches and not between switches and PCs or other end devices. PCs and end devices are typically connected to access ports on a switch, and do not participate in the DTP negotiation process.

 

The ping process creates an ICMP echo request message and sends it to the lower process.

Yes, that's correct. When a user issues a ping command to test connectivity to another device on the network, the operating system creates an ICMP (Internet Control Message Protocol) echo request message and sends it to the destination device.

The ICMP echo request message contains information such as the source and destination IP addresses, a sequence number, and a timestamp. When the destination device receives the ICMP echo request, it sends back an ICMP echo reply message to the source device, which indicates that the destination device is reachable and responsive.

The ping process relies on the lower layers of the OSI model to transmit the ICMP messages. The ICMP echo request message is encapsulated in an IP (Internet Protocol) packet, which is then encapsulated in a data-link layer frame for transmission over the network. The lower layers of the OSI model, such as the network layer and data-link layer, are responsible for transmitting the ICMP message to the destination device and returning the response to the source device.

 

What's the PDU info?

PDU stands for Protocol Data Unit, which is a generic term used to describe the data structure or packet used by a particular network protocol. A PDU contains information about the protocol, the data being transmitted, and the addressing information needed to deliver the data to its intended recipient.

In the context of the OSI (Open Systems Interconnection) model, each layer uses a specific PDU format to encapsulate data for transmission across the network. The PDU at each layer is typically referred to by a specific name, such as a segment, packet, or frame.

For example, in the TCP/IP protocol suite, the PDU at the application layer is typically referred to as a message or data, while the PDU at the transport layer is called a segment. The PDU at the network layer is referred to as a packet, while the PDU at the data-link layer is called a frame.

Understanding the PDU for each layer of the OSI model is important for troubleshooting network issues and identifying the source of problems. By examining the PDU at each layer, network engineers can identify which layer is responsible for a particular problem and take appropriate action to resolve it.

             

 

 

 

标签:do,What,network,layer,send,switch,STP,devices,message
From: https://www.cnblogs.com/chucklu/p/17258546.html

相关文章

  • docker-安装Oracle11g
    获取镜像 在线 dockerpulloracleinanutshell/oracle-xe-11g离线tar包下载:链接: https://pan.baidu.com/s/1bRp6mSqYtMwIel1172NinA 提取码:62in  ......
  • Linux 运行dotnet Core发布的单个文件
    1、发布  2、拷贝  3、运行cd/MySelf/Core_Jun./Core.Jun.DataCollect2>&1 ......
  • 《oracle马拉松》安装与配置篇-windows安装oracle
    首先官网下载两个解压包将两个压缩包解压到同一目录下进入解压目录,运行setup安装程序程序会自动执行命令然后关闭接着自动弹出如下初始化窗口,提供电子邮件接收通知......
  • 如何在 Linux 中不输入密码运行 sudo 命令
    导读假设你在只有自己使用的计算机上运行 Linux 系统,比如在笔记本电脑上,在每次调用sudo时需要输入密码,长期下来就会觉得很乏味。因此,在本指南中,我们将描述如何配置s......
  • windows下通过redis-cli查看中文乱码
    参考:https://zhuanlan.zhihu.com/p/592166597redis数据进制问题的解决redis会将存储的中文数据转成16进制,所以我们在连接控制台的时候将redis-cli改为redis-cli--ra......
  • docker镜像体积优化,拉取最小化jre镜像并构建nodejs环境
    镜像体积优化优化前构建镜像体积:1.2GB优化后构建镜像体积:621.63MB 优化思路,1.centos镜像体积太大,有几百MB,使用alpine版本体积更小。2.只需要jre即可,无需jdk。优化前......
  • JavaScript 函数 window.matchMedia 的用途
    以下是window.matchMedia()函数的基本语法:varmediaQueryList=window.matchMedia(mediaQueryString);其中,mediaQueryString是一个字符串,表示要检查的媒体查询条件。例......
  • 浏览器对象属性 window.innerWidth 和 window.outerWidth 这两个宽度属性有何区别?
    window.innerWidth和window.outerWidth是两个浏览器对象属性,分别代表浏览器窗口的内部宽度和外部宽度。它们的区别如下:window.innerWidth:表示浏览器窗口的内部宽度......
  • markdown基础篇
    (一)markdown是什么1markdown是一款轻量级标记语言,(所谓轻量级,是相对于其他格式更为丰富的标记语言而言的,例如超文本标记语言HTML),它允许使用易读易写的文本格式编写,然后在转......
  • 五个实用的docker小工具
    在使用docker的过程中,除了dockerpull、dockerpush等常见命令外,还有一些实用的小工具帮助更好地使用docker,如:rekcodrunlikeget_command_4_run_containerwhalerdiver......