Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
David_Herselman
Contributor

Removing dhcp relay information from a decommissioned interface

Jump to solution

Hi,

I was hoping someone may know how to remove bootp settings from a decommissioned vlan interface:

testing> set bootp interface bond2.500 primary 10.10.10.129 wait-time 0 off
CLINFR0329 Invalid command:'set bootp interface bond2.500 primary 10.10.10.129 wait-time 0 off '.


Running R80.30 kernel 2.6 cluster with JHA take 111

Yes, I can remove these settings by logging in to the web UI, navigating to dhcp relay, selecting the entry tagged as missing it's interface and then remove it. I would however very much prefer a cli method...

 

Steps to reproduce

Configure new interface:

add interface bond2 vlan 500
set interface bond2 state on
set interface bond2.500 comments "Site - Service"
set interface bond2.500 state on
set interface bond2.500 ipv4-address 10.10.10.130 mask-length 25
set bootp interface bond2.500 on
set bootp interface bond2.500 relay-to 192.168.1.2 on
set bootp interface bond2.500 relay-to 192.168.2.2 on
set bootp interface bond2.500 relay-to 192.168.3.2 on
set bootp interface bond2.500 primary 10.10.10.129

Attempting to remove everything:

set bootp interface bond2.500 relay-to 192.168.1.2 off
set bootp interface bond2.500 relay-to 192.168.2.2 off
set bootp interface bond2.500 relay-to 192.168.3.2 off
set bootp interface bond2.500 off
set interface bond2.500 state off
delete interface bond2.500 ipv4-address
delete interface bond2 vlan 500

Items remaining in configuration:

set bootp interface bond2.500 primary 10.10.10.129
set bootp interface bond2.500 off



Regards
David Herselman

0 Kudos
2 Replies
This widget could not be displayed.