cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1505
Views
0
Helpful
1
Replies

how to remove pxe boot settings. cisco 1841

jwilliams
Level 1
Level 1

A while ago I set up a pxe server and somehow eventually configured our Cisco router which ran our dhcp server as well.  We've removed the pxe boot server and now I'd like to remove those entries.  Essentially the two lines I believe I need to remove are here under my running-config:


   bootfile pxelinux.0

   next-server 10.100.100.230

found here:

ip dhcp pool dhcp

   network 10.100.100.0 255.255.255.0

   bootfile pxelinux.0

   next-server 10.100.100.230

   dns-server 10.100.100.4

I've tried using the commands:
main-rt(config)#no bootfile pxelinux.0

main-rt(config)#no next-server 10.100.100.230

but those give errors

main-rt(config)#no bootfile pxelinux.0
                  ^
% Invalid input detected at '^' marker.

main-rt(config)#no next-server 10.100.100.230
                     ^
% Invalid input detected at '^' marker.

any ideas on how to get rid of these 2 lines?  Thanks

1 Reply 1

First you have to enter in dhcp-config mode:

main-rt(config)# ip dhcp pool dhcp

main-rt(dhcp-config)# no bootfile pxelinux.0

main-rt(dhcp-config)# no next-server 10.100.100.230