Supported Platforms
Related Documentation
- MX Series
- RADIUS NAS-Port Options for Subscriber Access per Physical Interface, VLAN, or Stacked VLAN Overview
- 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 VLAN
- 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 RADIUS NAS-Port Options for Subscriber Access per Physical Interface, VLAN, or Stacked VLAN
On MX Series routers with MPC/MIC interfaces, you can configure the NAS-Port-Type (61) RADIUS IETF attribute, and an extended format for the NAS-Port (5) RADIUS IETF attribute, on a per-physical interface, per-VLAN, or per-stacked VLAN (S-VLAN) basis. The router passes the NAS-Port-Type and NAS-Port attributes to the RADIUS server during the authentication, authorization, and accounting (AAA) process.
To configure the NAS-Port-Type and NAS-Port extended format on a per-physical interface, per-VLAN, or per-stacked VLAN basis, you must create a NAS-Port options definition, which includes the following components:
- NAS-Port-Type value—Specifies the type of physical port that the network access server (NAS) uses to authenticate the subscriber.
- NAS-Port extended format—Configures the number of bits (bit width) for each field in the NAS-Port attribute, which specifies the physical port number of the NAS that is authenticating the subscriber. Fields in the NAS-Port attribute include: slot, adapter, port, VLAN, and S-VLAN. Optionally, you can also use the stacked option as part of the nas-port-extended-format statement to include S-VLAN IDs, in addition to VLAN IDs, in the extended format. If you do not configure the stacked option, stacked VLAN IDs are not included in the extended format.
- VLAN ranges or S-VLAN ranges—Defines the VLAN range of subscribers or stacked VLAN range of subscribers to which each NAS-Port options definition applies.
![]() | Note: You can create a maximum of 16 NAS-Port options definitions per physical interface. Each definition can include a maximum of 32 VLAN ranges or 32 stacked VLAN ranges, but cannot include a combination of VLAN ranges and stacked VLAN ranges. |
To configure the NAS-Port-Type and NAS-Port extended format on a per-physical interface, per-VLAN, or per-stacked VLAN basis:
- Specify the physical interface you want to configure.
- Enable VLAN tagging, stacked VLAN tagging, or flexible
VLAN tagging on the interface.
- For VLAN tagging, see Enabling VLAN Tagging.
- For stacked VLAN tagging, see Configuring Stacked VLAN Tagging
- For flexible VLAN tagging, also referred to as mixed tagging, see Enabling VLAN Tagging.
- Specify that you want to configure RADIUS options for
a physical interface, VLAN, or S-VLAN.[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, and the VLAN ranges or stacked
VLAN ranges to which the named NAS-Port options definition applies.
- For per-physical interface configurations, see Configuring the RADIUS NAS-Port-Type per Physical Interface.
- For per-VLAN configurations, see Configuring the RADIUS NAS-Port-Type per VLAN.
- For per-stacked VLAN configurations, see Configuring the RADIUS NAS-Port-Type per Stacked VLAN.
- Configure the NAS-Port extended format, and the VLAN ranges
or stacked VLAN ranges to which the named NAS-Port options definition
applies.
- For per-physical interface configurations, see Configuring the RADIUS NAS-Port Extended Format per Physical Interface.
- For per-VLAN configurations, see Configuring the RADIUS NAS-Port Extended Format per VLAN.
- For per-stacked VLAN configurations, see Configuring the RADIUS NAS-Port Extended Format per Stacked VLAN.
Related Documentation
- MX Series
- RADIUS NAS-Port Options for Subscriber Access per Physical Interface, VLAN, or Stacked VLAN Overview
- 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 VLAN
- 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
Published: 2012-11-29
Supported Platforms
Related Documentation
- MX Series
- RADIUS NAS-Port Options for Subscriber Access per Physical Interface, VLAN, or Stacked VLAN Overview
- 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 VLAN
- 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