1. 问题描述
USG6000E系列防火墙通过命令行进入接口配置模式后,无法使用speed、negotiate等命令切换光口的协商速率。
2. 原因分析
USG6000E系列防火墙在端口速率切换的配置方式上与交换机存在差异,交换机的速率配置逻辑并不适用于防火墙,因此需通过SET命令方式进行配置。
3. 处理步骤
注意:此操作会进行接口重启,请在业务低峰期执行!
3.1 进入系统视图配置接口模式为千兆接口(切换10GE按照相同方式执行即可)
system-view
Enter system view, return user view with Ctrl+Z.
[USG6525E]set device port-config-mode ge
Warning: XGigabitEthernet0/0/0 and XGigabitEthernet0/0/1 will switch to the 1Gbit/s eSFP optical module mode.
This operation may cause the port status to change between Up and Down once. Continue?[Y/N]y
选择Y
3.1 进入系统视图配置接口模式为40GE接口(切换100GE按照相同方式执行即可)
system-view
Enter system view, return user view with Ctrl+Z.
[USG6680E]set device port-config-mode 40g-port enable
Warning: The interface 40GE0/0/2 and 40GE0/0/3 will be available, and XGE0/0/20 ~ XGE0/0/27 will be unavailable.
The original interface and configuration will be lost, and the device will reboot right now. Continue? [Y/N] y
选择Y