Supported Platforms
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 VLAN
- Configuring the RADIUS NAS-Port-Type per Stacked VLAN
- Configuring the RADIUS NAS-Port Extended Format per VLAN
- Configuring the RADIUS NAS-Port Extended Format per Stacked VLAN
Configuring the RADIUS NAS-Port Extended Format per Physical Interface
As an alternative to globally configuring the extended format for the NAS-Port (5) RADIUS attribute in an access profile, you can configure the NAS-Port extended format on a per-physical interface basis as part of a NAS-Port options definition. The NAS-Port extended format configures the number of bits (bit width) in each field in the NAS-Port attribute, including: slot, adapter, port, VLAN, and S-VLAN.
Configuring NAS-Port options definitions on a per-physical interface basis is useful in network configurations that use a 1:1 access model or an N:1 access model.
To configure an extended format for the NAS-Port RADIUS attribute per physical interface:
- 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 physical 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 extended format.[edit interfaces interface-name radius-options nas-port-options nas-port-options-name]user@host# set nas-port-extended-format slot-width width adapter-width width port-width width vlan-width width
- 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-physical interface configurations typically require you to create a VLAN range that consists of all VLAN IDs on the physical interface. To do so, use the any option with the vlan-ranges statement.
The following example shows a per-interface NAS-Port options definition named boston-subscribers that configures a NAS-Port extended format consisting of an 8-bit slot field, 8-bit adapter field, 8-bit port field, and 4-bit VLAN field. The boston-subscribers definition applies to a VLAN range consisting of all VLAN IDs on Gigabit Ethernet physical interface ge-2/0/1.
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 VLAN
- Configuring the RADIUS NAS-Port-Type per Stacked VLAN
- Configuring the RADIUS NAS-Port Extended Format per VLAN
- Configuring the RADIUS NAS-Port Extended Format per Stacked VLAN
Published: 2013-02-11
Supported Platforms
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 VLAN
- Configuring the RADIUS NAS-Port-Type per Stacked VLAN
- Configuring the RADIUS NAS-Port Extended Format per VLAN
- Configuring the RADIUS NAS-Port Extended Format per Stacked VLAN