Junos OS

last person joined: 6 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  QFX5100 - error: 'address' is not a valid interface-range

    Posted 11-20-2019 10:14

    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
      



  • 2.  RE: QFX5100 - error: 'address' is not a valid interface-range

    Posted 11-20-2019 10:38

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



  • 3.  RE: QFX5100 - error: 'address' is not a valid interface-range

    Posted 11-20-2019 12:43
      |   view attached

    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

    Attachment(s)

    txt
    qfx5100 config.txt   26 KB 1 version


  • 4.  RE: QFX5100 - error: 'address' is not a valid interface-range

     
    Posted 11-20-2019 14:29

    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


  • 5.  RE: QFX5100 - error: 'address' is not a valid interface-range

    Posted 11-21-2019 10:16
      |   view attached

    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

    Attachment(s)

    txt
    unit-2 show output.txt   1 KB 1 version


  • 6.  RE: QFX5100 - error: 'address' is not a valid interface-range
    Best Answer

    Posted 11-21-2019 10:54

    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



  • 7.  RE: QFX5100 - error: 'address' is not a valid interface-range

    Posted 11-21-2019 11:44

    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



  • 8.  RE: QFX5100 - error: 'address' is not a valid interface-range

    Posted 11-21-2019 12:21

    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.



  • 9.  RE: QFX5100 - error: 'address' is not a valid interface-range

    Posted 11-21-2019 13:14

    That makes sense. Thanks for all your help!

     

    -Adrian