一、华三¶
[H3C]int g1/2/0/1
[H3C-GigabitEthernet1/2/0/1]default
This command will restore the default settings. Continue? [Y/N]:y
二、华为¶
[Huawei]clear configuration interface g0/0/1
Warning: All configurations of the interface will be cleared, and its state will be shutdown. Continue? [Y/N] :y
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]undo shutdown
注意:华为清除完接口配置后,接口状态为关闭的!!!
三、思科¶
Cisco(config)#default interface fa0/1