Dual Stack Subscribers Monitoring and Management
Monitoring Active Subscriber Sessions
Purpose
View a summary of active subscriber sessions.
Action
From operational mode, enter the show subscribers summary
command.
user@host>show subscribers summary Subscribers by State Active: 2 Total: 2 Subscribers by Client Type DHCP: 1 PPPoE: 1 Total: 2
Meaning
The output under Subscribers by State
shows the number of active subscriber sessions.
The output under Subscribers by Client Type
shows the number of active sessions by type. The two subscriber sessions above represent a DHCPv6 subscriber on a PPPoE access network. When DHCPv6 is layered over PPPoE, two separate subscriber sessions are created for a subscriber.
Monitoring Both IPv4 and IPv6 Address in Correct Routing Instance
Purpose
Verify that the subscriber has both an IPv4 and an IPv6 address and is placed in the correct routing-instance.
Action
From operational mode, enter the show subscribers
command.
user@host>show subscribers Interface IP Address/VLAN ID User Name LS:RI pp0.1073741825 203.0.113.162 ipv4-v6-subscriber default:default pp0.1073741825 2001:DB8::1 default:default
Meaning
The Interface
field shows that there are two subscriber sessions running on the same interface. The IP Address
field shows that one session is assigned an IPv4 address, and one session is assigned on IPv6 address.
The LS:RI
field shows that the subscriber is placed in the correct routing instance and that traffic can be sent and received.
Monitoring Dynamic Subscriber Sessions
Purpose
Display dynamic PPPoE and DHCPv6 subscriber sessions.
Action
From operational mode, enter the show subscribers detail
command.
user@host>show subscribers detail Type: PPPoE User Name: SBRSTATICUSER IP Address: 203.0.113.162 IP Netmask: 255.0.0.0 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Dynamic Dynamic Profile Name: pppoe-subscriber-profile MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 2 Session ID: 2 Login Time: 2011-12-08 09:11:41 PST Type: DHCP IPv6 Address: 2001:DB8::1 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Static MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 3 Session ID: 3 Underlying Session ID: 2 Login Time: 2011-12-08 09:12:11 PST DHCP Options: len 42 00 08 00 02 0b b8 00 01 00 0a 00 03 00 01 00 01 02 00 00 01 00 06 00 02 00 03 00 03 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
Meaning
If you are using DHCPv6 over a PPPoE access network, the output shows the relationship of the DHCPv6 subscriber session with its underlying PPPoE subscriber session. In the output for the PPPoE session, the Session ID
is 2. The output of the DHCP session shows that the Underlying Session ID
is 2.
Monitoring Address Pools Used for Subscribers
Purpose
Verify the pool used for NDRA, the delegated address pool used for DHCPv6 prefix delegation, and the length of the IPv6 prefixes that were delegated to the CPE.
Action
From operational mode, enter the show subscribers extensive
command.
user@host>show subscribers extensive Type: PPPoE User Name: dual-stack-v4v6-pd IP Address: 203.0.113.5 IP Netmask: 255.255.0.0 IPv6 User Prefix: 2001:db8:2010:0:0:8::/64 Logical System: default Routing Instance: default Interface: pp0.1073741864 Interface type: Dynamic Dynamic Profile Name: DS-dyn-ipv4v6-ra MAC Address: 00:00:5E:00:53:02 State: Active Radius Accounting ID: 87 Session ID: 87 Login Time: 2012-01-17 14:45:30 PST IPv6 Delegated Address Pool: dhcpv6-pd-pool IPv6 Delegated Address Pool: ndra-2010 IPv6 Delegated Network Prefix Length: 48 IPv6 Interface Address: 2001:db8:2010:0:0:8::1/64 Type: DHCP IPv6 Prefix: 2001:db8:2040:2000:2000:5::/64 Logical System: default Routing Instance: default Interface: pp0.1073741864 Interface type: Static MAC Address: 00:00:5E:00:53:02 State: Active Radius Accounting ID: 88 Session ID: 88 Underlying Session ID: 87 Login Time: 2012-01-17 14:46:00 PST DHCP Options: len 42 00 08 00 02 0b b8 00 01 00 0a 00 03 00 01 00 07 64 11 07 02 00 06 00 02 00 19 00 19 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 IPv6 Delegated Address Pool: dhcpv6-pd-pool IPv6 Delegated Network Prefix Length: 64 IPv6 Delegated Network Prefix Length: 48
Meaning
Under the PPPoE session, the IPv6 Delegated Address Pool
fields show the names of the pools used for DHCPv6 prefix delegation and for NDRA prefixes. The IPv6 Delegated Network Prefix Length
field shows the length of the prefix used to assign the IPv6 address for this subscriber session. The IPv6 Interface Address
field shows the IPv6 address assigned to the CPE interface from the NDRA pool.
Under the DHCP session, the IPv6 Delegated Address Pool
fields show the name of the pool used for DHCPv6 prefix delegation. The IPv6 Delegated Network Prefix Length
fields shows the length of the prefix used in DHCPv6 prefix delegation.
Monitoring Specific Subscriber Sessions
Purpose
Display information about specific subscriber sessions. If you have many subscriber sessions running, you can use this command to display specific sessions.
Action
From operational mode, enter the show subscribers extensive id
command.
user@host>show subscribers extensive id 2 Type: PPPoE User Name: SBRSTATICUSER IP Address: 203.0.113.162 IP Netmask: 255.0.0.0 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Dynamic Dynamic Profile Name: pppoe-subscriber-profile MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 2 Session ID: 2 Login Time: 2011-12-08 09:11:41 PST user@host> show subscribers extensive id 3 Type: DHCP IPv6 Address: 2001:DB8::1 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Static MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 3 Session ID: 3 Underlying Session ID: 2 Login Time: 2011-12-08 09:12:11 PST DHCP Options: len 42 00 08 00 02 0b b8 00 01 00 0a 00 03 00 01 00 01 02 00 00 01 00 06 00 02 00 03 00 03 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
Meaning
The output shows details about specific subscriber sessions.
Monitoring the Status of the PPPoE Logical Interface
Purpose
Display status information about the PPPoE logical interface.
Action
user@host> show interfaces pp0.1073741888 Logical interface pp0.1073741888 (Index 123) (SNMP ifIndex 707) Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 16, Session AC name: centaurus, Remote MAC address: 00:00:5E:00:53:02, Underlying interface: ge-1/0/0.1104 (Index 95) Input packets : 8 Output packets: 51816 LCP state: Opened NCP state: inet: Opened, inet6: Opened, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Success Protocol inet, MTU: 1500 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Primary Local: 192.0.2.77 Protocol inet6, MTU: 1500 Addresses, Flags: Is-Preferred Is-Primary Destination: 2001:DB8:0:21::/64, Local: 2001:DB8:0:21::1 Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::2a0:a50f:fc61:6d0
Meaning
Displays session information about the ppp0 interface.
Monitoring Service Sessions for Subscribers
Purpose
Display a details about dual-stack subscriber session.
Action
user@host> show subscribers interface pp0.1073741888 extensive Type: PPPoE User Name: dual-stack-v4v6-2svc-good IP Address: 203.0.113.140 Logical System: default Routing Instance: default Interface: pp0.1073741888 Interface type: Dynamic Dynamic Profile Name: DS-dyn-ipv4v6-ra MAC Address: 00:00:5E:00:53:02 State: Active Radius Accounting ID: 155 Session ID: 155 Login Time: 2011-01-30 20:36:53 PST Service Sessions: 2 Service Session ID: 174 Service Session Name: l3-v4-service State: Active IPv4 Input Filter Name: upstrm-filter-ge-1/0/0.1104-in IPv4 Output Filter Name: dwnstrm-filter-ge-1/0/0.1104-out Service Session ID: 175 Service Session Name: l3-v6-service State: Active IPv6 Input Filter Name: v6-up-filter-ge-1/0/0.1104-in IPv6 Output Filter Name: v6-dn-filter-ge-1/0/0.1104-out
Meaning
The highlighted output includes details about a subscriber’s service sessions.
Monitoring PPP Options Negotiated with the Remote Peer
Purpose
Display the PPP options that were negotiated with the CPE. You can also view the IPv4 address that was negotiated with the remote peer. This address matches the address returned from AAA. You can also see this address by using the show subscribers
command.
Note that this is the only command that will provide the details about the negotiated interface IDs.
Action
user@host> show ppp interface pp0.1073741888 extensive Session pp0.1073741888, Type: PPP, Phase: Network LCP State: Opened Last started: 2011-01-30 20:36:53 PST Last completed: 2011-01-30 20:36:53 PST Negotiated options: Authentication protocol: pap, Magic number: 1174596353, MRU: 1492 Authentication: PAP State: Grant Last started: 2011-01-30 20:36:53 PST Last completed: 2011-01-30 20:36:53 PST IPCP State: Opened Last started: 2011-01-30 20:36:54 PST Last completed: 2011-01-30 20:36:54 PST Negotiated options: Local address: 192.0.2.77, Remote address: 192.0.2.140 IPV6CP State: Opened Last started: 2011-01-30 20:36:54 PST Last completed: 2011-01-30 20:36:54 PST Negotiated options: Local interface identifier: 2a0:a50f:fc61:6d0, Remote interface identifier: 200:64ff:fe01:602