Skip to main content
cmaheu
Staff
Staff
April 29, 2021

Technical Tip: Interface range configuration not supported on Juniper switches

  • April 29, 2021
  • 0 replies
  • 1486 views

Description

 
This article describes that if ports are configured in an interface range, unexpected results can occur, such as unexpectedly removing ports from a VLAN or FortiNAC not reading the current vlan ID of a switch port.
 
Access ports on Juniper switches can be configured per individual interface or interface range. The appliance modifies VLAN access on individual access ports only. Modifying ports in an interface range is not supported.

Note: As of this writing, Juniper switches managed by the Mist Cloud are configured in an interface rage configuration. 
 
Scope
 
Version: 8.x and above.

Solution
 
Ensure that all the interfaces have the VLAN set in the interface configuration and that the interface that has a mode trunk has a native VLAN ID.
 
Juniper CLI Examples:
 
Supported:
 
{
                "name" : "ge-0/0/4",
                "unit" : [
                {
                    "name" : 0,
                    "family" : {
                        "ethernet-switching" : {
                            "interface-mode" : "access",
                            "vlan" : {
                                "members" : ["vlan_25"]
                            }
                        }
                    }
                }
 
Not Supported:


"interfaces" : {
            "interface-range" : [
            {
                "name" : "vlan_25",
                "member" : [
                {
                    "name" : "ge-0/0/0"
                },
                {
                    "name" : "ge-0/0/1"
                },
                {
                    "name" : "ge-0/0/2"
                },
                {
                    "name" : "ge-0/0/3"
                }
                ],
                "unit" : [
                {
                    "name" : 0,
                    "family" : {
                        "ethernet-switching" : {
                            "interface-mode" : "access",
                            "vlan" : {
                                "members" : ["25"]
                            }
                        }
                    }
                }
                ]
            }