howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / clear ip route *

clear ip route *

Command

Clear IP Route *

Use

Clears the routing table.

Syntax

Route#clear ip route *

Example

clear ip route

For this example, the routing table is cleared on R2. Here is the routing table before clearing it.

R2(config-router)#do show ip route rip
1.0.0.0/32 is subnetted, 3 subnets
R 1.1.1.1 [120/1] via 10.1.1.1, 00:00:22, FastEthernet0/0
R 1.3.3.3 [120/1] via 10.1.1.1, 00:00:22, FastEthernet0/0
R 1.2.2.2 [120/1] via 10.1.1.1, 00:00:22, FastEthernet0/0
192.168.13.0/30 is subnetted, 1 subnets
R 192.168.13.0 [120/1] via 10.2.2.3, 00:00:23, FastEthernet1/0
[120/1] via 10.1.1.1, 00:00:22, FastEthernet0/0
33.0.0.0/32 is subnetted, 1 subnets
R 33.33.33.33 [120/1] via 10.2.2.3, 00:00:23, FastEthernet1/0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/1] via 10.2.2.3, 00:00:23, FastEthernet1/0
111.0.0.0/32 is subnetted, 1 subnets
R 111.111.111.111 [120/1] via 10.1.1.1, 00:00:22, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
R 10.4.4.0 [120/1] via 10.2.2.3, 00:00:23, FastEthernet1/0
[120/1] via 10.1.1.1, 00:00:22, FastEthernet0/0
11.0.0.0/32 is subnetted, 1 subnets
R 11.11.11.11 [120/1] via 10.1.1.1, 00:00:22, FastEthernet0/0
133.133.0.0/32 is subnetted, 1 subnets
R 133.133.133.133 [120/1] via 10.2.2.3, 00:00:23, FastEthernet1/0

Next, the routing table is cleared.

R2(config-router)#do clear ip route *

After clearing the table, show ip route rip is executed and returns nothing.

R2(config-router)#do show ip route ripR2(config-router)#

Shortly after, the routing table refreshes.

R2(config-router)#do show ip route rip
1.0.0.0/32 is subnetted, 3 subnets
R 1.1.1.1 [120/1] via 10.1.1.1, 00:00:00, FastEthernet0/0
R 1.3.3.3 [120/1] via 10.1.1.1, 00:00:00, FastEthernet0/0
R 1.2.2.2 [120/1] via 10.1.1.1, 00:00:00, FastEthernet0/0
192.168.13.0/30 is subnetted, 1 subnets
R 192.168.13.0 [120/1] via 10.2.2.3, 00:00:00, FastEthernet1/0
[120/1] via 10.1.1.1, 00:00:00, FastEthernet0/0
33.0.0.0/32 is subnetted, 1 subnets
R 33.33.33.33 [120/1] via 10.2.2.3, 00:00:00, FastEthernet1/0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/1] via 10.2.2.3, 00:00:00, FastEthernet1/0
111.0.0.0/32 is subnetted, 1 subnets
R 111.111.111.111 [120/1] via 10.1.1.1, 00:00:00, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
R 10.4.4.0 [120/1] via 10.2.2.3, 00:00:00, FastEthernet1/0
[120/1] via 10.1.1.1, 00:00:00, FastEthernet0/0
11.0.0.0/32 is subnetted, 1 subnets
R 11.11.11.11 [120/1] via 10.1.1.1, 00:00:00, FastEthernet0/0
133.133.0.0/32 is subnetted, 1 subnets
R 133.133.133.133 [120/1] via 10.2.2.3, 00:00:00, FastEthernet1/0

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in