This is a draft cheat sheet. It is a work in progress and is not finished yet.
Basic Mode Switch Commands
Router> enable |
Privileged EXEC |
Router# configure terminal |
Global Configuration |
Router(config)# interface G0/1 |
Interface Configuration G0/1 |
Router(config)# interface type sub interface number |
Sub-Interface Configuration |
exit |
back one mode |
<Shift> and <Ctrl> and 6 then x |
Suspend or abort |
Info Commands
show ip protocols |
Show Routing protocol infos |
debug ip rip |
enable rip update infos every 30a |
show hosts |
show configured hosts |
show interface brief |
show current interface config for all interfaces |
show version |
View version information |
show running-config |
View current configuration (DRAM) |
show startup-config |
View startup configuration (NVRAM) |
show flash |
Show IOS file and flash space |
show log |
Shows all logs that the router has in its memory |
show interface e0 |
View the interface status of interface e0 |
show cdp neighbor |
Display a summary of connected cdp devices |
show cdp entry * |
Display detailed information on all devices |
show ip protocols |
Display current routing protocols |
show ip route |
Display IP routing table |
show access-lists |
Display access lists, this includes the number of displayed matches |
show frame-relay map |
Display the frame inverse ARP table |
show frame-relay pvc |
Check a Frame Relay PVC connections |
show frame-relay lmi |
show lmi traffic stats |
|
|
Basic Config
Router(config)# ip host HOST IPADDRESS |
add new host with ip=IPADDRESS |
Router# copy running-config startup-config |
save running configuration in NVRAM |
Router# erease startup-config |
delete startup config, after next restart router will be back to default |
Router(config)#ip route REMOTEIP REMOTESUBNET NEXTHOPIP COST |
add static route to remote network with specific cost |
Interface Config
Router(config)# int s0/1 |
open interface s0/1 |
Router(config-if)# ip address IPADDRESS SUBNETMASK |
set IP address of interface |
Router(config-if)# no shut |
change interface to up |
Routing (RIP)
Router(config)# router rip |
enable rip |
Router(config-router)# version 2 |
rip version |
Router(config-router)# network IPADDRESS |
add network to rip routing (IPADDRESS = Netzadresse) |
Router(config-router)# neighbor IPADDRESS |
Defines a neighboring device with which to exchange routing information |
Router(config-router)# no auto-summary |
turn off auto-summary |
Router(config-router)# passive-interface g0/0 |
prevent the interface from sending out routing updates TO g0/0 but allow the interface to receive updates FROM g0/0 |
Router(config-router)# end |
back to privileged exec |
Reihenfolge Config
Endgeräte |
Interface "außen" (Richtung Endgerät) |
Interface "innen" |
|