Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Router Commands

Status
Not open for further replies.

mtnwinds

Instructor
Nov 24, 2002
8
US
How can I delete a line from my router configuration?
 
That really depends on what kind of router you have. If you're on a Cisco router, go into config mode by typing config t and once you're in there delete the line by re-typing it with a no in front of it.

For example, you have a line like this:
username joeblow password 0 secretpw

You'd remove it by typing this (at the config prompt):
no username joeblow

Don't forget to end to leave config mode and wr to write the config to the router. Marc Creviere
Network Administrator
Total Logistic Control, LLC
 
Line to be removed:
ip nat inside source static tcp 192.x.x.x 25 67.x.x.x 25

Inside conf t, I type "no ip nat inside source static tcp 192.x.x.x 25 67.x.x.x 25" and get the error msg. "%incomplete command"
 
Retype your command with a space and a ? on the end and it will tell you what it expects at that point. Marc Creviere
Network Administrator
Total Logistic Control, LLC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top