Is there a cli command to manually release DHCP addresses from a branch routers?

  • 1
  • Question
  • Updated 3 years ago
Is there a cli command to manually release DHCP addresses from a branch routers?
Photo of Neill Kerwin

Neill Kerwin

  • 7 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes

clear interface <mgtx|mgtx.y> dhcp-server lease all 

clear interface <mgtx|mgtx.y> dhcp-server lease ip <ip_addr> 

clear interface <mgtx|mgtx.y> dhcp-server lease mac <mac_addr> 

Photo of Nick Lowe

Nick Lowe, Official Rep

  • 2491 Posts
  • 451 Reply Likes
You'll probably also want to use that in conjunction with:

show l3 interface

and

show interface <mgtx|mgtx.y> dhcp-server
(Edited)