|
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
|
|
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
|
|
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
|
|
R2(config-router)# no passive-interface s0/0/0
|
removes passive status. router will receive OSPF routing updates.
|
|
Router3#clear ip ospf process
|
Clears all ospf processes
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.