From LedHed's Wiki
Revision as of 00:30, 10 March 2010 by Ledhed (Talk | contribs)

Jump to: navigation, search

Cisco uses a proprietary OS called 'IOS'


Logging In

In order to make changes to the IOS configurations you need to login as an Enabled user, to do this type:

enable

You will then be prompted for a password (assuming a password has been set for this account).


Basic Commands

Show the currently running configuration

show running-config

or in IOS Shorthand

sh run


Configure an interface

config term
interface fa0/1


Delete a line from a config

Prepend 'no' to a line to delete it. Example: To delete

switchport mode access

issue this command

no switchport mode access


Save a config

Copy running config to startup config (RAM) to (NVRAM)

copy run start


Reset a port

config term
int fa0/1
shutdown
no shutdown
exit