Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
David_Herselman
Advisor
Jump to solution

Removing dhcp relay information from a decommissioned interface

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
1 Solution

Accepted Solutions
JozkoMrkvicka
Authority
Authority

You can remove all configuration (DHCP, IGMP, IPs, ...) by adding "force" after delete command.

delete interface bond2 vlan 500 force

Kind regards,
Jozko Mrkvicka

View solution in original post

0 Kudos
2 Replies
PNH
Participant

@David_Herselman wrote:

Items remaining in configuration:

 

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

 

Hi

set bootp interface <interface> primary default

seems to remove it

 

0 Kudos
JozkoMrkvicka
Authority
Authority

You can remove all configuration (DHCP, IGMP, IPs, ...) by adding "force" after delete command.

delete interface bond2 vlan 500 force

Kind regards,
Jozko Mrkvicka
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events