Related Documentation
- MX Series
- Configuring RADIUS NAS-Port Options for Subscriber Access per Physical Interface, VLAN, or Stacked VLAN
- Guidelines for Configuring RADIUS NAS-Port Options for Subscriber Access per Physical Interface, VLAN, or Stacked VLAN
- Configuring the RADIUS NAS-Port-Type per Physical Interface
- Configuring the RADIUS NAS-Port-Type per Stacked VLAN
- Configuring the RADIUS NAS-Port Extended Format per Physical Interface
- Configuring the RADIUS NAS-Port Extended Format per VLAN
- Configuring the RADIUS NAS-Port Extended Format per Stacked VLAN
Configuring the RADIUS NAS-Port-Type per VLAN
As an alternative to globally configuring the NAS-Port-Type (61) RADIUS attribute in an access profile, you can configure the NAS-Port-Type on a per-VLAN basis as part of a NAS-Port options definition. The NAS-Port-Type specifies the type of physical port that the network access server (NAS) uses to authenticate the subscriber.
Configuring NAS-Port options definitions on a per-VLAN basis is useful in network configurations that use a 1:1 access model.
To configure the NAS-Port-Type RADIUS attribute per VLAN:
- Specify the interface you want to configure.[edit]user@host# edit interfaces interface-name
- Enable VLAN tagging on the interface.[edit interfaces interface-name]user@host# set vlan-tagging
Setting VLAN tagging enables the reception and transmission of 802.1Q VLAN-tagged frames on the interface. You must enable VLAN tagging before you can configure the VLAN ranges to which the NAS-Port options definition applies.
- Specify that you want to configure RADIUS options for
a VLAN interface.[edit interfaces interface-name]user@host# edit radius-options
- Create a named NAS-Port options definition.[edit interfaces interface-name radius-options]user@host# edit nas-port-options nas-port-options-name
- Configure the NAS-Port-Type.[edit interfaces interface-name radius-options nas-port-options nas-port-options-name]user@host# set nas-port-type port-type
- Configure the VLAN range or ranges to which the NAS-Port
options definition applies.[edit interfaces interface-name radius-options nas-port-options nas-port-options-name]user@host# set vlan-ranges (any | low-tag–high-tag)
Per-VLAN configurations typically require you to create a VLAN range that consists of a single VLAN ID on the physical interface. To do so, set the low-tag and high-tag options in the vlan-ranges statement to the same value, as shown in the following example.
The following example shows a per-VLAN NAS-Port options definition named subscribers-west that configures the ethernet NAS-Port-Type for VLAN ID 3 on Gigabit Ethernet physical interface ge-1/1/0.
Related Documentation
- MX Series
- Configuring RADIUS NAS-Port Options for Subscriber Access per Physical Interface, VLAN, or Stacked VLAN
- Guidelines for Configuring RADIUS NAS-Port Options for Subscriber Access per Physical Interface, VLAN, or Stacked VLAN
- Configuring the RADIUS NAS-Port-Type per Physical Interface
- Configuring the RADIUS NAS-Port-Type per Stacked VLAN
- Configuring the RADIUS NAS-Port Extended Format per Physical Interface
- Configuring the RADIUS NAS-Port Extended Format per VLAN
- Configuring the RADIUS NAS-Port Extended Format per Stacked VLAN

