Cisco IOS - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Cisco IOS

Description:

Invoking and Negating Commands. Ordinary commands take effect ... Commands are negated (canceled) with a 'no' prefix. ap1(config)#no hostname ap1. ap(config) ... – PowerPoint PPT presentation

Number of Views:213
Avg rating:3.0/5.0
Slides: 8
Provided by: robert510
Category:
Tags: ios | cisco | negated

less

Transcript and Presenter's Notes

Title: Cisco IOS


1
Cisco IOS
  • Some basics and applications for the Aironet 1200
    AP

2
Online help
  • From virtually anywhere in the CLI, a question
    mark will provide assistance
  • You only have to type in enough of a command to
    be unambiguous, and tab completion will fill in
    the rest
  • You are encouraged to learn the full commands
    first
  • Invalid commands will have invalid input
    locations marked in the error message
  • A command buffer is available with keyboard arrow
    keys and other methods

3
Command Modes
  • Non-privileged (what you start in, prompt is gt)
  • Commands available include enable, exit, ping,
    show (limited), systat, telnet (to another host),
    terminal, and traceroute
  • Generally used for status checking and limited
    troubleshooting while preventing serious
    configuration errors
  • Privileged (entered with enable, prompt is )
  • All commands available, and supersets of the
    features for some non-privileged commands
  • Generally used by network managers for
    configuration
  • Multiple sub-modes available
  • Return to non-privileged mode with disable

4
Privileged Command Modes
  • Global configuration mode
  • Entry example configure terminal
  • Prompt example ap1(config)
  • Exit example Exit or Cntl/Z or end
  • Interface configuration mode
  • Entry example interface Dot11Radio 0
  • Prompt example ap1(config-if)
  • Exit takes you back to global configuration mode
  • Cntl/Z or end takes you out of configuration mode
    entirely

5
Invoking and Negating Commands
  • Ordinary commands take effect immediately
  • ap(config)hostname ap1
  • ap1(config)
  • Commands are negated (canceled) with a no
    prefix
  • ap1(config)no hostname ap1
  • ap(config)

6
Multiple Configuration Files
  • show running-config
  • Displays the configuration currently used
  • The running configuration is not automatically
    saved (can be a good thing or a bad thing!)
  • show startup-config
  • Displays the last (and possibly next!) boot-up
    configuration to be used
  • copy running-config startup-config
  • Saves the running-config to the startup-config
  • copy running-config tftp
  • Saves the running-config to a TFTP server
    (prompts for address or name, etc.)

7
You may need to check documentation, test,
verify, confirm . . .
  • Check your running and startup config hostname
  • Use the hostname command to change it
  • Check your running and startup configs
  • Use the no hostname command to remove it
  • Check your running and startup configs
  • Change the host name using the Web interface
  • Check your running and startup configs
  • And this doesnt even address
  • What you get with an snmpget of sysName
  • What happens when you set System Name rather
    than Host Name in the web interface
  • What happens when you use snmpset for sysName
  • Etc.
Write a Comment
User Comments (0)
About PowerShow.com