[c-nsp] static routes reappear after "clear ip route *"

Brian Desmond brian at briandesmond.com
Wed Jan 18 13:09:13 EST 2006


You'll find "no ip route 10.2.0.0 255.255.0.0 10.0.13.3" works better
for removing that static route.


Thanks,
Brian Desmond
brian at briandesmond.com
 
c - 312.731.3132
 
 

> -----Original Message-----
> From: cisco-nsp-bounces at puck.nether.net [mailto:cisco-nsp-
> bounces at puck.nether.net] On Behalf Of Lachlan Andrew
> Sent: Wednesday, January 18, 2006 12:58 PM
> To: cisco-nsp at puck.nether.net
> Subject: [c-nsp] static routes reappear after "clear ip route *"
> 
> Greetings,
> 
> I'm managing a few 7609 routers, and am having trouble deleting static
> routes.
> The command
>      clear ip route *
> removes them, but within a few seconds they reappear spontaneously.
> An example is below, followed by the current configuration.
> 
> Should I use a different command, or is one of my settings wrong?
> 
> Thanks in advance,
> Lachlan
> 
> 
> 
> >> 7600-RA#show ip route
> >> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
> >>        D - EIGRP, EX - EIGRP external, O - OSPF, 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, E -
EGP
> >>        i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS
> level-2
> >>        ia - IS-IS inter area, * - candidate default, U - per-user
> static route
> >>        o - ODR, P - periodic downloaded static route
> >>
> >> Gateway of last resort is not set
> >>
> >>      10.0.0.0/8 is variably subnetted, 15 subnets, 4 masks
> >> C       10.1.11.0/28 is directly connected, GigabitEthernet1/1
> >> S       10.2.14.2/32 [1/0] via 10.0.13.3
> >> C       10.1.14.0/28 is directly connected, GigabitEthernet1/4
> >> C       10.1.12.0/28 is directly connected, GigabitEthernet1/2
> >> C       10.0.13.0/24 is directly connected, POS1/1
> >> S       10.2.0.0/16 [1/0] via 10.0.13.3
> >> S       10.2.2.1/32 [1/0] via 10.0.13.3
> >> S       10.2.1.2/32 [1/0] via 10.0.13.3
> >> S       10.0.24.2/32 [1/0] via 10.0.13.3
> >> S       10.0.24.0/24 [1/0] via 10.0.13.3
> >> S       10.0.24.2/32 [1/0] via 10.0.13.3
> >> S       10.0.24.0/24 [1/0] via 10.0.13.3
> >> S       10.1.51.34/32 [1/0] via 10.1.51.2
> >> S       10.1.51.18/32 [1/0] via 10.1.51.2
> >> C       10.1.51.0/28 is directly connected, GigabitEthernet5/1
> >> S       10.1.51.0/24 [1/0] via 10.1.51.2
> >> S       10.2.3.101/32 [1/0] via 10.0.13.3
> >> C    192.168.0.0/16 is directly connected, GigabitEthernet5/2
> >> 7600-RA#clear ip route *
> >> 7600-RA#show ip route
> >> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
> >>        D - EIGRP, EX - EIGRP external, O - OSPF, 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, E -
EGP
> >>        i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS
> level-2
> >>        ia - IS-IS inter area, * - candidate default, U - per-user
> static route
> >>        o - ODR, P - periodic downloaded static route
> >>
> >> Gateway of last resort is not set
> >>
> >>      10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
> >> C       10.1.11.0/28 is directly connected, GigabitEthernet1/1
> >>      10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
> >> C       10.1.11.0/28 is directly connected, GigabitEthernet1/1
> >> C       10.1.14.0/28 is directly connected, GigabitEthernet1/4
> >> C       10.1.12.0/28 is directly connected, GigabitEthernet1/2
> >> C       10.0.13.0/24 is directly connected, POS1/1
> >> C       10.1.51.0/28 is directly connected, GigabitEthernet5/1
> >> C    192.168.0.0/16 is directly connected, GigabitEthernet5/2
> >> 7600-RA#show ip route
> >> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
> >>        D - EIGRP, EX - EIGRP external, O - OSPF, 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, E -
EGP
> >>        i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS
> level-2
> >>        ia - IS-IS inter area, * - candidate default, U - per-user
> static route
> >>        o - ODR, P - periodic downloaded static route
> >>
> >> Gateway of last resort is not set
> >>
> >>      10.0.0.0/8 is variably subnetted, 15 subnets, 4 masks
> >> C       10.1.11.0/28 is directly connected, GigabitEthernet1/1
> >> S       10.2.14.2/32 [1/0] via 10.0.13.3
> >> C       10.1.14.0/28 is directly connected, GigabitEthernet1/4
> >> S       10.2.14.2/32 [1/0] via 10.0.13.3
> >> C       10.1.14.0/28 is directly connected, GigabitEthernet1/4
> >> C       10.1.12.0/28 is directly connected, GigabitEthernet1/2
> >> C       10.0.13.0/24 is directly connected, POS1/1
> >> S       10.2.0.0/16 [1/0] via 10.0.13.3
> >> S       10.2.2.1/32 [1/0] via 10.0.13.3
> >> S       10.2.1.2/32 [1/0] via 10.0.13.3
> >> S       10.0.24.2/32 [1/0] via 10.0.13.3
> >> S       10.0.24.0/24 [1/0] via 10.0.13.3
> >> S       10.1.51.34/32 [1/0] via 10.1.51.2
> >> S       10.1.51.18/32 [1/0] via 10.1.51.2
> >> C       10.1.51.0/28 is directly connected, GigabitEthernet5/1
> >> S       10.1.51.0/24 [1/0] via 10.1.51.2
> >> S       10.2.3.101/32 [1/0] via 10.0.13.3
> >> C    192.168.0.0/16 is directly connected, GigabitEthernet5/2
> >> 7600-RA#
> 
> 
> Configuration:
> 7600-RA#show running-config
> Building configuration...
> 
> Current configuration : 3563 bytes
> !
> upgrade fpd auto
> version 12.2
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> service counters max age 10
> !
> hostname 7600-RA
> !
> boot system flash disk0:s72033-advipservicesk9_wan-mz.122-18.SXE.bin
> boot system flash sup-bootflash:
> logging snmp-authfail
> enable password XXXXXXX
> !
> no aaa new-model
> clock timezone PST -8
> ip subnet-zero
> !
> !
> !
> no ip domain-lookup
> ipv6 mfib hardware-switching replication-mode ingress
> mls ip multicast flow-stat-timer 9
> no mls flow ip
> no mls flow ipv6
> no mls acl tcam share-global
> mls cef error action freeze
> no scripting tcl init
> no scripting tcl encdir
> !
> !
> !
> !
> !
> !
> !
> !
> !
> !
> redundancy
>   mode rpr-plus
>   main-cpu
>    auto-sync running-config
>    auto-sync standard
> spanning-tree mode pvst
> no spanning-tree optimize bpdu transmission
> spanning-tree extend system-id
> diagnostic cns publish cisco.cns.device.diag_results
> diagnostic cns subscribe cisco.cns.device.diag_commands
> no errdisable detect cause pagp-flap
> no errdisable detect cause dtp-flap
> no errdisable detect cause link-flap
> no errdisable detect cause l2ptguard
> no errdisable detect cause link-flap
> no errdisable detect cause l2ptguard
> no errdisable detect cause gbic-invalid
> no errdisable detect cause arp-inspection
> errdisable recovery cause udld
> errdisable recovery cause bpduguard
> errdisable recovery cause security-violation
> errdisable recovery cause channel-misconfig
> errdisable recovery cause pagp-flap
> errdisable recovery cause dtp-flap
> errdisable recovery cause link-flap
> errdisable recovery cause l2ptguard
> errdisable recovery cause psecure-violation
> errdisable recovery cause gbic-invalid
> errdisable recovery cause dhcp-rate-limit
> errdisable recovery cause mac-limit
> errdisable recovery cause unicast-flood
> errdisable recovery cause arp-inspection
> errdisable recovery interval 30
> !
> vlan internal allocation policy ascending
> vlan access-log ratelimit 2000
> !
> !
> interface GigabitEthernet1/1
>   ip address 10.1.11.1 255.255.255.240
> !
> interface GigabitEthernet1/2
>   ip address 10.1.12.1 255.255.255.240
> !
> interface GigabitEthernet1/3
>   ip address 10.1.13.1 255.255.255.240
> !
> interface GigabitEthernet1/4
>   ip address 10.1.14.1 255.255.255.240
> !
> interface POS1/1
>   ip address 10.0.13.1 255.255.255.0
>   mls qos trust dscp
>   clock source internal
>   pos scramble-atm
> !
> interface GigabitEthernet5/1
>   ip address 10.1.51.1 255.255.255.240
> !
> interface GigabitEthernet5/2
>   ip address 192.168.2.1 255.255.0.0
>   media-type rj45
> !
> interface Vlan1
>   no ip address
>   shutdown
> !
> ip classless
> ip route 10.0.11.0 255.255.255.0 10.1.1.1
> ip route 10.0.24.0 255.255.255.0 10.0.13.3
> ip route 10.0.24.2 255.255.255.255 10.0.13.3
> ip route 10.1.0.0 255.255.0.0 10.1.0.2
> ip route 10.0.24.2 255.255.255.255 10.0.13.3
> ip route 10.1.0.0 255.255.0.0 10.1.0.2
> ip route 10.1.51.0 255.255.255.0 10.1.51.2
> ip route 10.1.51.18 255.255.255.255 10.1.51.2
> ip route 10.1.51.34 255.255.255.255 10.1.51.2
> ip route 10.2.0.0 255.255.0.0 10.0.13.3
> ip route 10.2.1.2 255.255.255.255 10.0.13.3
> ip route 10.2.2.1 255.255.255.255 10.0.13.3
> ip route 10.2.3.101 255.255.255.255 10.0.13.3
> ip route 10.2.14.2 255.255.255.255 10.0.13.3
> !
> no ip http server
> !
> !
> !
> !
> control-plane
> !
> !
> !
> dial-peer cor custom
> !
> !
> !
> !
> line con 0
>   exec-timeout 0 0
> line vty 0 4
>   exec-timeout 0 0
>   password XXXXXXX
>   login
> !
> no cns aaa enable
> end
> 
> 
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list