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 Physical Interface
- Configuring the RADIUS NAS-Port Extended Format per VLAN
Configuring the RADIUS NAS-Port Extended Format per Stacked VLAN
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- stacked VLAN 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-stacked VLAN basis is useful in network configurations that use an N:1 access model.
To configure an extended format for the NAS-Port RADIUS attribute per stacked VLAN:
- Specify the interface you want to configure.[edit]user@host# edit interfaces interface-name
- Enable stacked VLAN tagging on the interface.[edit interfaces interface-name]user@host# set stacked-vlan-tagging
Setting stacked VLAN tagging enables you to configure dual VLAN tags for all logical interfaces on the physical interface. You must enable stacked VLAN tagging before you can configure the stacked VLAN ranges to which the NAS-Port options definition applies.
- Specify that you want to configure RADIUS options for
a stacked 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 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 stacked
To include S-VLAN IDs, in addition to VLAN IDs, in the NAS-Port extended format, include the stacked option in the nas-port-extended-format statement.
- Configure the stacked 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 stacked-vlan-ranges (any | low-outer-tag–high-outer-tag),any
Per-stacked VLAN configurations require you to create a stacked VLAN range of subscribers to which the NAS-Port options definition applies. You must configure the low and high outer tags (VLAN IDs) in the range 1 through 4094, and the inner tag (S-VLAN ID) as any to represent all S-VLAN ID tags.
- Repeat Steps 3 through 6 to configure additional NAS-Port options definitions on this interface.
The following example creates two NAS-Port options definitions, chicago-subscribers and barcelona-subscribers, configured on a per-stacked VLAN basis on Gigabit Ethernet physical interface ge-3/2/1.
The chicago-subscribers definition configures a NAS-Port extended format consisting of a 8-bit slot field, 8-bit adapter field, 8-bit port field, 4-bit stacked VLAN field, and 4-bit VLAN field. Because the stacked option is configured in this definition, S-VLAN IDs, in addition to VLAN IDs, are included in the extended format. The chicago-subscribers definition applies to a stacked VLAN range with outer VLAN ID 1, and all inner S-VLAN IDs.
The barcelona-subscribers definition configures a NAS-Port extended format consisting of a 8-bit slot field, 8-bit adapter field, 8-bit port field, 4-bit stacked VLAN field, and 4-bit VLAN field. Because the stacked option is not configured in this definition, S-VLAN IDs are not included in the extended format. The barcelona-subscribers definition applies to a stacked VLAN range with outer VLAN IDs in the range 2 through 10, and all inner S-VLAN IDs.
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 Physical Interface
- Configuring the RADIUS NAS-Port Extended Format per 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 Physical Interface
- Configuring the RADIUS NAS-Port Extended Format per VLAN