Configuring and Testing Network Flashcards
A router or switch can’t function without this….
Operating system
Two configuration files
Running-config
Startup-config
Access methods for CLI
Console: used to access a device when the network services failed or have not started, password, disaster recovery
Telnet, SSH ( requires at least one interface with Layer 3 address)
AUX port
semi-permanent memory of Cisco IOS is called….
flash
Major modes of Cisco IOS
user exec mode
privilieged exec mode
global config mode
other specific config mode
Router>ping 192.168.1.3
Router = prompt ping = command 192.168.1.3 = keyword or argument
Cisco IOS help forms
Context sensitive
Command syntax check
Hot keys
Some hot keys
CTRL-Shift-6: interrupts ping
CTRL-C: aborts current command and exits config mode
CTRL-Z: ends config mode, returns to EXEC
CTRL-R: redisplays line
Up arrow: scroll backwards through former commands
Down arrow: scroll forward through former commands
Show command
offers info about configuration, operation and status of parts of Cisco router
Ex: show version, show ip route, show run, show start, show ip interface brief
To negate effects of command….
Preface command with no: no hostname
Types of passwords for Cisco IOS
console password: limits device access using console connection
enable password: limits access to privileged mode
enable secret password: encrypted version of enable password
service password-encryption
provides weak encryption to all unencrypted passwords
At startup….
Startup-config is copied from NVRAM to DRAM
banner motd
messages seen by anyone who attempts to login to a Cisco router or switch
Reload….
returns router to original configuration
Modifying running-config…..
affects device operation immediately
Configuring a switch interface
Switch does not require ip address, only a gateway
LAN switch interconnects segments within a network
Assign addresses to manage switch (assign to a VLAN)
Switch interfaces enabled by default unlike a router whose aren’t
Ping
Uses ICMP protocol; referred to as testing the protocol stack; tests connectivity
Ping 127.0.0.1
Pinging loopback address; verifies IP stack properly configured from Network Layer to Physical layer
table?
up Status = Layer 1
up Protocol = Layer 2
ping, traceroute = Layer 3
pinging remote hosts indicate…
the local host and the remote host are configured correctly
ping IPv4
indicates NIC is functioning
Test sequence of ping, traceroute
- ping loopback
- ping NIC
- ping gateway
- ping remote host
- Traceroute to remote host
- ipconfig
Network baseline
studying network at consistent intervals using text files from ping, traceroute results
More hot keys
CTRL-E: moves cursor to end of cmd line
CTRL-K: cursor to end of line
Esc D: cursor to end of word
CTRL-U: cursor to the beginning of line
CTRL-W: word to the left of the cursor moves cursor to the beginning of line
Esc-B: moves cursor back one word to the left
Esc-F: moves cursor back one word to the right