Description

When creating a Range under dhcp-security or dhcp snooping and commiting the configuration an error might be displayed , 

error: "interface-range " is not a valid interface-range or alias name.

Symptoms

Example 

root# show interfaces interface-range DHCP-Untrusted

member ge-0/0/0;

 

root# show groups BlockRogueDHCP

vlans {

  <*> {

    forwarding-options {

      dhcp-security {

        group BlockDHCP {

          overrides {

            untrusted;

          

          interface DHCP-Untrusted; <<<<<<<<<<<

        }

 

root# commit check

error: 'DHCP-Untrusted' is not a valid interface-range or alias name

Solution

This is Expected behavior per design  , when system does not recognize the interface-range as an actual interface it will error out with 

error: 'DHCP-Untrusted' is not a valid interface-range or alias name

Modification History

2023-10-05