Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I could not view the sh ip route?

Status
Not open for further replies.

victorjob

Technical User
Apr 27, 2003
33
HK
I could not view the sh ip route, how can I do?

cisco1601R>sh ip route
Default gateway is not set

Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
cisco1601R>
 
It looks like you don't have any interfaces configured because they should show up as local connected routes. It also looks as if you have neither static or dynamic routing configured. What is the status of this router?
 
How can I do? thanks

cisco1601R#
2w5d: %SYS-5-CONFIG_I: Configured from console by consolesh run
Building configuration...

Current configuration : 786 bytes
!
version 12.2
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco1601R
!
logging rate-limit console 10 except errors
enable secret 5 $1$6dGx$vjxRPNaUsk6MNJ0kHzLrB0
enable password pass5135
!
ip subnet-zero
no ip routing
no ip finger
!
no ip dhcp-client network-discovery
!
!
!
interface Ethernet0
ip address 192.168.3.16 255.255.255.0
no ip route-cache
!
interface Serial0
description DCE line to 2501
ip address 192.168.1.16 255.255.255.0
no ip route-cache
clockrate 64000
!
ip classless
ip route 192.168.0.0 255.255.255.0 192.168.1.25
ip route 192.168.1.0 255.255.255.0 192.168.1.25
no ip http server
!
!
line con 0
transport input none
line vty 0 4
password 5683
login
!
end

cisco1601R#
cisco1601R#
cisco1601R#config
Configuring from terminal, memory, or network [terminal]? t
Enter configuration commands, one per line. End with CNTL/Z.
cisco1601R(config)#int se
cisco1601R(config)#int serial 0
cisco1601R(config-if)#ip route-cache
cisco1601R(config-if)#exit
cisco1601R(config)#exit
cisco1601R#s
2w5d: %SYS-5-CONFIG_I: Configured from console by consoleh ip route
Default gateway is not set

Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
cisco1601R#
 
you have "no ip routing" in your configuration.


config t <enter>

ip routing <enter>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top