CLI Commands Used to Modify RADIUS Attributes

This section discusses the RADIUS Internet Engineering Task Force (IETF) attributes and the Juniper Networks vendor-specific attributes that you can configure using CLI commands.

For many attributes, you can configure the router to include the attribute in RADIUS messages. For more information, see Including or Excluding Attributes in RADIUS Messages.

You can also configure the router to ignore many attributes that it receives in Access-Accept messages. For more information, see Ignoring Attributes When Receiving Access-Accept Messages.

For a complete list of RADIUS attributes supported by JunosE Software, see RADIUS IETF Attributes.

RADIUS IETF Attributes

This section describes the RADIUS IETF attributes that you can configure using CLI commands. The attributes are listed numerically—each attribute is followed by a list of the commands that you can use to manage the attribute and descriptions of each command.

[4] NAS-IP-Address

Use the following commands to configure, manage, and display information for the NAS-IP-Address RADIUS attribute.

radius override nas-ip-addr tunnel-client-endpoint

radius override nas-info

Related Documentation

[5] NAS-Port

Use the following commands to manage and display information for the NAS-Port RADIUS attribute:

Note: For subscribers connected over the LAG interface in DHCP standalone authenticate mode, RADIUS derives a unique value from the subscriber’s profileHandle and uses the value for the Nas-Port attribute. The radius nas-port-format, radius vlan nas-port-format stacked, and radius pppoe nas-port-format commands do not affect the value of the Nas-Port attribute.

For more information about subscribers connected over the LAG interface in DHCP standalone authenticate mode, see Propagation of LAG Subscriber Information to AAA and RADIUS.

radius include nas-port

radius nas-port-format

radius nas-port-format extended atm

radius nas-port-format extended ethernet

radius pppoe nas-port-format unique

radius vlan nas-port-format stacked

Related Documentation

[8] Framed-IP-Address

Use the following command to manage the Framed-IP-Address RADIUS attribute.

radius include framed-ip-addr

[9] Framed-Ip-Netmask

Use the following commands to manage the Framed-IP-Netmask RADIUS attribute.

radius include framed-ip-netmask

radius ignore framed-ip-netmask

[13] Framed-Compression

Use the following command to manage the Framed-Compression RADIUS attribute.

radius include framed-compression

[22] Framed-Route

Use the following commands to manage the Framed-Route RADIUS attribute.

radius include framed-route

[25] Class

Use the following command to manage the Class RADIUS attribute.

radius include class

[30] Called-Station-Id

Use the following command to manage the Called-Station-Id RADIUS attribute.

radius include called-station-id

[31] Calling-Station-Id

Use the following commands to manage information for the Calling-Station-Id RADIUS attribute.

radius calling-station-format

radius calling-station-delimiter

radius include calling-station-id

radius override calling-station-id remote-circuit-id

Related Documentation

[32] NAS-Identifier

Use the following commands to manage and display information for the NAS-Identifier RADIUS attribute.

radius nas-identifier

radius include nas-identifier

radius override nas-info

radius remote-circuit-id-format

radius remote-circuit-id-delimiter

Related Documentation

[41] Acct-Delay-Time

Use the following commands to manage and display information for the Acct-Delay-Timer RADIUS attribute.

radius include acct-delay-time

[44] Acct-Session-Id

Use the following commands to manage and display information for the Acct-Session-Id RADIUS attribute.

Note: The Acct-Session-Id VSA is used:

  • In the RADIUS-initiated change-of-authorization (CoA) message to start the mirroring session when the user is already logged in
  • As a trigger in user-initiated mirroring to identify the user whose traffic is to be mirrored

This VSA can be optionally included in the CoA message from the RADIUS server or in the user login request if the packet mirroring operation is required.

radius include acct-session-id

radius acct-session-id-format

[45] Acct-Authentic

Use the following command to manage the Acct-Authentic RADIUS attribute.

radius include acct-authentic

[49] Acct-Terminate-Cause

Use the following command to manage the Acct-Terminate-Cause RADIUS attribute.

radius include acct-terminate-cause

[50] Acct-Multi-Session-Id

Use the following command to manage the Acct-Multi-Session-Id RADIUS attribute.

radius include acct-multi-session-id

[51] Acct-Link-Count

Use the following command to manage the Acct-Link-Count RADIUS attribute.

radius include acct-link-count

[52] Acct-Input-Gigawords

Use the following command to manage the Acct-Input-Gigawords RADIUS attribute.

radius include input-gigawords

[53] Output-Gigawords

Use the following command to manage the Acct-Output-Gigawords RADIUS attribute.

radius include output-gigawords

[55] Event-Timestamp

Use the following command to manage the Acct-Output-Gigawords RADIUS attribute.

radius include event-timestamp

[61] NAS-Port-Type

Use the following commands to manage and display information for the NAS-Port-Type RADIUS attribute.

radius dsl-port-type

radius ethernet-port-type

radius include nas-port-type

Related Documentation

[64] Tunnel-Type

Use the following command to manage the Tunnel-Type RADIUS attribute.

radius include tunnel-type

[65] Tunnel-Medium-Type

Use the following command to manage the Tunnel-Medium-Type RADIUS attribute.

radius include tunnel-medium-type

[66] Tunnel-Client-Endpoint

Use the following command to manage the Tunnel-Client-Endpoint RADIUS attribute.

radius include tunnel-client-endpoint

[67] Tunnel-Server-Endpoint

Use the following command to manage the Tunnel-Server-Endpoint RADIUS attribute.

radius include tunnel-server-endpoint

[68] Acct-Tunnel-Connection

Use the following command to manage the Acct-Tunnel-Connection RADIUS attribute.

radius include acct-tunnel-connection

[77] Connect-Info

Use the following commands to manage and display information for the Connect-Info RADIUS attribute.

radius connect-info-format

radius include connect-info

Related Documentation

[82] Tunnel-Assignment-Id

Use the following command to manage the Tunnel-Assignment-Id RADIUS attribute.

radius include tunnel-assignment-id

[83] Tunnel-Preference

Use the following command to manage the Tunnel-Preference RADIUS attribute.

radius include tunnel-preference

[87] NAS-Port-Id

Use the following commands to manage and show information for the NAS-Port-Id RADIUS attribute.

Note: For subscribes connected over the LAG interface in DHCP standalone authenticate mode, RADIUS uses the LAG interface ID for the Nas-Port-Id attribute.

For more information about subscribers connected over the LAG interface in DHCP standalone authenticate mode, see Propagation of LAG Subscriber Information to AAA and RADIUS.

aaa intf-desc-format include

radius include nas-port-id

radius override nas-port-id remote-circuit-id

Related Documentation

[90] Tunnel-Client-Auth-Id

Use the following command to manage the Tunnel-Client-Auth-Id RADIUS attribute.

radius include tunnel-client-auth-id

[91] Tunnel-Server-Auth-Id

Use the following command to manage the Tunnel-Server-Auth-Id RADIUS attribute.

radius include tunnel-server-auth-id

[96] Framed-Interface-Id

Use the following command to manage the Framed-Interface-Id RADIUS attribute.

radius include framed-interface-id

[97] Framed-Ipv6-Prefix

Use the following command to manage the Framed-Ipv6-Prefix RADIUS attribute.

radius include framed-ipv6-prefix

[99] Framed-Ipv6-Route

Use the following command to manage the Framed-Ipv6-Route RADIUS attribute.

radius include framed-ipv6-route

[100] Framed-Ipv6-Pool

Use the following command to manage the Framed-Ipv6-Pool RADIUS attribute.

radius include framed-ipv6-pool

[123] Delegated-Ipv6-Prefix

Use the following command to manage the Delegated-Ipv6-Prefix RADIUS attribute.

radius include delegated-ipv6-prefix

[188] Ascend-Num-In-Multilink

Use the following command to manage the Ascend-Num-In-Multilink attribute.

radius include ascend-num-in-multilink

All Tunnel Server Attributes

Use the following command to manage all tunnel server RADIUS attributes.

radius include tunnel-server-attributes

Juniper Networks Vendor-Specific Attributes

This section describes the Juniper Networks vendor-specific attributes (VSAs) that you can configure using CLI commands. The attributes are listed numerically and are followed by descriptions about the commands that you can use to manage the attribute.

[26-1] Virtual-Router

Use the following command to manage the Virtual-Router RADIUS attribute.

radius ignore virtual-router

[26-10] Ingress-Policy-Name

Use the following commands to manage the Ingress-Policy-Name RADIUS attribute.

radius include ingress-policy-name

radius ignore ingress-policy-name

[26-11] Egress-Policy-Name

Use the following commands to manage the Egress-Policy-Name RADIUS attribute.

radius include egress-policy-name

radius ignore egress-policy-name

[26-14] Service-Category

Use the following command to manage the Service-Category RADIUS attribute.

radius ignore atm-service-category

[26-15] PCR

Use the following command to manage the PCR RADIUS attribute.

radius ignore atm-pcr

[26-16] SCR

Use the following command to manage the SCR RADIUS attribute.

radius ignore atm-scr

[26-17] MBS

Use the following command to manage the MBS RADIUS attribute.

radius ignore atm-mbs

[26-24] Pppoe-Description

Use the following command to manage the Pppoe-Description RADIUS attribute.

radius include pppoe-description

[26-35] Acct-Input-Gigapackets

Use the following command to manage the Acct-Input-Gigapackets RADIUS attribute.

radius include input-gigapkts

[26-36] Acct-Output-Gigapackets

Use the following command to manage the Acct-Output-Gigapackets RADIUS attribute.

radius include output-gigapkts

[26-44] Tunnel-Interface-Id

Use the following command to manage the Tunnel-Interface-Id RADIUS attribute.

radius include tunnel-interface-id

[26-45] Ipv6-Virtual-Router

Use the following command to manage the IPv6-Virtual-Router RADIUS attribute.

radius include ipv6-virtual-router

[26-46] Ipv6-Local-Interface

Use the following command to manage the Ipv6-Local-Interface RADIUS attribute.

radius include ipv6-local-interface

[26-47] Ipv6-Primary-DNS

Use the following command to manage the IPv6-Primary-DNS RADIUS attribute.

radius include ipv6-primary-dns

[26-48] Ipv6-Secondary-DNS

Use the following command to manage the Ipv6-Secondary-DNS RADIUS attribute.

radius include ipv6-secondary-dns

[26-51] Disconnect-Cause

Use the following command to manage the Disconnect-Cause RADIUS attribute.

radius include l2tp-ppp-disconnect-cause

[26-53] Service-Description

Use the following command to manage the Service-Description RADIUS attribute.

radius include profile-service-description

[26-55] DHCP-Options

Use the following command to manage the DHCP-Options RADIUS attribute.

radius include dhcp-options

[26-56] DHCP-MAC-Address

Use the following command to manage the DHCP-MAC-Address RADIUS attribute.

radius include dhcp-mac-address

[26-57] DHCP-GI-Address

Use the following command to manage the DHCP-GI-Address RADIUS attribute.

radius include dhcp-gi-address

[26-62] MLPPP-Bundle-Name

Use the following command to manage the MLPPP-Bundle-Name RADIUS attribute.

radius include mlppp-bundle-name

[26-63] Interface-Desc

Use the following command to manage the Interface-Desc RADIUS attribute.

radius include interface-description

[26-81] L2C-Information

Use the following command to manage the L2C-Information RADIUS attribute.

radius include access-loop-parameters

[26-92] L2C-Up-Stream-Data

Use the following command to manage the L2C-Up-Stream-Data RADIUS attribute.

radius include l2c-upstream-data

[26-93] L2C-Down-Stream-Data

Use the following command to manage the L2C-Down-Stream-Data RADIUS attribute.

radius include l2c-downstream-data

[26-129] Ipv6-NdRa-Prefix

Use the following command to manage the Ipv6-NdRa-Prefix RADIUS attribute.

radius include ipv6-nd-ra-prefix

[26-141] Downstream-Calculated-Qos-Rate

The Downstream-Calculated-Qos-Rate RADIUS attribute enables RADIUS to receive calculated QoS rates from ANCP.

Use the following command to manage the Downstream-Calculated-Qos-Rate RADIUS attribute.

radius include downstream-calculated-qos-rate

[26-142] Upstream-Calculated-Qos-Rate

The Upstream-Calculated-Qos-Rate RADIUS attribute enables RADIUS to receive calculated QoS rates from ANCP.

Use the following commands to manage the Upstream-Calculated-Qos-Rate RADIUS attribute.

radius include upstream-calculated-qos-rate

[26-143] Max-Clients-Per-Interface

The Max-Clients-Per-Interface RADIUS attribute is the maximum number of PPPoE client sessions supported per interface. For DHCP clients, this value is the maximum number of PPPoE sessions per logical interface. For PPPoE, this value is the maximum number of PPPoE subinterfaces per PPPoE major interface. See JunosE Release Notes, Appendix A, System Maximums corresponding to your software release for information about the maximum number of PPPoE subinterfaces per PPPoE major interface supported for each line module.

Use the following command to manage the Max-Clients-Per-Interface RADIUS attribute.

radius ignore pppoe-max-session

[26-150] ICR-Partition-Id

Use the following commands to manage the ICR-Partition-Id RADIUS attribute.

radius include icr-partition-id

radius icr-partition-accounting

All IPv6 Accounting Attributes

Use the following command to manage all IPv6 accounting attributes:

radius include ipv6-accounting

[26-159] DHCP-Option 82

Use the following command to manage the DHCP Option 82 RADIUS attribute.

radius include dhcp-option-82

ANCP-Related Juniper Networks VSAs

You use the radius include command to specify information about Access Node Control Protocol (ANCP), also known as Layer 2 Control (L2C), that you want to include in the RADIUS Access-Request, Acct-Start, and Acct-Stop messages. Also, if you specify Acct-Stop messages, the router includes ANCP information in Interim-Acct messages that the router sends to RADIUS. By default, the router does not include the ANCP-related information provided by the Juniper Networks VSAs in RADIUS messages.

These Juniper Networks ANCP-related VSAs are based on definitions in GSMP extensions for layer2 control (L2C) Topology Discovery and Line Configuration—draft-wadhwa-gsmp-l2control-configuration-00.txt (July 2006 expiration).

radius include l2cd-keyword

Related Documentation

DSL Forum Vendor-Specific Attributes

You can use the radius include dsl-forum-attributes command to control the inclusion of a set of DSL Forum VSAs in Access-Request, Acct-Start, Acct-Stop, and (if Acct-Stop messages are specified) Interim-Acct messages that the router sends to RADIUS.

The DSL Forum VSAs, as defined in RFC 4679—DSL Forum Vendor-Specific RADIUS Attributes (September 2006), convey information about the associated subscriber for and data rate of the DSL. A service provider might find it useful to enable inclusion of the DSL Forum VSAs in RADIUS messages in order to bill subscribers for different classes of service based on the data rate of their DSL connection.

Note: JunosE Software also supports several Juniper Networks VSAs that you can use to include DSL-related information. See ANCP-Related Juniper Networks VSAs and Juniper Networks VSAs .

The router receives data containing one or more of the DSL Forum VSAs from a DSLAM connected to the router via a PPPoE interface. When you enable the inclusion of the DSL Forum VSAs in these RADIUS messages, the router includes all of the following attributes in the specified message type, provided that the VSA is available in the information that the router receives from the DSLAM.

Note: The router uses the vendor ID assigned to the DSL Forum (3561, or DE9 in hexadecimal format) by the Internet Assigned Numbers Authority (IANA) for the DSL Forum VSAs.

Agent-Circuit-Id [26-1]

Maximum-Data-Rate-Downstream [26-136]

Agent-Remote-Id [26-2]

Minimum-Data-Rate-Upstream-Low-Power [26-137]

Actual-Data-Rate-Upstream [26-129]

Minimum-Data-Rate-Downstream-Low-Power [26-138]

Actual-Data-Rate-Downstream [26-130]

Maximum-Interleaving-Delay-Upstream [26-139]

Minimum-Data-Rate-Upstream [26-131]

Actual-Interleaving-Delay-Upstream [26-140]

Minimum-Data-Rate-Downstream [26-132]

Maximum-Interleaving-Delay-Downstream [26-141]

Attainable-Data-Rate-Upstream [26-133]

Actual-Interleaving-Delay-Downstream [26-142]

Attainable-Data-Rate-Downstream [26-134]

Access-Loop-Encapsulation [26-144]

Maximum-Data-Rate-Upstream [26-135]

IWF-Session [26-254]

For information about enabling the QoS downstream rate application to obtain downstream rates from the Actual-Data-Rate-Downstream [26-130] DSL Forum VSA, see the Configuring the Downstream Rate Using QoS Parameters chapter in JunosE Quality of Service Configuration Guide.

For a more detailed description of the DSL Forum VSAs, see DSL Forum VSAs .

radius include dsl-forum-attributes

Including or Excluding Attributes in RADIUS Messages

For many attributes, you can configure the router to include or exclude the attribute in RADIUS messages.

radius include

Related Documentation

Ignoring Attributes When Receiving Access-Accept Messages

You can configure the router to ignore or use many attributes that it receives in Access-Accept messages.

radius ignore

Related Documentation