Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

ip route

Printer-Friendly Format

Command

IP Route

Use

Allows you to set static routes to define how to reach remote networks..

Syntax

Router(config)#ip route <network> <mask> <next hop>

Example

In the below example we will configure R1 to be able to ping R3

R1(config)#ip route 3.3.3.3 255.255.255.255 10.1.1.2
R1(config)#do show ip route | in 3.3.3.3
S 3.3.3.3 [1/0] via 10.1.1.2
R1(config)#do ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/57/100 ms
R1(config)#

 

Back to commands department




Printer-Friendly Format
Home | Search | Contact Us | Tell a Friend | Text Size

2006-2012 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software