Cheatography
https://cheatography.com
Cheatsheet for Single Area OSPF Lab
Basic Configuration Commands
Router(config)# no ip domain-lookup |
disables dns lookup |
Router(config)# hostname R1 |
changes hostname |
R1(config)# enable secret class |
sets password for privileged EXEC |
R1(config)# line console 0 |
changes to line configuration mode |
R1(config-line)# logging synchronous |
configures logging synchronous (no messages interrupt input) |
R1(config-line)# password cisco |
sets console password (also for vty) |
R1(config-line)# login |
enables login (also for vty) |
R1# copy run start |
copies the running-configuration to the startup-configration |
These commands are to be executed for all Routers!
Show Commands
Router# show ip route |
displays ip routing table |
Router# show ip protocols |
shows a summary of configured routing protocol information |
Router# show ip ospf |
displays general information of OSPF |
Router# show ip ospf interface |
displays OSPF information for the interfaces on the router |
These commands can be used to verify and troubleshoot your configuration.
Topology
Topology for 8.2.4.5 and 10.2.3.3 (Troubleshooting)
|
|
Router1 Commands
R1(config)# router ospf 1 |
enables OSPF (process id = 1) |
R1(config-router)# network 192.168.1.0 0.0.0.255 area 0 |
configures a network |
R1(config)# interface lo0 |
configures a loopback interface |
R1(config-if)# ip address 1.1.1.1 255.255.255.255 |
sets the ip address of an interface |
R1(config-router)# router-id 11.11.11.11 |
sets the router id (ospf) |
R1(config-router)# auto-cost reference-bandwidth 10000 |
changes default reference bandwith |
R1(config-if)# bandwidth 128 |
sets bandwidth of an interface |
R1(config-if)# ip ospf cost 1565 |
manually sets cost of a link |
Router2 Commands
R2(config-router)# no passive-interface s0/0/0 |
removes passive status. router will receive OSPF routing updates. |
Except the command(s) above, Router 2 mainly used the same commands as Router 1.
Router3 Commands
Router3#clear ip ospf process |
Clears all ospf processes |
Except the command(s) above, Router 3 mainly used the same commands as Router 1.
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by hoemac16