Examples
This example shows how to view the summary of all the subscribers:
Router# show cnbng-nal subscriber all summary
Sun Aug 2 16:26:44.281 UTC
=====================
Location: 0/RSP0/CPU0
=====================
Type PPPoE IPoE
==== ===== ====
Session Counts by State:
initializing 0 0
connecting 0 0
connected 0 0
activated 0 130
idle 0 0
disconnecting 0 0
Total: 0 130
Session Counts by Address-Family:
none 0 0
ipv4 0 130
ipv6 0 0
dual 0 0
Total: 0 130
=====================
Location: 0/RSP0/CPU0
=====================
Type PPPoE IPoE
==== ===== ====
Session Counts by State:
initializing 0 0
connecting 0 0
connected 226 0
activated 31774 0
idle 0 0
disconnecting 0 0
Total: 32000 0
Session Counts by Address-Family:
none 226 0
ipv4 7774 0
ipv6 0 0
dual 24000 0
Total: 32000 0
This example shows how to view the detailed information of all the subscribers:
Router# show cnbng-nal subscriber all detail
Mon Aug 3 00:00:14.624 UTC
Location: 0/2/CPU0
===================
Location: 0/RSP1/CPU0
===================
Interface: Bundle-Ether1.1.ip2148413040
UPID: 0x800e2e70
CPID: 0x0100918f
PPPOE Session Id: 0x0000
Type: IPoE
IPv4 Address: 0.0.0.0
IPv4 Framed Route:
Prefix: 0.0.0.0/0
Next Hop: 0.0.0.0
Tag: 0
IPv6 IANA Address: 1:5::345c
IPv6 IAPD Prefix: 2004:cd0:0:188d::/64
CPE link local Address: ::
IPv6 Framed Route:
Prefix: ::/0
Next Hop: ::
Tag: 0
IPv6 State: UP, Sat Jul 25 02:09:55 2020
Mac Address: 5065.aaab.d864
Inner VLAN ID: Not Set
Outer VLAN ID: 100
Outer VLAN Cos: 0
Outer VLAN DEI: 1
Created: Sat Jul 25 02:09:54 2020
State: Activated
Ifhandle: 0x000b75a0
VRF: default
Access-interface: Bundle-Ether1.1
Attribute List: 0x5556aed3f878
1: ipv6-enable len= 4 value= 1(1)
2: ipv4-unnumbered len= 9 value= Loopback1
3: strict-rpf len= 4 value= 1(1)
4: ipv6-strict-rpf len= 4 value= 1(1)
5: ipv4-icmp-unreachable len= 4 value= 1(1)
6: ipv6-unreachable len= 4 value= 1(1)
7: ipv4-mtu len= 4 value= 1500(5dc)
8: ipv6-mtu len= 4 value= 1500(5dc)
Session Accounting: enabled
Interim Interval: 1800 secs
Last interim timestamp: Sun Aug 2 23:39:46 2020
Interim fail count: None
Last interim failed reason: NA
Last stats:
BytesIn: 0
BytesOut: 384570
BytesInGiga: 0
BytesOutGiga: 0
Feature IDs activated :
0x800e2e71
This example shows how to view the information of all the subscribers:
Router# show cnbng-nal subscriber all
Fri Sep 11 06:07:52.343 UTC
Codes: CN - Connecting, CD - Connected, AC - Activated,
ID - Idle, DN - Disconnecting, IN - Initializing
CPID(hex) Interface State Mac Address Subscriber IP Addr / Prefix (Vrf) Ifhandle
---------------------------------------------------------------------------------------------------
1005ca0 BE2.500.ip2149474448 AC 0010.942e.3b00 13.0.92.160 (default) 0x225e60
1:4::5c9f (IANA)
2003:db0:0:5c9e::/64 (IAPD)
10053b2 BE2.500.ip2149466000 AC 0010.942e.3689 13.0.83.175 (default) 0xfdfe0
1:4::53b1 (IANA)
2003:db0:0:53b0::/64 (IAPD)
1004c81 BE2.600.ip2149013936 AC 0010.942e.5230 13.0.76.129 (default) 0x4079a0
1:4::4c80 (IANA)
2003:db0:0:4c7f::/64 (IAPD)
1004aaa BE2.500.ip2149353232 AC 0010.942e.3205 13.0.74.169 (default) 0x5192e0
1:4::4aa9 (IANA)
2003:db0:0:4aa8::/64 (IAPD)
1004927 BE2.600.ip2149518576 AC 0010.942e.50b1 13.0.73.116 (default) 0x219ba0
1:4::4926 (IANA)
2003:db0:0:4925::/64 (IAPD)
10047e4 BE2.800.ip2149422928 AC 0010.9431.a7c7 13.0.71.228 (default) 0x41ff60
1:4::47e4 (IANA)
2003:db0:0:47e2::/64 (IAPD)
1004777 BE2.600.ip2149520224 AC 0010.942e.5021 13.0.71.115 (default) 0x41420
1:4::4776 (IANA)
2003:db0:0:4775::/64 (IAPD)
1003a6d BE2.800.ip2149369728 AC 0010.9431.a3a1 13.0.58.105 (default) 0x141360
1:4::3a6d (IANA)
2003:db0:0:3a6a::/64 (IAPD)
10038b7 BE2.600.ip2149362240 AC 0010.942e.4bb2 13.0.56.178 (default) 0x259aa0
1:4::38b6 (IANA)
2003:db0:0:38b5::/64 (IAPD)
10028ba BE2.500.ip2149210768 AC 0010.942e.2873 13.0.40.185 (default) 0x129620
1:4::28b9 (IANA)
2003:db0:0:28b8::/64 (IAPD)
100247b BE2.600.ip2149396320 AC 0010.942e.46a3 13.0.36.113 (default) 0x4b8e0
1:4::2471 (IANA)
2003:db0:0:2470::/64 (IAPD)
100207a BE2.500.ip2149356496 AC 0010.942e.2663 13.0.32.117 (default) 0x1a9460
1:4::2079 (IANA)
2003:db0:0:2078::/64 (IAPD)
1001d3f BE2.600.ip2149251360 AC 0010.942e.44d4 13.0.29.61 (default) 0xcc760
This example shows how to view the definition of the services and features used for subscribers:
Router# show cnbng-nal subscriber fadb
Mon Aug 3 00:03:12.858 UTC
Location: 0/RSP1/CPU0
==================
UPID: 0x800ec810
Service-ID: 0x04000003 Service-Name: JHV_VOICE
Feature-ID: 0x800ec812
Attribute List: 0x559cba6d0008
1: feature-acct-bitmask len= 4 value= 805306413(3000002d)
Accounting: enabled
Interim fail count: None
Last interim failed reason: None
Last stats:
BytesIn: 0
BytesOut: 0
BytesInGiga: 0
BytesOutGiga: 0
UPID: 0x800e9470
Service-ID: 0x04000003 Service-Name: JHV_VOICE
Feature-ID: 0x800e9472
Attribute List: 0x559cba6d0008
1: feature-acct-bitmask len= 4 value= 805306413(3000002d)
Accounting: enabled
Interim fail count: None
Last interim failed reason: None
Last stats:
BytesIn: 0
BytesOut: 0
BytesInGiga: 0
BytesOutGiga: 0
UPID: 0x800e7ee0
Service-ID: 0x04000003 Service-Name: JHV_VOICE
Feature-ID: 0x800e7ee2
Attribute List: 0x559cba6d0008
1: feature-acct-bitmask len= 4 value= 805306413(3000002d)
Accounting: enabled
Interim fail count: None
Last interim failed reason: None
Last stats:
BytesIn: 0
BytesOut: 0
BytesInGiga: 0
BytesOutGiga: 0
UPID: 0x800e16e0
Service-ID: 0x04000004 Service-Name: LIVE_TV
Feature-ID: 0x800e16e1
Attribute List: 0x559cba6d0008
1: feature-acct-bitmask len= 4 value= 0(0)
Accounting: disabled
Interim fail count: None
Last interim failed reason: None
Last stats:
BytesIn: 0
BytesOut: 0
BytesInGiga: 0
BytesOutGiga: 0
UPID: 0x800dda90
Service-ID: 0x04000003 Service-Name: JHV_VOICE
Feature-ID: 0x800dda91
Attribute List: 0x559cba6d0008
1: feature-acct-bitmask len= 4 value= 805306413(3000002d)
Accounting: enabled
Interim fail count: None
Last interim failed reason: None
Last stats:
BytesIn: 0
BytesOut: 0
BytesInGiga: 0
BytesOutGiga: 0
UPID: 0x800dd4e0
Service-ID: 0x04000004 Service-Name: LIVE_TV
Feature-ID: 0x800dd4e1
Attribute List: 0x559cba6d0008
1: feature-acct-bitmask len= 4 value= 0(0)
Accounting: disabled
Interim fail count: None
Last interim failed reason: None
Last stats:
BytesIn: 0
BytesOut: 0
BytesInGiga: 0
BytesOutGiga: 0
This example shows how to view the access-interface details on budge ether:
Router# show cnbng-nal subscriber access-interface bundle-Ether 1.1
Mon Aug 3 00:04:42.558 UTC
=====================
Location: 0/RSP0/CPU0
=====================
Type PPPoE IPoE
==== ===== ====
Session Counts by State:
initializing 0 0
connecting 0 0
connected 0 0
activated 0 8000
idle 0 0
disconnecting 0 0
Total: 0 8000
Session Counts by Address-Family:
none 0 0
ipv4 0 0
ipv6 0 8000
dual 0 0
Total: 0 8000
=====================
Location: 0/RSP1/CPU0
=====================
Type PPPoE IPoE
==== ===== ====
Session Counts by State:
initializing 0 0
connecting 0 0
connected 0 0
activated 0 8000
idle 0 0
disconnecting 0 0
Total: 0 8000
Session Counts by Address-Family:
none 0 0
ipv4 0 0
ipv6 0 8000
dual 0 0
Total: 0 8000
This example shows how to view the summary of IPOE details of the subscriber:
Router# show cnbng-nal subscriber type ipoe summary
Mon Aug 3 00:06:15.032 UTC
=====================
Location: 0/RSP0/CPU0
=====================
Type PPPoE IPoE
==== ===== ====
Session Counts by State:
initializing 0 0
connecting 0 0
connected 0 0
activated 0 8000
idle 0 0
disconnecting 0 0
Total: 0 8000
Session Counts by Address-Family:
none 0 0
ipv4 0 0
ipv6 0 8000
dual 0 0
Total: 0 8000
=====================
Location: 0/RSP1/CPU0
=====================
Type PPPoE IPoE
==== ===== ====
Session Counts by State:
initializing 0 0
connecting 0 0
connected 0 0
activated 0 8000
idle 0 0
disconnecting 0 0
Total: 0 8000
Session Counts by Address-Family:
none 0 0
ipv4 0 0
ipv6 0 8000
dual 0 0
Total: 0 8000
=====================
Location: 0/RSP0/CPU0
=====================
Type PPPoE IPoE
==== ===== ====
Session Counts by State:
initializing 0 0
connecting 0 0
connected 0 0
activated 31031 0
idle 0 0
disconnecting 0 0
Total: 31031 0
Session Counts by Address-Family:
none 0 0
ipv4 31031 0
ipv6 0 0
dual 0 0
Total: 31031 0
The example shows how to display NAL process all routed subscriber records using the routed keyword.
Router#show cnbng-nal subscriber type routed ?
detail Detailed subscriber information
location Specify a location
summary Summary of subscriber sessions
This example shows how to display subscriber type and sub-type for routed subscribers.
Router#show cnbng-nal subscriber all detail
=====================
Location: 0/0/CPU0
=====================
Interface: Bundle-Ether1.ip2147483664
UPID: 0x80000010
CPID: 0x00000002
Type: IPoE
Sub-type: Routed
Routed IPv4 Prefix: 0.0.0.0
Routed IPv6 Prefix: 1::2
IPv4 Address: 0.0.0.0
IPv4 Framed Route: NA
IPv6 IANA Address: cafe::bad1
IPv6 IAPD Prefix: cafe:bed1::/64
This example shows how the IPoE subscribers as L2 connected and routed subscribers are classified.
Router#show cnbng-nal subscriber all summary
=====================
Location: 0/0/CPU0
=====================
Type PPPoE IPoE LAC LNS
==== ===== ==== === ===
L2-Conn Routed
======= ======
Session Counts by State:
initializing 0 0 0 0 0
connecting 0 0 0 0 0
connected 0 0 0 0 0
activated 0 0 1 0 0
idle 0 0 0 0 0
disconnecting 0 0 0 0 0
Total: 0 0 1 0 0
This example shows how to display information about all subscribers that are in the warm mode.Router# show cnbng-nal subscriber warm all
Thu Nov 27 11:27:15.820 IST
=====================
Location: 0/0/CPU0
=====================
Codes: IA - Inactive, AG - Activating, AC - Active,
CPID(hex) State Mac Address Subscriber IP Addr / Prefix (Vrf)
-------------------------------------------------------------------
2 AC 1234.1234.4555 10.0.0.2 default
10.0.1.0/24 (Framed IPv4)
10.0.0.0/24 (Framed IPv4)
befe::bad1 (IANA)
befe:bed1::/64 (IAPD)
beca::/64 (Slaac PD)
2001:db8:10:/24 (Framed IPv6)
2001:db8:20:/24 (Framed IPv6)
Session-count: 1
This example shows how to display a summary of all subscriber sessions that are in the warm mode.
Router# show cnbng-nal subscriber warm all summary
Thu Nov 27 11:29:10.137 IST
=====================
Location: 0/0/CPU0
=====================
Type PPPoE IPoE LAC LNS
==== ===== ==== === ===
L2-Conn Routed
======= ======
Session Counts by State:
Activating 0 0 0 0 0
Active 1 0 0 0 0
InActive 0 0 0 0 0
Total: 1 0 0 0 0
Session Counts by Address-Family:
none 0 0 0 0 0
ipv4 0 0 0 0 0
ipv6 0 0 0 0 0
dual 1 0 0 0 0
lac 0 0 0 0 0
Total: 1 0 0 0 0
This example shows how to display detailed information about a specific subscriber session (identified by CPID 2) that is
currently in the warm mode.
Router# show cnbng-nal subscriber warm cpid 2 detail
Thu Nov 27 11:29:51.917 IST
=====================
Location: 0/0/CPU0
=====================
UPID : 0x80000010
CPID : 0x00000002
Msg Txn id : 1
Source port id : 1
Session Txn id : 3
Oper code : SPA_OPER_TYPE_CREATE
IPOE AFI Cap : SPA_SUB_AFI_INVALID
Feature mask : 0x51dfe00
SRG report id : 0
Feature flags
-------------
[SPA_FEATURE_IPv4_ADDR | SPA_FEATURE_IANA_ADDR | SPA_FEATURE_IAPD_ADDR | SPA_FEATURE_LINK_LOCAL |
SPA_FEATURE_V4_ROUTE | SPA_FEATURE_V6_ROUTE | SPA_FEATURE_SRG | SPA_FEATURE_OUTER_VLAN |
SPA_FEATURE_SUBSCRIBER_VRF | SPA_FEATURE_PPPOE_TIMER | SPA_FEATURE_PPPOE_MAGIC_NUM | SPA_FEATURE_PPP_MTU |
SPA_FEATURE_SLAAC]
IPv4 address Info
-----------------
Oper code : SPA_OPER_TYPE_CREATE
IPv4 address : 100.0.0.2
IPv6 address Info
-----------------
Oper code : SPA_OPER_TYPE_CREATE
IPv6 address(iana) : befe::bad1
IPv6 address(iapd) : befe:bed1::
Link local : fe80:abcd::
Prefix length : 64
IPv6 slaac address : beca::
Prefix length : 64
Session Data
------------
Access interface : Bundle-Ether1.1
Mac address : 1234.1234.4555
VRF name : default
Session type : SPA_SESSION_TYPE_PPPOE
SRG group name : group1
PPP Info
--------
Local magic number : 12345678
Peer magic number : 87654321
Retry count : 1
Keep alive interval : 60 secs
PPPOE session id : 2
Vlan Info
---------
Outer vlan : 1
ICMP and MTU Info
-----------------
PPP MTU : 1400
IPv4 route Info
---------------
Oper code : SPA_OPER_TYPE_CREATE
VRF name : default
IPv4 address : 200.0.0.0
Prefix length : 24
Next hop : 4.0.0.1
Tag : 0
Metric : 0
Next hop VRF name : default
Distance : 1
IPv4 route Info
---------------
Oper code : SPA_OPER_TYPE_CREATE
VRF name : default
IPv4 address : 1.0.0.0
Prefix length : 24
Next hop : 4.0.0.1
Tag : 0
Metric : 0
Next hop VRF name : default
Distance : 0
IPv6 route Info
---------------
Oper code : SPA_OPER_TYPE_CREATE
VRF name : default
IPv6 address : 101::
Prefix length : 24
Next hop : ::
Tag : 0
Metric : 0
Next hop VRF name : default
Distance : 1
IPv6 route Info
---------------
Oper code : SPA_OPER_TYPE_CREATE
VRF name : default
IPv6 address : 102::
Prefix length : 24
Next hop : ::
Tag : 0
Metric : 0
Next hop VRF name : default
Distance : 0
[NAL-SRG-WARM-SUBSCRIBER-EVENTS]
| Event Name | Time Stamp | User Data
| Subs create | Nov 27 11:26:51.149956 | feat_flag: 0x051dfe00, subs_flag: 0x00000001
===================__#__=======================
This example shows how to display information about a specific subscriber session (identified by CPID 2) that is in the warm
state and is associated with a specific location.
Router# show cnbng-nal subscriber warm cpid 2 location 0/0/CPU0
Thu Nov 27 11:29:40.870 IST
=====================
Location: 0/0/CPU0
=====================
Codes: IA - Inactive, AG - Activating, AC - Active,
CPID(hex) State Mac Address Subscriber IP Addr / Prefix (Vrf)
-------------------------------------------------------------------
2 AC 1234.1234.4555 100.0.0.2 default
200.0.0.0/24 (Framed IPv4)
1.0.0.0/24 (Framed IPv4)
befe::bad1 (IANA)
befe:bed1::/64 (IAPD)
beca::/64 (Slaac PD)
101::/24 (Framed IPv6)
102::/24 (Framed IPv6)