| 场景 | 混合厂商互连、协商问题治理 |
|---|---|
| 适用 | 以太网电口 |
| 命令族 | negotiation auto / speed auto + duplex auto / speed auto + duplex auto |
华为 VRP
华为 VRP
[Huawei-GigabitEthernet0/0/1] negotiation auto ! 开启自协商(默认)
! 关闭自协商:undo negotiation auto,然后显式配置 speed/duplex
[Huawei-GigabitEthernet0/0/1] display this | include negotiation思科 IOS
思科 IOS
SW-CORE-01(config-if)# speed auto
SW-CORE-01(config-if)# duplex auto
! 思科没有单独的自协商命令,auto 即代表自协商
! ignore 无H3C Comware
H3C Comware
[H3C-GigabitEthernet1/0/1] speed auto
[H3C-GigabitEthernet1/0/1] duplex auto
! 与思科一致:auto 即自协商;显示为 auto/auto对照关系:华为 negotiation auto ≈ 思科/H3C speed auto + duplex auto。华为关闭自协商要记得 undo negotiation auto 后再配 fixed 速率双工;思科/H3C 直接去掉 auto 即为强制。