这是show run,请帮忙看一下dhcp是否配置正确。自动获取IP地址有时候是可以的,有时候不行。请大神帮忙看一下!~~
router(config)#do show run
Building configuration...
Current configuration : 5982 bytes
!
! Last configuration change at 07:57:14 UTC Wed Feb 19 2014
! NVRAM config last updated at 07:24:14 UTC Wed Feb 19 2014
! NVRAM config last updated at 07:24:14 UTC Wed Feb 19 2014
version 15.1
service timestamps debug datetime msec
service timestamps log
no service password-encryption
!
hostname router
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
enable password cisco
!
no aaa new-model
!
no ipv6 cef
ip source-route
ip cef
!
!
!
!
ip dhcp pool aa
network 192.168.150.0 255.255.255.0
default-router 192.168.150.201
dns-server 219.141.136.10 219.141.140.10
!
!
no ip domain lookup
ip domain name yourdomain.com
multilink bundle-name authenticated
!
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-3323975856
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3323975856
revocation-check none
rsakeypair TP-self-signed-3323975856
!
!
crypto pki certificate chain TP-self-signed-3323975856
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33333233 39373538 3536301E 170D3132 30343139 32303332
34385A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 0313
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 33323339
37353835 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100ADEE 81EEC194 4F3DECAF 75C1A789 4F88C4C4 D891D5D2 F188CFF9 9F6FDEA5
ED318DF0 BB9AD28E FB232AAD 00921E93 0B0A3E9E 3AA820DB C0CD5261 9ACCA52F
E78513C7 07995087 B3B8E505 69F2F627 12CE2B4B F83EA549 7ECDEA33 D223AB07
C9CDFE63 4C5FC4A1 B0016415 225C671A A08CA046 D81CBE44 12EB5E9A 44FC703B
5EE30203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F06
551D2304 18301680 142EFA68 FF55964F 53D034F7 3E0F1CCF 98F7B9DA 58301D06
03551D0E 04160414 2EFA68FF 55964F53 D034F73E 0F1CCF98 F7B9DA58 300D0609
2A864886 F70D0101 05050003 81810097 1F65C708 6FCFB44F 66750DE4 71F3A13A
4B48B8B5 56C9D8F8 72947FC0 3E978F8B 69815C84 8480DF3A EF54D8EC 9EA02A8E
F7E58E26 92088D2E 54448D37 6B90D05E 98D42808 815657F8 140EA090 E3EB86D1
DAFCCEAF 3127D001 1E83376B 4437FE35 8ED4D772 FC52AEDF A943E8E4 BD58A607
C9E0AEAD 3FCF84CE A7A2B9D7 3ED6C4
quit
license udi pid CISCO29
!
!
username cisco password 0 cisco
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
ip address 10.10.10.1 255.255.255.248
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.16.100.2 255.255.255.252
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 10.0.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed a
!
ip forward-protocol nd
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip nat pool zhuan 106.120.112.114 106.120.112.114 netmask 255.255.255.252
ip nat pool xing 172.16.100.2 172.16.100.2 netmask 255.255.255.252
ip nat pool liantong 119.57.183.121 119.57.183.121 netmask 255.255.255.248
ip nat inside source list 1 pool xing overload
ip route 0.0.0.0 0.0.0.0 172.16.100.1
ip route 192.168.150.0 255.255.255.0 10.0.0.2
!
ip access-list extended aa
permit ip 192.168.150.0 0.0.0.255 any
permit ip 172.16.100.0 0.0.0.3 any
!
access-list 1 permit any
access-list 23 permit 10.10.10.0 0.0.0.7
!
!
!
control-plane
!
!
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------
Cisco Configuration Professional (Cisco CP) is installed on this device
and it provides the default username "cisco" for one-time use. If you have
already used the username "cisco" to login to the router and your IOS image
supports the "one-time" user option, then this username has already expired.
You will not be able to login to the router with this username after you exit
this session.
It is strongly suggested that you create a new use
of 15 using the following command.
Replace <myuser> and <mypassword> with the username and password you want to
use.
-----------------------------------------------------------------------
^C
banner login ^C
-----------------------------------------------------------------------
Cisco Configuration Professional (Cisco CP) is installed on this device.
This feature requires the one-time use of the username "cisco" with the
password "cisco". These default creden
YOU MUST USE CISCO CP or the CISCO IOS CLI TO CHANGE THESE PUBLICLY-KNOWN
CREDENTIALS
Here are the Cisco IOS commands.
username <myuser> privilege 15 secret 0 <mypassword>
no username cisco
Replace <myuser> and <mypassword> with the username and password you want
to use.
IF YOU DO NOT CHANGE THE PUBLICLY-KNOWN CREDENTIALS, YOU WILL NOT BE ABLE
TO LOG INTO THE DEVICE AGAIN AFTER YOU HAVE LOGGED OFF.
For more information about Cisco CP please follow the instructions in the
QUICK START GUIDE for your router or go to http://www.cisco.com/go/ciscocp
-----------------------------------------------------------------------
^C
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
privilege level 15
password admin
login
transport input telnet ssh
!
scheduler allocate 20000 1000
end