Monday, April 15, 2013

Cisco - Basic Settings


Save configuration as filename.cfg

Cisco-A# write memory
Cisco-A# copy running flash:filename.cfg
Cisco-A# dir flash:

Make the new config you’re the startup for next boot

Cisco-A(config)#boot config flash:interop-3a.cfg
Cisco-A# show boot
Cisco-A# more flash:filename.cfg
Cisco-A# reload
Say “No” if it asks to save the config file

To set to factory

Cisco# erase startup-config
Cisco# reload
Say “No” if it asks to save the config file

General Commands

  #(config) hostname Lab_A
  #(config) no logging console
  #(config) ip subnet-zero
  #(config) no ip domain-lookup
  #(config) no service config <-- %Error opening tftp://... (Timed out)

  The ping and traceroute escape sequence: CTRL-SHIFT-6 twice


    Set console mode password


  (config) line con 0
  (config-line)#password 123
 

  Allow ssh/telnet enable mode access

  (config)#line vty 0 4
  (config-line)#password 123
  (config)#enable password 123
 

  Show all ip's configured on box

  (config)# show ip int brief


Router interfaces

interface FastEthernet0/1
 ip address 192.168.1.3 255.255.255.0
 duplex auto
 speed auto


No comments:

Post a Comment

Please add comments so I may update the material to accommodate platform modification to various commands. Also if you have some real-world caveats, do please share.

Search Duke

About the Author

My photo
Central Florida, United States