Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

17581

December 27th, 2012 13:00

Clearing a port config?

 

This might be an easy one but I can't figure out how to clear an individual port config for example, I want to delete this port config:

interface ethernet 1/g1
dhcp l2relay
switchport mode trunk
switchport trunk allowed vlan add 100,200,300

I want interface ethernet 1/g1 to be as though I never configured it :-)

I looked a bit onine but nothing really turned up besides resetting it back to factory default.  I went into commands I used to set the port, "dhcp l2relay ?" but no joy as to a clue or tip on how to undo dhcp l2relay or wipe the individual port back to being unconfigured.

Thanks in advance!

 

5 Practitioner

 • 

274.2K Posts

December 28th, 2012 05:00

There is not a command that will clear the config for a single port. For most commands you can simply place "no" in front of the command to remove it. So for dhcp l2relay you would run.

no dhcp l2relayTo get rid of it.

No Events found!

Top