An SPI is uniquely identified by the following characteristics:
the subscriber identifier
the SAP on which the subscriber session is active
the SLA profile name
An SPI sharing identifier that has two parts to support overlapping ids between groups and sessions:
SPI sharing type: per SAP, per IPoE session, per PPP session, per group
SPI sharing id:
an integer value determined by the system for SPI sharing per session
an integer value in the range 0 to 65535 specified by the user for SPI sharing per group
not required for SPI sharing per SAP
The following are examples for SPI representations in the system:
SPI sharing per SAP
A:PE-1# show service active-subscribers detail
===============================================================================
Active Subscribers
===============================================================================
-------------------------------------------------------------------------------
Subscriber sub-01 (sub-profile-12)
-------------------------------------------------------------------------------
--- snip---
-------------------------------------------------------------------------------
(1) SLA Profile Instance
- sap:[1/1/4:1201.41] (IES 1000 - group-int-1-1)
- sla:sla-profile-12
-------------------------------------------------------------------------------
--- snip---
A:PE-1# show service active-subscribers hierarchy
===============================================================================
Active Subscribers Hierarchy
===============================================================================
-- sub-01 (sub-profile-12)
|
+-- sap:[1/1/4:1201.41] - sla:sla-profile-12
|
|-- PPP-session - mac:00:51:00:00:01:41 - sid:1 - svc:1000
| |
| +-- 10.1.1.141 - IPCP
|
|-- PPP-session - mac:00:51:00:00:01:42 - sid:2 - svc:1000
| |
| +-- 10.1.1.142 - IPCP
|
+-- PPP-session - mac:00:51:00:00:01:43 - sid:3 - svc:1000
|
+-- 10.1.1.143 - IPCP
-------------------------------------------------------------------------------
Number of active subscribers : 1
Flags: (N) = the host or the managed route is in non-forwarding state
===============================================================================
*A:PE-1# show qos scheduler-hierarchy subscriber "sub-01" detail
===============================================================================
Scheduler Hierarchy - Subscriber sub-01
===============================================================================
--- snip ---
Root (Egr)
| slot(1)
|--(Q) : Sub=sub-01:sla-profile-12 1000->1/1/4:1201.41->6 (Port 1/1/4)
| | AdminPIR:1500 AdminCIR:1500
--- snip ---
SPI sharing per session
Although they can have the same value as in the following output, an SPI sharing ID is not the same as the PPP session ID.
A:PE-1# show service active-subscribers detail
===============================================================================
Active Subscribers
===============================================================================
-------------------------------------------------------------------------------
Subscriber sub-01 (sub-profile-12)
-------------------------------------------------------------------------------
---snip---
-------------------------------------------------------------------------------
(1) SLA Profile Instance
- sap:[1/1/4:1201.41] (IES 1000 - group-int-1-1)
- sla:sla-profile-12 PPP session:10
-------------------------------------------------------------------------------
---snip---
A:PE-1# show service active-subscribers hierarchy
===============================================================================
Active Subscribers Hierarchy
===============================================================================
-- sub-01 (sub-profile-12)
|
|-- sap:[1/1/4:1201.41] - sla:sla-profile-12 PPP session:10
| |
| |-- PPP-session - mac:00:51:00:00:01:41 - sid:10 - svc:1000
| | |
| | +-- 10.1.1.141 - IPCP
|
|-- sap:[1/1/4:1201.41] - sla:sla-profile-12 PPP session:11
| |
| |-- PPP-session - mac:00:51:00:00:01:42 - sid:11 - svc:1000
| | |
| | +-- 10.1.1.142 - IPCP
|
+-- sap:[1/1/4:1201.41] - sla:sla-profile-12 PPP session:12
|
+-- PPP-session - mac:00:51:00:00:01:43 - sid:12 - svc:1000
|
+-- 10.1.1.143 - IPCP
-------------------------------------------------------------------------------
Number of active subscribers : 1
Flags: (N) = the host or the managed route is in non-forwarding state
===============================================================================
A:PE-1# show qos scheduler-hierarchy subscriber "sub-01" detail
===============================================================================
Scheduler Hierarchy - Subscriber sub-01
===============================================================================
--- snip ---
Root (Egr)
| slot(1)
|--(Q) : Sub=sub-01:sla-profile-12:PPP-10 1000->1/1/4:1201.41->6 (Port 1/1/4)
| | AdminPIR:1500 AdminCIR:1500
--- snip ---
SPI sharing per-group
A:PE-1# show service active-subscribers detail
===============================================================================
Active Subscribers
===============================================================================
-------------------------------------------------------------------------------
Subscriber sub-01 (sub-profile-12)
-------------------------------------------------------------------------------
---snip---
-------------------------------------------------------------------------------
(1) SLA Profile Instance
- sap:[1/1/4:1201.41] (IES 1000 - group-int-1-1)
- sla:sla-profile-12 group:100
-------------------------------------------------------------------------------
---snip---
A:PE-1# show service active-subscribers hierarchy
===============================================================================
Active Subscribers Hierarchy
===============================================================================
-- sub-01 (sub-profile-12)
|
|-- sap:[1/1/4:1201.41] - sla:sla-profile-12 group:100
| |
| |-- PPP-session - mac:00:51:00:00:01:41 - sid:15 - svc:1000
| | |
| | +-- 10.1.1.141 - IPCP
| |
| |-- PPP-session - mac:00:51:00:00:01:42 - sid:14 - svc:1000
| | |
| | +-- 10.1.1.142 - IPCP
|
+-- sap:[1/1/4:1201.41] - sla:sla-profile-12 group:200
|
+-- PPP-session - mac:00:51:00:00:01:43 - sid:13 - svc:1000
|
+-- 10.1.1.143 - IPCP
-------------------------------------------------------------------------------
Number of active subscribers : 1
Flags: (N) = the host or the managed route is in non-forwarding state
===============================================================================
A:PE-1# show qos scheduler-hierarchy subscriber "sub-01" detail
===============================================================================
Scheduler Hierarchy - Subscriber sub-01
===============================================================================
---snip---
Root (Egr)
| slot(1)
|--(Q) : Sub=sub-01:sla-profile-12:Group-100 1000->1/1/4:1201.41->6 (Port 1/1/4)
| | AdminPIR:1500 AdminCIR:1500
---snip---
In RADIUS accounting messages, the SPI is uniquely defined by the following attributes:
Example:
configure
subscriber-mgmt
radius-accounting-policy "acct-policy-1"
include-radius-attribute
subscriber-id
nas-port-id
sla-profile
spi-sharing
Example:
NAS PORT ID [87] 13 1/1/4:1201.41
VSA [26] 40 Nokia(6527)
SUBSC ID STR [11] 6 sub-01
SLA PROF STR [13] 14 sla-profile-12
# SPI sharing per SAP:
VSA [241.26] 3 NOKIA(6527)
SPI SHARING_ID [47] 3 SAP
# SPI sharing per session:
VSA [241.26] 14 NOKIA(6527)
SPI SHARING_ID [47] 14 PPP session:12
# SPI sharing per group:
VSA [241.26] 14 NOKIA(6527)
SPI SHARING_ID [47] 9 group:100