cisco2800#show run
Building configuration...
Current configuration : 1293 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco2800
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$hruE$Y2wWTa/sfL1TrrqupYY7n.
enable password cisco@2014
!
no aaa new-model
ip source-route
no ip routing
!
!
!
!
no ip cef
multilink bundle-name authenticated
!
!
!
license udi pid CISCO2801 sn FHK1330F14U
!
!
!
!
!
!
interface FastEthernet0/0
ip address 172.16.100.1 255.255.255.252 (
此处下面是接一
台开通了路由功能的三层交换机,现在测试是用此端口直接连接
的电脑,应该没问题吧。)
ip nat inside
ip virtual-reassembly
no ip route-cache
speed auto
full-duplex
no mop enabled
!
interface FastEthernet0/1
ip address 183.235.163.38 255.255.255.252
ip nat outside
ip virtual-reassembly
no ip route-cache
duplex auto
speed auto
!
interface FastEthernet0/3/0
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
interface FastEthernet0/3/1
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
!
no ip http server
ip nat inside source list 1 interface FastEthernet0/1
overload
ip route 0.0.0.0 0.0.0.0 183.235.163.37 (
此ip是服务商给的IP的网关,不知道填错没。)
!
access-list 1 permit any
!
snmp-server community public RO
!
control-plane
!
!
line con 0
password flylink
login
line aux 0
line vty 0 4
password cisco@2014
login
!
scheduler allocate 20000 1000
end