需要 DTP 模式并开启

网络工程 思科 转变 交换 第 2 层 树干
2022-02-16 07:28:06

on 模式仍然可以协商(发送/接收 DTP),直到我将其设置为不协商,所以 on 和 Desirable 之间的区别是什么。

请举个例子:))

1个回答

我认为您将 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- 禁用 DTP
  • switchport trunk encapsulation <encap>- 禁用 DTP 中继封装协商