Home > Articles > Certification > Cisco Certification > CCNA

CCNA Command Quick Reference: Routing and Routing Protocols

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
This chapter condenses the CCNA Routing commands into an easy-to-use chart for quick reference.

This chapter provides information and commands concerning the following topics:

  • Configuring a static route on a router

  • Configuring a default route on a router

  • Verifying static routes

Static Routing

When using the ip route command, you can identify where packets should be routed to in two ways:

  • The next-hop address

  • The exit interface

Both ways are shown in both the "Configuration Example: Static Routes" section and the "Default Routing" section.

Router(config)#ip route 172.16.20.0 255.255.255.0 172.16.10.2

172.16.20.0 = destination network

255.255.255.0 = subnet mask

172.16.10.2 = next-hop address

Read this to say: To get to the destination network of 172.16.20.0, with a subnet mask of 255.255.255.0, send all packets to 172.16.10.2

Router(config)#ip route 172.16.20.0 255.255.255.0 s0/0

172.16.20.0 = destination network

255.255.255.0 = subnet mask

s0/0 = exit interface

Read this to say: To get to the destination network of 172.16.20.0, with a subnet mask of 255.255.255.0, send all packets out interface Serial 0/0

  • Share ThisShare This
  • Save To Your Account

Discussions

comments powered by Disqus

Related Resources

Information Technology Musings...
By on April 11, 2012Comments

Surprise!  Students are returning to IT as a career.  Are they ready?  Are you ready as a long-term IT worker for your new colleagues?


CISSP Questions of the Week
By on January 31, 2012Comments

These CISSP Questions of the Week questions and answers were developed by Shon Harris and the Logical Security development team. We hope you find this to be a helpful resource. Simply select the "Click Here" under each question to find the answer.

CISSP Questions of the Week
By on January 23, 2012Comments

These CISSP Questions of the Week questions and answers were developed by Shon Harris and the Logical Security development team. We hope you find this to be a helpful resource. Simply select the "Click Here" under each question to find the answer.

See All Related Blogs