Clearing a Port

Updated July 13, 2022. Written for LMS Version 6.2.

When you disconnect a device from a port, the Local Manager retains the device's configuration data. You can clear this data and return the port to its factory default configuration using the command config system clear port from the system resource.

[admin@UplogixLM]# port 1/1
AUS-CORE cisco 2610 IOS 12.2(26)
         AUS-CORE Primary Cisco Router
[admin@UplogixLM] (port1/1)]# exit
[admin@UplogixLM]# config system clear port 1/1
Clearing port1/1 will delete all associated data.
Continue? (y/n): y
port1/1 cleared

Navigate to the port to verify it has been reset to factory defaults:

[admin@UplogixLM]# port 2/1
native

Use an asterisk to clear all ports on a slot. This automatically assumes there are 16 ports on the card, instead of detecting the hardware in use.

[admin@UplogixLM]# config sys clear port 3/*
Clearing port3/* will delete all associated data.
Continue? (y/n): y
Waiting for any scheduled tasks to complete.
port3/1 cleared
Waiting for any scheduled tasks to complete.
port3/2 cleared
Waiting for any scheduled tasks to complete.
port3/3 cleared
Waiting for any scheduled tasks to complete.
port3/4 cleared
Waiting for any scheduled tasks to complete.
port3/5 cleared
Waiting for any scheduled tasks to complete.
port3/6 cleared
Waiting for any scheduled tasks to complete.
port3/7 cleared
Waiting for any scheduled tasks to complete.
port3/8 cleared
Waiting for any scheduled tasks to complete.
port3/9 cleared
Waiting for any scheduled tasks to complete.
port3/10 cleared
Waiting for any scheduled tasks to complete.
port3/11 cleared
Waiting for any scheduled tasks to complete.
port3/12 cleared
Waiting for any scheduled tasks to complete.
port3/13 cleared
Waiting for any scheduled tasks to complete.
port3/14 cleared
Waiting for any scheduled tasks to complete.
port3/15 cleared
Waiting for any scheduled tasks to complete.
port3/16 cleared

If you are removing an option card or virtual slot, use the config system clear slot command to ensure the hardware is completely cleared from the database.

[admin@UplogixLM]# config system clear slot 4
Slot 4 is about to be cleared.
Do you want to commit these changes? (y/n): y

Not finding what you're looking for?

The Uplogix Technical Support team is standing by 24/7/365 to answer any questions you may have about the installation, configuration, and usage of our products. Give us a call at 888.663.6869 or email us at support@uplogix.com.

About Uplogix

Uplogix is the most evolved out-of-band solution on the market. Our intelligent console server monitors network devices and takes actions directly over the console port, like an onsite technician plugging in a laptop.

Want to find out how Uplogix can help manage your network? Drop us a note!

Learn more:

Solutions Products Resource Center About Us Schedule a demo

© 2022 Uplogix, Inc., All Rights Reserved.

Contact Uplogix Support
+1 (888) 663-6869
+1 (512) 857-7070
Sales Assistance
General Inquiries