Configuring Routing for the CCENT Certification Exam - dummies

Configuring Routing for the CCENT Certification Exam

By Glen E. Clarke

Part of CCENT Certification All-In-One For Dummies Cheat Sheet

Routing protocols will certainly come up on your CCENT certification exam. This section reviews popular commands that deal with routing and routing protocols, such as RIPv1 and RIPv2.

Command(s) Result
ip routing Enables routing on the router. Should be on by default.
no ip routing Disables routing on the router.
show ip route Displays the routing table.
ip route 23.0.0.0 255.0.0.0
22.0.0.2
Adds a static route to the router for the 23.0.0.0 network and
sends any data for that network to the 22.0.0.2 address (next
hop).
no ip route 23.0.0.0 255.0.0.0
22.0.0.2
Deletes the static route from the routing table.
ip route 0.0.0.0 0.0.0.0
22.0.0.2
Sets the gateway of last resort on the router to forward any
packets with unknown destinations to the 22.0.0.2 address.
ROUTERB>enable
ROUTERB#config term
ROUTERB(config)#router rip
ROUTERB(config-router)#network
26.0.0.0

ROUTERB(config-router)#network
27.0.0.0
Configures the router for RIPv1. RIP is a dynamic routing
protocol that is used to share routing information with other
routers running RIP. In this example, RIP will share knowledge of
the 26.0.0.0 and the 27.0.0.0 networks.
ROUTERB>enable
ROUTERB#config term
ROUTERB(config)#router rip
ROUTERB(config-router)#network
26.0.0.0

ROUTERB(config-router)#network
27.0.0.0

ROUTERB(config-router)#version
2
To configure the router for RIPv2, you use the same commands
but add the “version 2” command at the end.
show ip protocols Display what routing protocols are running on the router.
debug ip rip Enable RIP debugging, which will display RIP related messages
on the screen as RIP-related events occur (packets are sent and
received).
no debug all Turns off debugging once you are done troubleshooting RIP.