本帖最后由 wal_cisco 于 2016-8-29 08:17 编辑
我使用gns3(ubuntu)模拟cisco-3725,使用以下的startup-config,什么都成功,但就是找不到 ssh服务(应该未启动,使用 nmap -A 192.168.1.250 时没发现 22 号端口的信息,只有80号端口信息)。请问下面的 startup-config 脚本有问题吗?
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname ghh-r1
boot-start-marker
boot-end-marker
enable secret 5 $1$E.2N$6HDnuNoWYNF7jfimzBtV4/
aaa new-model
aaa authentication login default local
aaa authorization config-commands
aaa authorization exec default local
aaa session-id common
memory-size iomem 5
ip cef
ip domain name ghh.local
multilink bundle-name authenticated
username test password 7 08114D5D1A0E5505164A
username admin privilege 15 secret 5 $1$m9RP$WMBDl2prhisVK6bQ14Ujs0
archive
log config
hidekeys
ip ssh time-out 60
ip ssh authentication-retries 5
interface FastEthernet0/0
ip address 192.168.1.250 255.255.255.0
duplex auto
speed auto
interface FastEthernet0/1
ip address 192.168.100.1 255.255.255.0
duplex auto
speed auto
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
ip default-gateway 192.168.100.1
ip default-network 192.168.1.0
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip http server
ip http authentication aaa
no ip http secure-server
snmp-server community public RO
snmp-server community secret RW
route-map priv permit 0
control-plane
line con 0
line aux 0
line vty 0 4
transport input ssh
end