Accounting triggered reason VSA values

Enhanced Subscriber Management (ESM), Distributed Subscriber Management (DSM), and IPsec accounting generate Accounting Interim Update messages periodically or triggered by an event. The reason for the Accounting Interim Update message is included in the [26.6527.163] Alc-Acct-Triggered-Reason attribute.

For ESM, sending of Accounting Interim Updates and inclusion of the [26.6527.163] Alc-Acct-Triggered-Reason attribute must be enabled explicitly using following configuration:

subscriber-mgmt
        radius-accounting-policy "acct-policy-1" create
            host-accounting interim-update              # maximum two accounting
            queue-instance-accounting interim-update    # modes can be enabled
            session-accounting interim-update           # simultaneously
            include-radius-attribute
                alc-acct-triggered-reason
            exit
        exit

Table: Accounting triggered reason specifies the different Accounting Triggered Reason values generated by the SR OS in [26.6527.163] Alc-Acct-Triggered-Reason attribute.

Table: Accounting triggered reason
Value Reason Description Accounting mode
CPM based ISA based
IPsec ESM DSM LSN L2AW
Host Session Queue

1

regular

Periodic Accounting Interim Update. The interval can be returned from RADIUS or configured

ESM: configure subscriber-mgmt radius-accounting-policy name update-interval.

DSM: configure service vprn | ies service-id subscriber-interface sub-itf group-interface grp-itf wlan-gw vlan-tag-ranges range start start end end distributed-sub-mgmt accounting-update-interval

 

2

sla-start

An sla-stop followed by an sla-start is generated when a CoA with new sla-profile is received.

 

3

sla-stop

An sla-stop followed by an sla-start is generated when a CoA with new sla-profile is received.

 

4

Framed-IP-Address-up

IP address or prefix tracking1

Generated for a session when an IPv4 host is added.

2

 

5

Framed-IP-Address-down

IP address or prefix tracking1

Generated for a session when an IPv4 host is deleted.

2

 

6

Alc-Ipv6-Address-up

IP address or prefix tracking1

Generated for a session when a DHCPv6 IA-NA host is added.

2

 

7

Alc-Ipv6-Address-down

IP address or prefix tracking1

Generated for a session when a DHCPv6 IA-NA host is deleted.

2

 

8

Delegated-IPv6-Prefix-up

IP address or prefix tracking1

Generated for a session when a DHCPv6 IA-PD host or DHCPv6 IA-PD as managed route is added.

2

 

9

Delegated-IPv6-Prefix-down

IP address or prefix tracking1

Generated for a session when a DHCPv6 IA-PD host or DHCPv6 IA-PD as managed route is deleted.

2

 

10

Framed-IPv6-Prefix-up

IP address or prefix tracking1

Generated for a session when a SLAAC host is added.

2

 

11

Framed-IPv6-Prefix-down

IP address or prefix tracking1

Generated for a session when a SLAAC host is deleted.

2

 

12

Interval-Changed

Generated when the interval, at which Accounting Interim Updates are send, is changed. (RADIUS Access-Accept or CoA with attribute [85] Acct-Interim-Interval received). Notifies the Accounting server that this host uses a different Accounting Interim Update interval than the configured update-interval in the radius-accounting-policy.

 

13

DSL-Line-Attributes-Changed

Generated when DSL-Line-Attributes values (example: Actual-Data-Rate-Upstream) are received using ANCP after the PPPoE session or IPoE binding was already established.

 

14

Wlan-Mobility-Event

Generated when mobility triggered accounting is enabled (configure router | service vprn id wlan-gw mobility-triggered-acct interim-update) and when a mobility event is detected (re-authentication, accounting start, accounting interim-update, data or Inter Access Point Protocol (IAPP)).

For DSM, counters are always included in the triggered interim update message. For ESM counters can be included with configure router | service vprn id wlan-gw mobility-triggered-acct interim- update include-counters.

 

15

Persistence-Recover

IPoE subscriber hosts can be made persistent across node reboots: state is restored from a persistency file located on the compact flash file system. A triggered Accounting Interim Update message is generated for each subscriber host that is successfully restored.

 

16

SRRP-Switchover

Generated in dual homing scenarios by the node switching from srrp-non-master to srrp-master state.

 

17

Nat-Port-Range-Event

Generated when L2-Aware NAT port ranges are created and removed.

This is only triggered if any of the attributes outside-ip, outside-service or port-range-block is configured as an accounting include attribute.

 

18

CoA-Triggered

Generated when a CoA message is received containing the [26.6527.228] Alc-Trigger-Acct-Interim attribute. The Alc-Trigger-Acct-Interim attribute is also echoed in the CoA triggered accounting interim update message.

 

19

Nat-Free

Generated per port-block accounting when an existing port-block (Large Scale NAT) or an existing extended port-block (L2aware NAT) is released.

20

Nat-Map

Generated per port-block accounting when a new port-block (Large Scale NAT) or an existing extended port-block (L2aware NAT) is allocated.

21

Nat-Update

Generated for a periodically scheduled Large Scale NAT interim accounting update in both per port-block and per subscriber logging mode.

 

22

Stateless-SRRP-Switchover

Generated when a host is deleted because of stateless SRRP switchover.

2

 

23

Data-Triggered-Host-Promotion

Generated when a data-triggered host is promoted to a DHCP host when the host sends a DHCP packet.

 

24

Lac-Traffic-Steering-Enabled

Generated when a steering profile is attached to a PPPoE L2TP LAC session.

The steering profile name is included in attribute [241.26.6527.25] Alc-Steering-Profile when configured with configure subscriber-mgmt radius-accounting-policy name include-radius-attribute steering-profile.

 

25

Lac-Traffic-Steering-Disabled

Generated when a steering profile is removed from a PPPoE L2TP LAC session

The [241.26.6527.25] Alc-Steering-Profile attribute is not included in the triggered interim update message.

 

26

Bonding-Connection

Generated when an access connection becomes active or inactive. The remaining active connections are included in the [241.26.6527.23] Alc-Bonding-Active-Connection attribute.

 

27

IPsec-Traffic-Acct-On

Included in the next regular interim update when the ipsec radius-accounting-policy was changed from no accounting statistics (include-radius-attribute no acct-stats) to include accounting statistics (include-radius-attribute acct-stats).

 

28

IPsec-Traffic-Acct-Off

Included in the next regular interim update when the ipsec radius-accounting-policy was changed from include accounting statistics (include-radius-attribute acct-stats) to no accounting statistics (include-radius-attribute no acct-stats).

 

29

GTP-Session-Changed-Event

Generated when a modification happened to the GTP session linked to this accounting session. A modification could be a GTP-U mobility, location update, MME change, and so on. More details on the exact modifications can be found in attribute [241.26.6527.64] Alc-GTP-Change-Detail.

 

30

GTP-Session-Released

Generated when the GTP Session linked to this accounting session is released, for example when there are active DHCP leases for a connection but the underlying GTP connection is explicitly released.

 

31

GTP-Session-Attached

Generated when the GTP session linked to this accounting session re-attached.

 

32

Stats-mode-changed

Applicable to Broadband Network Gateway (BNG) Control and User Plane Separation (CUPS) only. See BNG CUPS RADIUS attributes documentation.

n/a

n/a

n/a

n/a

n/a

n/a

 

33

Link-count-changed

Applicable to Broadband Network Gateway (BNG) Control and User Plane Separation (CUPS) only. See BNG CUPS RADIUS attributes documentation.

n/a

n/a

n/a

n/a

n/a

n/a

 

34

Framed-IPv6-Address-up

Applicable to Broadband Network Gateway (BNG) Control and User Plane Separation (CUPS) only. See BNG CUPS RADIUS attributes documentation.

n/a

n/a

n/a

n/a

n/a

n/a

 

35

Framed-IPv6-Address-down

Applicable to Broadband Network Gateway (BNG) Control and User Plane Separation (CUPS) only. See BNG CUPS RADIUS attributes documentation.

n/a

n/a

n/a

n/a

n/a

n/a

 

36

Wlan-Quota-Exhausted

Generated when DSM Soft volume quota are exhausted. Only triggered if configured under configure aaa isa-radius-policy name acct-update-triggers soft-quota-exhausted

 

37

User-Location-Changed

Applicable to Broadband Network Gateway (BNG) Control and User Plane Separation (CUPS) only. See BNG CUPS RADIUS attributes documentation.

n/a

n/a

n/a

n/a

n/a

n/a

 

38

Primary-UPF-Change

Applicable to Broadband Network Gateway (BNG) Control and User Plane Separation (CUPS) only. See BNG CUPS RADIUS attributes documentation.

n/a

n/a

n/a

n/a

n/a

n/a

 
1 IP address or prefix tracking: a triggered Accounting Interim Update message notifies the RADIUS accounting server of the acquisition or release of an IP address or prefix during the lifetime of a session.
2 Requires host-update to be configured for session-accounting mode (configure subscriber-mgmt radius-accounting-policy name session-accounting interim-update host-update).