Junos
Highlighted
Junos

QFX5100 - error: 'address' is not a valid interface-range

[ Edited ]
‎11-20-2019 10:14 AM

Hi all,

 

I am fairly new to the Junos world and I am hoping you can help out with this odd error message. I have inherited two new QFX5100-48S units at my new employer and as I am working on configuring them and I cannot commit any change due to the error: 'address' is not a valid interface-range or alias name. 

 

I have added just a simple default route and cannot commit due to the the error.

root# set routing-options static route default next-hop 192.168.99.254

{master:0}[edit]

 

root# set interfaces vme unit 0 family inet address 192.168.99.250/24

{master:0}[edit]
root# commit
error: 'address' is not a valid interface-range or alias name

 

Thanks in advance,

Adrian
  

8 REPLIES 8
Highlighted
Junos

Re: QFX5100 - error: 'address' is not a valid interface-range

‎11-20-2019 10:38 AM

can you please provide the output of "show configuration" and "show | compare"? Your specific set commands looks correct.


--
Best regards,

Jonas Hauge Klingenberg
Juniper Ambassador & Technology Architect, SEC DATACOM A/S (Denmark)
Highlighted
Junos

Re: QFX5100 - error: 'address' is not a valid interface-range

‎11-20-2019 12:42 PM

Hi Jonas,

 

Thanks for the quick reply. I attached the config of my first unit. On the second unit, I cleared/reset the entire config and the error is still persisting.

 

-Adrian

Attachments

Highlighted
Junos

Re: QFX5100 - error: 'address' is not a valid interface-range

‎11-20-2019 02:28 PM

You need to also remove the dhcp config from the interface.

 

del interfaces vme unit 0 family inet dhcp
set interfaces vme unit 0 family inet address 192.168.99.250/24
Highlighted
Junos

Re: QFX5100 - error: 'address' is not a valid interface-range

‎11-21-2019 10:16 AM

Hi smicker,

 

That worked on my first unit! I configured the copper em0 port and I am now able to SSH into it through my mgmt network.

 

The second unit is still giving me the error and the unit has been wiped clean. I attached the output of "root# show", "root# show sysem", "root# show interfaces/vlan". The only address related config that I have is the default route.

 

Thank you,

Adrian

Attachments

Highlighted
Junos
Solution
Accepted by topic author AdrianT04
‎11-21-2019 11:43 AM

Re: QFX5100 - error: 'address' is not a valid interface-range

‎11-21-2019 10:53 AM

Hi Adrian,

The Issue is related below configuration.

routing-options {
static {
route 0.0.0.0/0 next-hop [ address 192.168.99.250 ];
}

}

you can fix it with below configuration;


delete routing-options static route 0.0.0.0/0

set routing-options static route 0.0.0.0/0 next-hop 192.168.99.250

commit



If this worked for you please flag my post as an "Accepted Solution" so others can benefit.
Highlighted
Junos

Re: QFX5100 - error: 'address' is not a valid interface-range

‎11-21-2019 11:43 AM

Hi Hidayetkurtumulus,

 

Thank you for your quick reply on this. Your suggested configuration worked as expected! 

 

I have one last trivial question. I have created a DATA vlan and enabled it on int ge-0/0/2 in access-mode.

When the does the interface "unit 0" need to match the vlan-id of the vlan created?

 

set interfaces ge-0/0/2 unit 99 family ethernet-switching vlan members DATA  -- did not work

set interfaces ge-0/0/2 unit 0 family ethernet-switching vlan members DATA  -- worked

 

atetu# show vlans
DATA {
vlan-id 99;
l3-interface irb.99

 

atetu# show interfaces ge-0/0/2
unit 0 {
family ethernet-switching {
interface-mode access;
vlan {
members DATA;

-Adrian

Highlighted
Junos

Re: QFX5100 - error: 'address' is not a valid interface-range

‎11-21-2019 12:20 PM

An untagged ethernet interfaces must be use unit 0, but for the tagged ethernet interfaces, there is no need to match vlan-id and unit number.



If this worked for you please flag my post as an "Accepted Solution" so others can benefit.
Highlighted
Junos

Re: QFX5100 - error: 'address' is not a valid interface-range

‎11-21-2019 01:14 PM

That makes sense. Thanks for all your help!

 

-Adrian

Feedback