Information Technology Reference
In-Depth Information
Labs and Activities
Command Reference
In Table 2-2, record the command, including the correct router prompt , that fits the description. Fill in
any blanks with the appropriate missing information.
Table 2-2
Commands for Chapter 2, Static Routing
Command
Description
Router# show controllers serial 0/0/0
Displays which side of a cable is
attached to the interface: DCE or
DTE
Router# show cdp neighbors
Displays summary information
about directly connected Layer 2
devices; uses a Cisco-proprietary
protocol
Router# show cdp neighbors detail
Displays full information about
directly connected Layer 2 devices;
uses a Cisco-proprietary protocol
Router(config)# cdp run
Enables the Cisco Layer 2 protocol
for the entire router
Router(config-if)# cdp enable
Enables the Cisco Layer 2 protocol
for an interface
Router(config)# ip route 10.0.0.0 255.0.0.0 172.16.0.1
Configures a static route to
10.0.0.0/8 with a next hop of
172.16.0.1
Router(config)# ip route 10.0.0.0 255.0.0.0 Serial0/0/0
Configures a static route to
10.0.0.0/8 with an exit interface of
Serial 0/0/0
Router(config)# ip route 172.16.0.0 255.240.0.0 Serial 0/0/0
Configures a summary static route
for all addresses belonging to Class
B networks 172.16.0.0/16 through
172.31.0.0/16; uses Serial 0/0/0 as
the exit interface
Router(config)# ip route 0.0.0.0 0.0.0.0 Serial0/1/0
Configures a default static route
with an exit interface of Serial 0/1/0
Search WWH ::




Custom Search