HP 7102dl - ProCurve Secure Router Configuration Manual page 878

Procurve secure router 7000dl series - advanced management and configuration guide
Hide thumbs Also See for 7102dl - ProCurve Secure Router:
Table of Contents

Advertisement

IP Routing—Configuring RIP, OSPF, BGP, and PBR
Troubleshooting Routing
15-152
Enter **, which clears all routes, or enter the destination for the specific route
you want to remove.
The clear command only removes learned routes. To clear a static route, you
must enter the no form of the global configuration mode command you used
to enter it:
Syntax: no ip route <A.B.C.D> <subnet mask | /prefix length> <next hop A.B.C.D |
forwarding interface ID>
ProCurve#show ip route
Codes: C - connected, S - static, R - RIP, O - OSPF, B - BGP
IA - OSPF inter area, N1 - OSPF NSSA external type 1
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1
E2 - OSPF external type 2
Gateway of last resort 192.168.128.1
C
10.1.1.0/30 is directly connected, ppp 1
C
10.1.1.1/32 is directly connected, ppp 1
C
10.2.2.0/30 is directly connected, ppp 2
C
10.2.2.1/32 is directly connected, ppp 2
S
172.16.0.0/16 [1/0] via 10.1.1.1, ppp 1
R
172.16.3.0/24 [120/1] via 10.1.1.1, ppp 1
R
172.16.4.0/24 [120/1] via 10.1.1.1, ppp 1
O
192.168.65.0/24 [110/51] via 10.2.2.1, ppp 2
Faulty route
C
192.168.128.0/24 is directly connected, eth 0/1
C
192.168.129.0/24 is directly connected, eth 0/2
Figure 15-35. Clearing Routes
For example, your router has the routes in the routing table shown in Figure
15-35. The routes to 192.168.65.0 /24 and 172.168.0.0 /16 are faulty and you want
to clear them. The first is a learned route, so you enter:
ProCurve# clear ip route 192.168.65.0 /24
The second is a static route, so you move to the global configuration mode
context and enter:
ProCurve(config)# no ip route 172.168.0.0 /16 ppp 1
Misconfigured
route

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve secure router 7203dl j8753a j8753a

Table of Contents