You can include an ICR-Partition-Id vendor-specific attribute (VSA) in the following RADIUS messages:
![]() |
Note: For more information about the ICR partition accounting messages, see the Configuring RADIUS Attributes chapter in the JUNOSe Broadband Access Configuration Guide. |
Use the ICR-Partition-Id VSA to determine the ICR partition on which subscribers are logged in. You can configure the same ICR-Partition-Id string for an active ICR partition and its corresponding backup partition.
To configure inclusion of ICR-Partition-Id in RADIUS Access-Request, Acct-Start, and Acct-Stop messages, you can use the ICR-Partition-Id attribute in the radius include command. When included in Acct-Stop messages, the attributes are also included in Interim-Acct messages. If you enabled ICR partition accounting and accounting servers are not configured in that partition, it is as if ICR partition accounting is disabled.
In addition to including the ICR-Partition-Id VSA in RADIUS Access-Request, Acct-Start, Acct-Stop, and Interim-Acct messages, the router also sends the Partition-Accounting-On and Partition-Accounting-Off messages:
Both Partition-Accounting messages include the ICR-Partition-Id VSA. Also, both these messages are sent to the RADIUS accounting server configured on the virtual router where the ICR partition is configured or the virtual router on which the ICR control interface is set up.
You can optionally configure duplicate or broadcast AAA accounting on a virtual router, which sends the accounting information to additional virtual router simultaneously, so that the Partition-Accounting-On and Partition-Accounting-Off messages can also be sent to the duplicate and broadcast virtual routers.
To enable or disable sending of the ICR Partition-Accounting-On or Partition-Accounting-Off messages to the RADIUS servers, you can now use the radius icr-partition-accounting command. If you enabled ICR partition accounting on a virtual router, subscribers are allowed to log in to that partition only after the response for the corresponding Partition-Accounting-On message is received from the RADIUS server. As a result, the time that it takes to receive a response from the RADIUS server might increase the time it takes for subscribers to log in. Also, when an ICR partition transitions from the master to backup state, the Partition-Accounting-Off message is sent to the RADIUS server only after the router receives the response for the Acct-Stop messages for all the subscribers logged out in that partition.
The transition of the ICR partition states from master to backup and backup to master can occur because of chassis failure, an administrative switchover, or an interface or line module reset action. The following scenarios describe how ICR partition accounting messages are processed and subscriber logging is handled: