设为首页收藏本站language 语言切换
查看: 3391|回复: 10
收起左侧

[求助] 动态中继协议DTP在trunk链路协商完毕,不管接口是否成为trunk或没有成为是否还会发送

[复制链接]
发表于 2016-7-21 21:27:34 | 显示全部楼层 |阅读模式
5鸿鹄币
我的意思是说,协商完成,彼此接口还是否会发送DTP报文进行协商?

最佳答案

查看完整内容

negotiation时,每秒钟发一次,Negotiation后,每30秒发一次。 With DTP enabled, both sides are periodically exchanging DTP messages. Messages are sent every second during negotiation, and every 30 seconds after that. In these messages is exchanged the information about the DTP mode of the sending port (Auto,Desirable,On).
发表于 2016-7-21 21:27:35 | 显示全部楼层
negotiation时,每秒钟发一次,Negotiation后,每30秒发一次。

With DTP enabled, both sides are periodically exchanging DTP messages. Messages are sent every second during negotiation, and every 30 seconds after that. In these messages is exchanged the information about the DTP mode of the sending port (Auto,Desirable,On).
沙发 2016-7-21 21:27:35 回复 收起回复
回复

使用道具 举报

发表于 2016-7-22 13:32:53 | 显示全部楼层
sboku 发表于 2016-7-22 02:38
negotiation时,每秒钟发一次,Negotiation后,每30秒发一次。

With DTP enabled, both sides are perio ...

我越来越发现你真是很牛
板凳 2016-7-22 13:32:53 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-7-22 15:10:01 | 显示全部楼层
sboku 发表于 2016-7-22 10:38
negotiation时,每秒钟发一次,Negotiation后,每30秒发一次。

With DTP enabled, both sides are perio ...

这里除了auto、on、desirable之外,应该turnk模式也会发送DTP报文把?
地板 2016-7-22 15:10:01 回复 收起回复
回复

使用道具 举报

发表于 2016-7-22 15:37:58 | 显示全部楼层
本帖最后由 sboku 于 2016-7-22 16:42 编辑
ziansong 发表于 2016-7-22 14:32
我越来越发现你真是很牛

装牛的

我只是擅长查找和做实验而已
5# 2016-7-22 15:37:58 回复 收起回复
回复

使用道具 举报

发表于 2016-7-22 15:45:14 | 显示全部楼层
ccnafasttrack 发表于 2016-7-22 16:10
这里除了auto、on、desirable之外,应该turnk模式也会发送DTP报文把?

直接设定为Trunk的话,直接使用Trunk模式工作,我想不会发的。你可以debug,或抓包括看看。
6# 2016-7-22 15:45:14 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-7-22 17:29:24 | 显示全部楼层
sboku 发表于 2016-7-22 15:45
直接设定为Trunk的话,直接使用Trunk模式工作,我想不会发的。你可以debug,或抓包括看看。

刚才在PT上拉了两台交换机,直连后,将一台交换机的端口配置为auto,另外一个交换机端口配置为trunk,最终trunk链路协商成功。说明trunk链路也是发送dtp报文进行协商的,而auto从不主动发送DTP。GNS3不会怎么debugDTP报文。。。
7# 2016-7-22 17:29:24 回复 收起回复
回复

使用道具 举报

发表于 2016-7-23 13:21:54 | 显示全部楼层
ccnafasttrack 发表于 2016-7-22 18:29
刚才在PT上拉了两台交换机,直连后,将一台交换机的端口配置为auto,另外一个交换机端口配置为trunk,最 ...

我的理解好像有些问题。
如果不使用[switchport nonegotiate]的话,固定设定为Trunk,也会发送报文。但是在IOU和GNS上设定不了,你在实机上试试吧。

switchport nonegotiate

Use the switchport nonegotiate interface configuration command on the switch stack or on a standalone switch to specify that Dynamic Trunking Protocol (DTP) negotiation packets are not sent on the Layer 2 interface. The switch does not engage in DTP negotiation on this interface. Use the no form of this command to return to the default setting.
8# 2016-7-23 13:21:54 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-7-23 18:01:05 | 显示全部楼层
sboku 发表于 2016-7-23 13:21
我的理解好像有些问题。
如果不使用[switchport nonegotiate]的话,固定设定为Trunk,也会发送报文。但 ...

IOU4(config-if)#switchport mode ?  
  access        Set trunking mode to ACCESS unconditionally
  dot1q-tunnel  set trunking mode to TUNNEL unconditionally
  private-vlan  Set private-vlan mode
  trunk         Set trunking mode to TRUNK unconditionally

IOU4(config-if)#switchport mode
因为在IOU上似乎根本没有Dynamic模式自动协商模式?
9# 2016-7-23 18:01:05 回复 收起回复
回复

使用道具 举报

发表于 2016-7-23 18:11:59 | 显示全部楼层
ccnafasttrack 发表于 2016-7-23 19:01
IOU4(config-if)#switchport mode ?  
  access        Set trunking mode to ACCESS unconditionally
...

嗯。IOU也只是个软件而已,不一定支持所有的功能。所以最好是使用实机做实验。IOU还有好多BUG。我使用IOU做MST和RSTP的时候遇到过很多BUG。
10# 2016-7-23 18:11:59 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-7-23 18:30:03 | 显示全部楼层
sboku 发表于 2016-7-23 18:11
嗯。IOU也只是个软件而已,不一定支持所有的功能。所以最好是使用实机做实验。IOU还有好多BUG。我使用IOU ...

恩,原来如此,那看来某些问题还是得求教于真机。
11# 2016-7-23 18:30:03 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-26 05:23 , Processed in 0.490714 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表