Routing Protocol Commands
Commands for RIP
Router(config)#router rip - Enables RIP as a protocol
Router(config-router)#network w.x.y.z - w.x.y.z is the directly connected network you want to advertise
Router(config)#no router rip - Turns off RIP
Router(config-router)#no network w.x.y.z - Removes network
Router(config-router)#version 2 - Turns on V2 and now RIP will send and receive RIPv2 Packets
Router(config-router)#version 1 - RIP will send and receive RIPv1 Packets
Router(config-router)#no auto-summary - RipV2 summarizes networks at the classful boundary. This command will turns auto summary off
Router(config-router)#passive-interface s/0/0/1 - RIP updates will not be sent out this interface
Router(config-router)#neighbor a.b.c.d - Defines a specific neighbor to exchange information with
Router(config-router)#no ip split-horizon - Turns off split horizon (this is on by default)
Router(config-router)#ip split-horizon - Turns it back on
Router(config-router)#timers basic 30 60 90 180 270 360 - Changes timers in RIP: 30=Update timer, 90=Invalid Timer, 180=Hold down timer, 270= Flush timer, 360=Sleep timer
Router(config-router)#default-information originate - Generates a default route into RIP
Commands for Troubleshooting
Router#debug ip rip - Displays all RIP activity in real time
Router#show ip rip database - Displays contents of the RIP database
Commands for EIGRP
Router(config)#router eigrp 100 - Enables EIGRP as a process. The number "100" is an autonomous system number (ASN) which can be any number between 1 and 65,535. All routers in the same system must use the same ASN
Router(config)#no router eigrp 100 - Removes EIGRP as a process.
Router(config-router)#network w.x.y.z - w.x.y.z is the directly connected network you want to advertise
Router(config-router)#no network w.x.y.z - Removes advertised network
Router(config-if)#bandwidth X - Sets the bandwidth of this interface to X kilobits to allow EIGRP to make the best metric calculation
Router(config-router)#network 1.1.1.1 0.0.0.3 - Tells which interface or network to include in EIGRP. Interfaces are configured with addresses that fall within the wildcard mask range of the network statement.
Router(config-router)#auto-summary - Enables auto summarization for the EIGRP process
Router(config-router)#no auto-summary - Turns the auto summarization feature of EIGRP off
** EIGRP automatically summarizes networks on the classful boundary.
** If you have discontigous subnets you could have issues with connectivity if summarization is left on.
** If turned off, it is recommended to use the ip summary-address command to summarize manually.
Router(config)#interface s0/0/0 - Enters interface configuration mode
Router(config-if)#bandwidth 256 - Sets the bandwidth of this interface
Commands for Troubleshooting
Router#debug eigrp fsm - Displays events and actions related to EIGRP feasible successor metrics (FSM)
Router#debug eigrp packet - Displays events and actions related to EIGRP packets
Router#debug eigrp neighbor - Displays events and actions related to EIGRP neighbors. Also debug ip eigrp neighbor
Router#debug eigrp packet - Displays events and actions related to EIGRP packets
Router#debug ip eigrp notifications - Displays EIGRP event notification
Commands for OSPF
Router(config)#router ospf 456 - Enables OSPF process. The number "456" is any positive number between 1 and 65, 535. It is not related to the OSPF area. The process ID is use to distinguish one process from another within the device. These numbers DO NOT have to match the process ID of an other router.
_________________________________ STOPPED HERE FOR NOW _____________________________________________________
Router(config)#no router eigrp 100 - Removes EIGRP as a process.
Router(config-router)#network w.x.y.z - w.x.y.z is the directly connected network you want to advertise
Router(config-router)#no network w.x.y.z - Removes advertised network
Router(config-if)#bandwidth X - Sets the bandwidth of this interface to X kilobits to allow EIGRP to make the best metric calculation
Router(config-router)#network 1.1.1.1 0.0.0.3 - Tells which interface or network to include in EIGRP. Interfaces are configured with addresses that fall within the wildcard mask range of the network statement.
Router(config-router)#auto-summary - Enables auto summarization for the EIGRP process
Router(config-router)#no auto-summary - Turns the auto summarization feature of EIGRP off
** EIGRP automatically summarizes networks on the classful boundary.
** If you have discontigous subnets you could have issues with connectivity if summarization is left on.
** If turned off, it is recommended to use the ip summary-address command to summarize manually.
Router(config)#interface s0/0/0 - Enters interface configuration mode
Router(config-if)#bandwidth 256 - Sets the bandwidth of this interface
Commands for Troubleshooting
Router#debug eigrp fsm - Displays events and actions related to EIGRP feasible successor metrics (FSM)
Router#debug eigrp packet - Displays events and actions related to EIGRP packets
Router#debug eigrp neighbor - Displays events and actions related to EIGRP neighbors. Also debug ip eigrp neighbor
Router#debug eigrp packet - Displays events and actions related to EIGRP packets
Router#debug ip eigrp notifications - Displays EIGRP event notification