华为交换机清除配置

1.清除端口配置

```(cmd)
<huawei>system-view
[huawei]interface gigabitethernet 0/0/? (?:表示第几个端口)
[huawei-GigabitEthernet0/0/?]clear configuration interface gigabitethernet 0/0/?
清除该端口的配置后,该端口处于关闭状态,可以用以下命令重新开启。
[huawei-GigabitEthernet0/0/?]undo shutdown

# 2.清除交换机所有配置
```(cmd)
<huawei>reset current configuration

猜你喜欢

转载自blog.51cto.com/huanghai/2129693