How to erase interface configuration with one command on switches

Issue Description

This document describes how to erase interface configuration with one command on switches

Alarm Information

none.

Handling Process

<Quidway> system-view
[Quidway] interface gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1] display this
#
interface GigabitEthernet0/0/1
port hybrid pvid vlan 50
port hybrid tagged vlan 50
loopback-detect enable
port-security enable
port-security aging-time 30
#
return
[Quidway-GigabitEthernet0/0/1] quit
[Quidway] clear configuration interface gigabitethernet 0/0/1
Warning: All configurations of the interface will be cleared, and its state will
be shutdown. Continue? [Y/N] :y…
Info: Total execute 5 command(s), 5 successful, 0 failed.
[Quidway] interface gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1] display this
#
interface GigabitEthernet0/0/1
shutdown
#
return

Huawei popular switch:

S2300 Switch

S2700 Switch

S5700 Switch

S6700 Switch

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s