Ethernet Fabric (VDX, CNA)

Reply
Occasional Contributor
Posts: 8
Registered: ‎07-02-2012

Issue removing DHCP relay config from NOS 7.0.1b

I am attempting to remove a non-working DHCP config from a VDX 6740 logical cluster pair and I am getting errors on the remove commands.

 

I have the following configured on rbridge-1 and rbridge-2:

 

rbridge-id 1 

interface Ve 101
ip dhcp relay address 192.168.1.62
ip dhcp relay gateway 192.168.1.12
no shutdown

 

rbridge-id 2

interface Ve 101
ip dhcp relay address 192.168.1.62
ip dhcp relay gateway 192.168.1.12
no shutdown

 

If I use the following commands to remove them I get an %Error: Gateway configured on the interface and if I try and remove the gateway I get %Error: No entry found.

 

switch(config)# rb 1
switch(config-rbridge-id-1)# int ve 101

 

switch(config-rbridge-Ve-101)# no ip dhcp relay address 192.168.1.62
%Error: Gateway configured on the interface


switch(config-rbridge-Ve-101)# no ip dhcp relay gateway 192.168.1.12
%Error: No entry found

 

I can't figure out what I am missing to remove these config elements. Does anyone here have a suggestion on what I am doing wrong? I understand the first command is erroring out as there is a ip dhcp relay gateway entry, but I can't remove that entry as it claims it is not there.

 

External Moderator
Posts: 4,907
Registered: ‎02-23-2004

Re: Issue removing DHCP relay config from NOS 7.0.1b

@mholt1

 

what is the output of

 

show ip dhcp relay gateway "operands"

 

TechHelp24
Occasional Contributor
Posts: 8
Registered: ‎07-02-2012

Re: Issue removing DHCP relay config from NOS 7.0.1b

I am gettting the following with the syntax error on either the " or the o in operands.

switch# show ip dhcp relay gateway "operands"
----------------------------------------^
syntax error: unknown argument
switch#
External Moderator
Posts: 4,907
Registered: ‎02-23-2004

Re: Issue removing DHCP relay config from NOS 7.0.1b

@mholt1

 

I would suggest to refer the command reference guide.

 

"operands" is = [rbridge-id rbridge-id | all | range]

 

example:

 

show ip dhcp relay gateway rbridge-id 1

 

or

 

show ip dhcp relay gateway rbridge-id all

 

 

TechHelp24
Occasional Contributor
Posts: 8
Registered: ‎07-02-2012

Re: Issue removing DHCP relay config from NOS 7.0.1b

Thank you, that made a lot more sense.

For a show ip dhcp relay gateway rbridge-id all command there is no data returned and I am just back at a clear command line.

I'm thinking I am running into a bug here as I would expect that if i am in config mode on the rbridge and gave it the no ip dhcp relay gateway 192.168.1.12 command it would just remove it.
Occasional Contributor
Posts: 8
Registered: ‎07-02-2012

Re: Issue removing DHCP relay config from NOS 7.0.1b

I found a workaround. If I detach and reattach the VE from each rbridge-id one at a time that will clear the relay command from each rbridge.

 

ex:

 

switch# config

switch(config)# int ve 101

switch(config-Ve-101)# attach rbridge-id remove 1

switch(config-Ve-101)# attach rbridge-id add 1

switch(config-Ve-101)# attach rbridge-id remove 2

switch(config-Ve-101)# attach rbridge-id add 2

 

 

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.