Reset Search
 

 

Article

How to remove static IP route in K/S/7100-Series

« Go Back

Information

 
TitleHow to remove static IP route in K/S/7100-Series
Objective
  • How to remove static IP route in K/S/7100-Series
  • Error Clearing static route (Status: 7)
  • Error Status 7 
Environment
  • K-Series
  • S-Series
  • 7100-Series
  • All Firmware Versions
Procedure
1. Login to the switch using admin credentials
2. Type router at the prompt
3. Type configure to enter configuration mode
4. Type show ip route or show running config to identify the route to be removed

Use this command syntax at a config prompt to remove a static IP route from L3 configuration mode:
configure
no ip route { prefix mask | prefix/prefix-length }  { ip-address [recursive] | interface interface-name | vlan vlan-id | vrf egress-vrf
 | blackhole | reject | probe {default | probe-name} } [distance] [tage tag-id]

Type the entire line of the configuration for the route to be removed or copy and paste the actual configuration line and add the word "no" to the beginning:
configure
no ip route 10.10.10.0 255.255.255.0 10.10.10.1 
Additional notes
To remove a static default route please proceed with the following command: 
(su-router-config)->no ip route 0.0.0.0 0.0.0.0 10.0.0.1 interface loop.0.1
Tip: Execute the command "show ip route"  or "show running config"to identify the correct interface name associated to the default route. In the example above the interface name was "loop.0.1"
 Must be in Configure mode to remove a route. 
If not in configuration mode the switch will display the following  Error Status Code 7 
How to add a static route on the N/S/K/7100 Series

 

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255