08-11-2015 03:38 AM - edited 03-08-2019 01:18 AM
Hi ,
Am unable to execute sh ip dhcp command in 3750 switch and Does it related to the below version we use ? COuld you please clarify on the same.
c3750-ipbase-mz.122-25.SEE2.
Regards,
P
08-11-2015 04:30 AM
What information are you trying to see?
as a guess try, # show ip dhcp pools <pool name>
08-11-2015 04:33 AM
Hi
what does it show you when you tab it out , i would have thought even ipbase was ok for dhcp
show ip dhcp ? or show ip d?
08-11-2015 07:35 PM
Hi chris/mark ,
Below is the error while executing the "sh ip dhcp pool" command.
core1#sh ip dhcp pool
^
% Invalid input detected at '^' marker.
core#
08-11-2015 07:37 PM
hi mark/chris,
below are the tabs when i click on tab for that command. i couldn't see the " sh ip dhcp pool"
core1#sh ip dhcp ?
binding DHCP address bindings
conflict DHCP address conflicts
database DHCP database agents
import Show Imported Parameters
relay Miscellaneous DHCP relay information
server Miscellaneous DHCP server information
snooping DHCP snooping
core1#sh ip dhcp
08-12-2015 12:20 AM
That looks like DHCP function is available on the device what exactly are you having trouble viewing/doing ? when you try something like show ip dhcp server statistics it should show something like the below even if there are no pools set on the device
VSS-CORE#sh ip dhcp server statistics
Memory usage 5285
Address pools 0
Database agents 0
Automatic bindings 0
Manual bindings 0
Expired bindings 0
Malformed messages 100
Message Received
BOOTREQUEST 0
DHCPDISCOVER 0
DHCPREQUEST 0
DHCPDECLINE 0
DHCPRELEASE 0
DHCPINFORM 0
Message Sent
BOOTREPLY 0
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0
08-12-2015 12:23 AM
Sorry just seen you other mail , do you have a pool available in running configuration to view , should look something like the below if you dont then that command will not work until its configured as theres no pool to view
ip dhcp pool 1
network 172.16.1.0 /24
default-router 172.16.1.100 172.16.1.101
lease 30
http://www.cisco.com/c/en/us/td/docs/ios/12_2/ip/configuration/guide/fipr_c/1cfdhcp.html
08-16-2015 07:12 PM
DHCP has been configured on the device.. Please see the below stats. its
Core#sh ip dhcp server statistics
Memory usage 6540
Address pools 2
Database agents 0
Automatic bindings 1
Manual bindings 0
Expired bindings 3786
Malformed messages 28
Message Received
BOOTREQUEST 0
DHCPDISCOVER 7835
DHCPREQUEST 29652
DHCPDECLINE 1
DHCPRELEASE 75
DHCPINFORM 96537
Message Sent
BOOTREPLY 0
DHCPOFFER 6704
DHCPACK 114387
DHCPNAK 304
Core#
Switch model number:Cisco WS-C3750G-24PS
08-17-2015 12:33 AM
You should move off that ios as below its deferred and cant be downloaded which means too many bugs
so that output shows its able to see dhcp commands and dhcp is working but you don't have the option for that command show ip dhcp pool to use , if you move to a newer ios it should be available , 55 se8 or se 10 are good images for that platform
08-17-2015 02:26 AM
The device which is having the below version also doesn't work.
This also defered version might be as a reason?
flash:c3750-ipservices-mz.122-35.SE5/
08-17-2015 02:39 AM
The problem is not being caused by the image being deferred that is just something I noticed when I checked your IOS version you should always avoid being on and image like that it will eventually cause you problems , the version 122-35.SE5 is not in deferred state its still ok to download
The problem is the syntax is not available to check ---pool is not there
I have checked several of my 3750 models they are all running universal uimage and at least from 12.2(55)SE8 or higher and the pool statement is available in all of them
core1#sh ip dhcp ?
binding DHCP address bindings
conflict DHCP address conflicts
database DHCP database agents
import Show Imported Parameters
relay Miscellaneous DHCP relay information
server Miscellaneous DHCP server information
snooping DHCP snooping
08-12-2015 03:29 AM
Hello
Do you have dhcp configured?
sh run | in dhcp
res
Paul
10-21-2016 12:00 PM
You can try below command
core1#sh
I have the same version: c3750e-universal-mz.122-35.SE5
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide