Shared Flashcard Set

Details

Sybex CCNA IOS Basic Commands
Sybex CCNA IOS Basic Commands
85
Computer Networking
Not Applicable
01/14/2015

Additional Computer Networking Flashcards

 


 

Cards

Term
Router Configuration Modes

Router>
Definition
Limited to basic monitoring commands

Mode
User EXEC mode
Term
Router Configuration Modes

Router#
Definition
Provides access to all other router commands
Mode
Privileged EXEC mode
Term
Router Configuration Modes

Router(config)#
Definition
Commands that affect the entire system

Mode
Global configuration mode
Term
Router Configuration Modes

Router(config-subif)#
Definition
Commands that affect interfaces, subinterfaces,routing processes, or lines

Specific configuration
modes
only
Term
Moving Between Modes

Router>
enable
Definition
Changes from user EXEC to privileged EXEC mode
Term
Moving Between Modes

Router#
disable
Definition
Changes to user EXEC from privileged EXEC mode
Term
Moving Between Modes

Router#
config term
Definition
Changes to global configuration mode from privileged mode
Term
Moving Between Modes

Router(config)
#exit
Definition
Exits from any configuration mode to privileged mode (Ctrl+Z is also commonly used)
Term
Moving Between Modes Router(config)# interface
Definition
Enters interface configuration mode from global configuration mode
Term
Moving Between Modes Router(config)# interface
Definition
Enters subinterface configuration mode from global configuration mode
Term
Moving Between Modes Router(config)# line
Definition
Enters line configuration mode from globalconfiguration mode
Term
Moving Between Modes

Router(config)#
router eigrp 1
Definition
Enters router configuration mode from global configuration mode
Term
CLI Editing Commands

Ctrl+P or Up arrow
Definition
Shows last command entered
Term
CLI Editing Commands

Ctrl+N or Down arrow
Definition
Shows previous commands entered
Term
CLI Editing Commands

show history
Definition
Shows last 10 commands entered by default
Term
CLI Editing Commands

show terminal
Definition
Shows terminal configurations and history buffer size
Term
CLI Editing Commands

terminal history size
Definition
Changes buffer size
(the maximum is 256)
Term
CLI Editing Commands

Ctrl+A
Definition
Moves your cursor to the beginning of the line
Term
CLI Editing Commands

Ctrl+E
Definition
Moves your cursor to the end of the line
Term
CLI Editing Commands

Esc+B
Definition
Moves back one word
Term
CLI Editing Commands

Ctrl+B
Definition
Moves back one character
Term
CLI Editing Commands

Ctrl+F
Definition
Moves forward one character
Term
CLI Editing Commands

Esc+F
Definition
Moves forward one word
Term
CLI Editing Commands

Ctrl+D
Definition
Deletes a single character
Term
CLI Editing Commands

Backspace
Definition
Deletes a single character
Term
CLI Editing Commands

Ctrl+R
Definition
Redisplays a line
Term
CLI Editing Commands

Ctrl+U
Definition
Erases a line
Term
CLI Editing Commands

Ctrl+W
Definition
Erases a word
Term
CLI Editing Commands

Ctrl+Z
Definition
Ends configuration mode and returns to EXEC mode
Term
CLI Editing Commands

Tab
Definition
Finishes typing a command for you
Term
Online Help Commands

Router#
?
Definition
Shows all available commands
Term
Online Help Commands

Router#
c?
Definition
Shows all available commands beginning with the letter c
Term
Online Help Commands

Router#
clock ?
Definition
Shows all available options for the
clock
command
Term
?
Definition
Lists available commands
Term
Pipe Commands

Router#
sh running-config | ?
Definition
Shows the options for the pipe command.
These include the ability to
begin, include, exclude, and so on.
Term
Pipe Commands
Router#
sh run | begin interface
Definition
Shows the running configuration,
beginning at the interface
configurations.
Term
Pipe Commands

Router#
sh ip route | include 192.168.3.32
Definition
Shows all entries in the IP routing
table that include the IP address
192.168.3.32
Term
Pipe Commands

|
Definition
The pipe (|) allows you to wade through all the configurations or other long outputs and get straight to your goods fast.
Term
Hostname

Router(config)#
hostname name
Definition
Sets the hostname of this router
Term
Hostnames
Definition
You can set the identity of the router with the hostname command. This is only locally significant,
which means it has no bearing on how the router performs name lookups or how the router works
on the internetwork.
Term
Banners
Definition
You can create a banner to give anyone who shows up on the router exactly the information you
want them to have. Make sure you’re familiar with these four available banner types: exec process
creation banner, incoming terminal line banner, login banner, and message of the day banner
Term
Setup Mode
Definition
If the router has no initial configuration, you will be prompted to use setup mode to establish
an initial configuration. You can also enter setup mode at any time from the command line by typing the command
setup
from something called privileged mode.
Setup mode covers only some global commands and is generally just not helpful.
Term
Banners

Router(config)#
banner motd #
Definition
Enters a banner MOTD message and ends the message with the # character

The MOTD banner will be displayed whenever anyone attaches to the
router, regardless of how they access the router.
Term
Banners

Router(config)#
banner exec #
Definition
Enters a banner exec message and ends the message with the # character.

You can configure a line activation (exec) banner to be displayed when an
EXEC process (such as a line activation or incoming connection to a VTY line) is created. By simply starting a user exec session through a console port, you’ll activate the exec banner.
Term
Banners

Router(config)#
banner incoming #
Definition
Enters a banner incoming message and ends the message with the # character.

You can configure a banner to be displayed on terminals connected to reverse Telnet lines. This banner is useful for providing instructions to users who use reverse Telnet.
Term
Banners

Router(config)#
banner login #
Definition
Enters a banner login message and ends the message with the # character

You can configure a login banner to be displayed on all connected terminals.
This banner is displayed after the MOTD banner but before the login prompts. The login banner can’t be disabled on a per-line basis, so to globally disable it, you have to delete it with the
no banner login
command.
Term
Passwords
Definition
You can use five passwords to secure your Cisco routers: console, auxiliary, Telnet (VTY),enable password, and enable secret.

However, other commands are necessary to complete the password configurations on a router or switch
Term
Passwords

Todd(config)#
enable password todd
Definition
Sets the enable password to Todd.
Term
Passwords

Todd(config)#
enable secret todd
Definition
Sets the enable secret password to Todd.
Supersedes the enable password.
Term
Passwords

Todd(config)#
line line
Definition
Changes to line mode to configure the
console, aux, and VTY (Telnet).
Term
Passwords

Todd(config-line)#password password
Definition
The line password for aux, console, and VTY (Telnet) are all set in line configuration mode.
Term
Passwords

Todd(config-line)#
login
Definition
When a line is configured to use a password,the login command must be set to prompt for login.
Term
Passwords

Todd(config)#
service password-encryption
Definition
Encrypts the passwords in the clear-text configuration file (both running-config and startup-config).
Term
Secure Shell (SSH)
Definition
Secure Shell, creates a more secure session than the Telnet
application that uses an unencrypted data stream. SSH uses encrypted keys to send data so that your username and password are not sent in the clear.
Term
Secure Shell (SSH)

ip domain-name Lammle.com
Definition
Sets your domain name. You must set this.
Term
Secure Shell (SSH)

crypto key generate rsa general-keys modulus
Definition
Sets the size of the key up to 2048.
Term
Secure Shell (SSH)

ip ssh time-out
Definition
Sets the idle timeout up to 120 seconds.
Term
Secure Shell (SSH)

ip ssh authentication-retries
Definition
Sets the max failed attempts up to 120.
Term
Secure Shell (SSH)

line vty first-line last_line
Definition
Chooses your VTY lines to configure.
Term
Secure Shell (SSH)

transport input ssh telnet
Definition
Tells the router to use SSH and then Telnet. You do not need the telnet command at the end of the line, but if
you don’t use it, only SSH will work on the router.
Term
Router Interface Commands

Todd(config)#
interface fastethernet slot/port
Definition
Enters interface configuration mode from global configuration mode.
Term
Router Interface Commands

Todd(config)#interface serial slot/port
Definition
Same as interface fastethernet
slot/port

except for serial interface 0/0/0 rather than Fast Ethernet interface.
Term
Router Interface Commands

Todd(config-if)#shutdown
Definition
Shuts down an interface.
Term
Router Interface Commands

Todd(config-if)#no shutdown
Definition
Enables an interface that is shut down.
Term
Router Interface Commands

Todd(config-if)#ip address address
mask
Definition
Configures an interface with an IP address and a
subnet mask.
Term
Router Interface Commands

Todd(config-if)#ip address address
mask secondary
Definition
Adds a secondary IP address to an interface.
Term
Router Interface Commands

Todd(config-if)#description
description
Definition
Adds a description to an interface.
Term
Router Interface Commands

Todd(config-if)#clock rate rate
Definition
Sets the clock rate of a serial interface in bits per
second.
Term
Router Interface Commands

Todd(config-if)#bandwidth rate
Definition
Sets the bandwidth of an interface in kilobits per
second.
Term
Router Interface Commands

Todd#show interface interface
Definition
Displays the status and configuration of the FastEthernet interface.
Term
Router Interface Commands

Todd#clear counters interface
Definition
Clears the display counters on the serial interface.
Term
Router Interface Commands

Todd#sh ip interface interface
Definition
Displays the layer-3 properties of an interface.
Term
Router Interface Commands

Todd#sh ip int brief
Definition
Displays the IP interfaces in a summarized table. This is one of the most useful "show" commands!
Term
Commands to Manipulate Configurations

Todd#
copy running-config startup-config
Definition
Saves the running configuration to NVRAM
Term
Commands to Manipulate Configurations

Todd#
show running-config
Definition
Shows the running configuration on the terminal
Term
Commands to Manipulate Configurations

Todd#
show startup-config
Definition
Shows the start-up configuration (in NVRAM) on the terminal
Term
Commands to Manipulate Configurations

Todd#
erase startup-config
Definition
Erases the configuration stored in NVRAM
Term
Show
Definition
The best way to verify your configuration
Term
Show Command

show running config
Definition
This shows the configuration that router is using.
Term
Show Command

show startup-config
Definition
This shows the configuration that the router will use when the
router is reload.
Term
Show Command

show interface
Definition
This shows the status of all interfaces.
Term
Show Command

show ip interface
Definition
This shows the default IP configuration on all interfaces.
Term
Show Command

show ip interface brief
Definition
This command provides a quick overview of the router’s interfaces, including the logical address and status.
Term
Show Command

show protocols
Definition
This shows the status of layers 1 and 2 of each interface as wellas the IP addresses used.
Term
Show Command

show controllers
Definition
This shows whether an interface is a DCE or DTE interface.
Supporting users have an ad free experience!