on 模式仍然可以协商(发送/接收 DTP),直到我将其设置为不协商,所以 on 和 Desirable 之间的区别是什么。
请举个例子:))
on 模式仍然可以协商(发送/接收 DTP),直到我将其设置为不协商,所以 on 和 Desirable 之间的区别是什么。
请举个例子:))
我认为您将 DTP 与 PAgP 混淆了。DTP 没有switchport mode on,而 PAgP 有channel-group <num> mode on. DTP 对于交换机端口始终处于打开状态,除非您使用 将其关闭switchport nonegotiate。
DTP 命令是:
switchport mode trunk- 启动 DTP(总是中继)switchport mode access- 启动 DTP(从不中继)switchport mode dynamic desirable- 启动并监听 DTP(协商中继)switchport mode dynamic auto- 侦听 DTP(协商中继)switchport nonegotiate- 禁用 DTPswitchport trunk encapsulation <encap>- 禁用 DTP 中继封装协商