Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


server-reject-vlan (MX Series in Enhanced LAN Mode)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 14.2 for MX240, MX480, and MX960 routers in enhanced LAN mode.


For EX Series switches configured for 802.1X authentication, specify that when the switch receives an Extensible Authentication Protocol Over LAN (EAPoL) Access-Reject message during the authentication process between the switch and the RADIUS authentication server, supplicants attempting access to the LAN are granted access and moved to a specific VLAN. Any VLAN name or VLAN ID sent by a RADIUS server as part of the EAPoL Access-Reject message is ignored.

When you specify the VLAN ID or VLAN name, the VLAN must already be configured on the switch.

The remaining statements are explained separately. See CLI Explorer.




vlan-id—Numeric identifier of the VLAN to which the supplicant is moved.

vlan-name—Name of the VLAN to which the supplicant is moved.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.