Information Technology Reference
In-Depth Information
Labs and Activities
Command Reference
In the table that follows, record the command,
including the correct router prompt
, that fits the
description. Fill in any blanks with the appropriate missing information.
Command
Description
Router(config)#
router ospf 123
Turns on OSPF process number 123. The
process ID is any value between
1
and
65,535
. The process ID
does not equal
the
OSPF area.
Router(config-router)#
network
OSPF advertises interfaces, not net
172.16.10.0 0.0.0.255 area 0
works. Uses the wildcard mask to determine
which interfaces to advertise. The command
shown reads: Any interface with an address
of 172.16.10.x is to be put into Area 0.
Router(config-if)#
ip ospf priority 50
Changes the OSPF priority for an interface
to 50.
Router(config-if)#
bandwidth 128
Changes the bandwidth of an interface to
128 kbps.
Router(config-if)#
ip ospf cost 1564
Changes the cost to a value of 1564.
Router(config-if)#
ip ospf hello-interval 20
Changes the Hello interval timer to
20 seconds.
Router(config-if)#
ip ospf dead-interval 80
Changes the Dead interval timer to
80 seconds.
Router(config)#
ip route 0.0.0.0 0.0.0.0 s0/0/0
Creates a static default route pointing out
the Serial 0/0/0 interface. This route will
have an administrative distance of
0
.
Router(config-router)#
default-information
Sets the default route to be propagated to all
originate
OSPF routers.
Router#
show ip protocol
Displays parameters for all routing
protocols running on the router.
Router#
show ip route
Displays the complete IP routing table.
Router#
show ip ospf
Displays basic OSPF information for all
OSPF processes running on the router.
Router#
show ip ospf interface
Displays OSPF information as it relates to
all interfaces.
Router#
show ip ospf neighbor
List all the OSPF neighbors and their states.
Router#
show ip ospf neighbor detail
Displays a detailed list of neighbors.