冰糖_茄子 发表于 2013-8-21 22:13:48

求助!思科3560接口有地址,起静态了,可是路由表是空的

version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 3560E-1
!
boot-start-marker
boot-end-marker
!
enable password xesoa808
!
!
!
no aaa new-model
system mtu routing 1500
authentication mac-move permit
ip subnet-zero
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.10.253
!         
ip dhcp pool vlan10
   network 192.168.10.0 255.255.255.0
   dns-server 202.106.0.20 202.106.196.115
   default-router 192.168.10.1
   lease 300
!         
!         
no ip domain-lookup
!         
!         
crypto pki trustpoint TP-self-signed-1074966400
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1074966400
revocation-check none
rsakeypair TP-self-signed-1074966400
!         
!         
crypto pki certificate chain TP-self-signed-1074966400
certificate self-signed 01
30820240 308201A9 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31303734 39363634 3030301E 170D3933 30333031 30303033
31315A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 30373439
36363430 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100E9A8 A549701C 2C19B297 FFA433D1 3F0A4CFE 832BF0CC 7608679C A9EE41E1
F12A8362 F285C7E7 96EB9468 A76E6AD9 8B382AE5 F7DF6AE8 3A204B54 51C82CB9
736B77A2 595C740E D0B309CC 33C4C22E 8107B639 AC7B7414 447254D4 D26744BD
463C857D 947C5E4E 37EF7E9F 7DA1FF56 B1183D73 57EBDD77 CD87D9ED 09420EC3
5A1F0203 010001A3 68306630 0F060355 1D130101 FF040530 030101FF 30130603
551D1104 0C300A82 08333536 30452D31 2E301F06 03551D23 04183016 80145DE1
416BEFE0 1AB52621 4063791C 0059D134 3EC9301D 0603551D 0E041604 145DE141
6BEFE01A B5262140 63791C00 59D1343E C9300D06 092A8648 86F70D01 01040500
03818100 3C0ED3D8 CF5D9979 4F981508 D2F2936E D2C07914 A3E4C40B 319BD5B6
1B9D870E 6FACE5DE F4359CCE 4E444272 963C7BA8 BB5251C8 74C4BC27 95E93A4B
9372AB89 DCD903DB 9C433F6E 17C70A27 CB007DE7 7E8FE7EE 742C7D1C 0B4C440E
70C04CCC 8A1890F6 72C31D25 838F26DF 75202694 C7A5F169 5584A946 C7737062 4F6366D7
quit   
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!         
!         
!         
!         
vlan internal allocation policy ascending
!         
!         
!         
interface FastEthernet0
no ip address
!         
interface GigabitEthernet0/1
!         
interface GigabitEthernet0/2
switchport access vlan 2
speed 100
duplex full
!         
interface GigabitEthernet0/3
switchport access vlan 3
speed 100
duplex full
!         
interface GigabitEthernet0/4
switchport access vlan 4
speed 100
duplex full
!         
interface GigabitEthernet0/5
switchport access vlan 5
speed 100
duplex full
!         
interface GigabitEthernet0/6
switchport access vlan 6
speed 100
duplex full
!         
interface GigabitEthernet0/7
switchport access vlan 7
speed 100
duplex full
!         
interface GigabitEthernet0/8
switchport access vlan 8
speed 100
duplex full
!         
interface GigabitEthernet0/9
switchport access vlan 9
speed 100
duplex full
!         
interface GigabitEthernet0/10
switchport access vlan 10
speed 100
duplex full
!         
interface GigabitEthernet0/11
switchport access vlan 11
speed 100
duplex full
!         
interface GigabitEthernet0/12
switchport access vlan 12
speed 100
duplex full
!         
interface GigabitEthernet0/13
switchport access vlan 13
speed 100
duplex full
!         
interface GigabitEthernet0/14
switchport access vlan 14
speed 100
duplex full
!         
interface GigabitEthernet0/15
!         
interface GigabitEthernet0/16
!         
interface GigabitEthernet0/17
!         
interface GigabitEthernet0/18
!         
interface GigabitEthernet0/19
!         
interface GigabitEthernet0/20
!         
interface GigabitEthernet0/21
!         
interface GigabitEthernet0/22
!         
interface GigabitEthernet0/23
!         
interface GigabitEthernet0/24
no switchport
ip address 192.168.100.1 255.255.255.0
speed 100
duplex full
!         
interface GigabitEthernet0/25
!         
interface GigabitEthernet0/26
!         
interface GigabitEthernet0/27
!         
interface GigabitEthernet0/28
!         
interface TenGigabitEthernet0/1
!         
interface TenGigabitEthernet0/2
!         
interface Vlan1
no ip address
!         
interface Vlan2
ip address 192.168.2.253 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 priority 120
standby 2 preempt
!         
interface Vlan3
description 1901 1807 1903 12B05
ip address 192.168.3.253 255.255.255.0
standby 3 ip 192.168.3.1
standby 3 priority 120
standby 3 preempt
!         
interface Vlan4
ip address 192.168.4.253 255.255.255.0
standby 4 ip 192.168.4.1
standby 4 priority 120
standby 4 preempt
!         
interface Vlan5
ip address 192.168.5.253 255.255.255.0
standby 5 ip 192.168.5.1
standby 5 priority 120
standby 5 preempt
!         
interface Vlan6
ip address 192.168.6.253 255.255.255.0
standby 6 ip 192.168.6.1
standby 6 priority 120
standby 6 preempt
!         
interface Vlan7
ip address 192.168.7.253 255.255.255.0
standby 7 ip 192.178.7.1
standby 7 priority 120
standby 7 preempt
!         
interface Vlan8
ip address 192.168.8.253 255.255.255.0
standby 8 ip 192.168.8.1
standby 8 priority 120
standby 8 preempt
!         
interface Vlan9
ip address 192.168.9.253 255.255.255.0
standby 9 ip 192.168.9.1
standby 9 priority 120
standby 9 preempt
!         
interface Vlan10
ip address 192.168.10.253 255.255.255.0
standby 10 ip 192.168.10.1
standby 10 priority 120
standby 10 preempt
!         
interface Vlan11
ip address 192.168.11.253 255.255.255.0
standby 11 ip 192.168.11.1
standby 11 priority 120
standby 11 preempt
!         
interface Vlan12
ip address 192.168.12.253 255.255.255.0
standby 12 ip 192.168.12.1
standby 12 priority 120
standby 12 preempt
!         
interface Vlan13
ip address 192.168.13.253 255.255.255.0
standby 13 ip 192.168.13.1
standby 13 priority 120
standby 13 preempt
!         
interface Vlan14
ip address 192.168.14.253 255.255.255.0
standby 14 ip 192.168.14.1
standby 14 priority 120
standby 14 preempt
!         
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.100.2
ip http server
ip http secure-server
!         
ip sla enable reaction-alerts
!         
!         
line con 0
exec-timeout 0 0
line vty 0 4
login   
line vty 5 15
login   
!         
end
这是3560所有配置,也保存了,之后show ip route

60E-1#show ip route
Default gateway is not set
Host               Gateway         Last Use    Total UsesInterface
ICMP redirect cache is empty
路由表是空的,求大神帮助,谢谢



http://bbs.hh010.com/xwb/images/bgimg/icon_logo.png 该贴已经同步到 冰糖_茄子的微博

二月海鸥 发表于 2013-8-23 15:44:26

....难道没有 ip routing? 不清楚。。。

maqizhao 发表于 2013-9-11 00:45:04

把帖子弄热,等大神解答...

淘客达 发表于 2014-6-13 17:02:10

敲ip routing{:6_264:}
页: [1]
查看完整版本: 求助!思科3560接口有地址,起静态了,可是路由表是空的