There are two wholesale/retail models in TPSDA. In the first model, the retail service is co-located with the wholesale service whereas in the second model, for PPP services only, the retail service is on a separate BNG. The network topology shown in Figure 334 is the first model. It consists of two 7750s; BNG-1 is a wholesaler Broadband Network Gateway (BNG) with the retail service co-located and the second is a retailer router.
Figure 335 shows the second model where the retail service is a separate router and the connection between the wholesale and retail utilizes L2TP. The 7450 in both cases is used as an aggregation switch to aggregate all subscribers.
Figure 336 depicts a Layer 3 wholesale/retail scenario for both IPoE and PPPoE. The first BNG contains both the wholesale and retail configuration. There are two options for the retail BNG to deliver the multicast streams to the wholesale BNG:
*A:BNG-1> config>service>vprn>sub-if# info
----------------------------------------------
unnumbered “system”
group-interface "wholesale-sub-int-1" create
dhcp
client-applications dhcp ppp
no shutdown
exit
authentication-policy "auth-policy-1"
sap 1/1/5:1 create
sub-sla-mgmt
def-sub-id use-sap-id
def-sub-profile "multicast-profile-1"
def-sla-profile "sla-profile-1"
sub-ident-policy "sub-ident-policy-1"
multi-sub-sap 10
no shutdown
exit
exit
pppoe
session-limit 10
sap-session-limit 10
no shutdown
exit
exit
igmp
group-interface "wholesale-group-int-1"
no shutdown
exit
no shutdown
exit
*A:BNG-1> config>service>vprn# info
----------------------------------------------
route-distinguisher 65536:2
subscriber-interface "retail-sub-int-1" fwd-service 1
fwd-subscriber-interface "wholesale-sub-int-1" create
address 10.255.255.254/8
dhcp
server 192.168.0.1
client-applications dhcp ppp
gi-address 10.255.255.254
lease-populate 10
no shutdown
exit
exit
igmp
group-interface fwd-service 1 "wholesale-group-int-1
no shutdown
exit
exit
ospf 192.168.2.2
area 0.0.0.0
interface "system"
no shutdown
exit
interface "retail-sub-int-1"
no shutdown
exit
interface "int-BNG-1-BNG-2"
no shutdown
exit
exit
exit
pim
interface "int-BNG-1-BNG-2"
exit
exit
*A:BNG 1> config>subscr-mgmt>igmp-policy# info
----------------------------------------------
per-host-replication
*A:BNG-2> config>service>vprn# info
----------------------------------------------
ospf
area 0.0.0.0
interface "system"
no shutdown
exit
interface "int-BNG-2-BNG-1"
no shutdown
exit
interface “int-multicast-source”
no shutdown
exit
exit
exit
pim
interface "int-BNG-2-BNG-1"
exit
interface "int-multicast-source"
exit
rp
static
address 192.168.4.1
group-prefix 224.0.0.0/4
exit
exit
exit
exit
*A:BNG-1> show router 1 igmp group
===============================================================================
IGMP Interface Groups
===============================================================================
===============================================================================
IGMP Host Groups
===============================================================================
===============================================================================
IGMP SAP Groups
===============================================================================
No Matching Entries
===============================================================================
*A:BNG-1> show router 2 igmp group
===============================================================================
IGMP Interface Groups
===============================================================================
===============================================================================
IGMP Host Groups
===============================================================================
(192.168.4.2,239.255.1.1)
Fwd List : 10.0.0.2 Up Time : 0d 00:13:01
===============================================================================
IGMP SAP Groups
===============================================================================
-------------------------------------------------------------------------------
(*,G)/(S,G) Entries : 1
===============================================================================
*A:BNG-1> show service active-subscribers igmp detail
===============================================================================
Active Subscribers Detail
===============================================================================
Subscriber IGMP-Policy
HostAddr GrpItf NumGroups
GrpAddr Type Up-Time Mode
SrcAddr Type Blk/Fwd
-------------------------------------------------------------------------------
video_user_01 igmp-policy-1
10.0.0.2 whole-sale 1
239.255.1.1 Dynamic 0d 01:37:55 Include
192.168.4.2 Dynamic Fwd
-------------------------------------------------------------------------------
Number of Subscribers : 1
===============================================================================
debug
router "2"
igmp
group-interface fwd-service "1" "whole-sale"
host "10.0.0.2"
packet mode egr-ingr-and-dropped
exit
exit
7648 2013/05/24 16:59:41.02 EST MINOR: DEBUG #2001 vprn2 IGMP[14]
"IGMP[14]: RX-PKT
[013 07:56:53.680] IGMP host 10.0.0.2 V3 PDU: 10.0.0.2 -> 224.0.0.22 pduLen
20
Type: V3 REPORT maxrespCode 0x0 checkSum 0xddf6
Num Group Records: 1
Group Record 0
Type: ALW_NEW_SRCS, AuxDataLen 0, Num Sources 1
Mcast Addr: 239.255.1.1
Source Address List
192.168.4.2
"
7649 2013/05/24 16:59:41.02 EST MINOR: DEBUG #2001 vprn2 IGMP[vprn2 inst 1
4]
"IGMP[vprn2 inst 14]: igmpIfGroupAdd
Adding 239.255.1.1 to IGMP host 10.0.0.2 database"
7650 2013/05/24 16:59:41.02 EST MINOR: DEBUG #2001 vprn2 IGMP[vprn2 inst 1
4]
"IGMP[vprn2 inst 14]: igmpProcessGroupRec
Process group rec ALW_NEW_SRCS received on host 10.0.0.2 for group 239.255.1.1 i
n mode INCLUDE. Num srcs 1"
7651 2013/05/24 16:59:41.02 EST MINOR: DEBUG #2001 vprn2 IGMP[vprn2 inst 1
4]
"IGMP[vprn2 inst 14]: igmpIfSrcAdd
Adding i/f source entry for host 10.0.0.2 (192.168.4.2,239.255.1.1) to IGMP fwdList
Database, redir if N/A"
The same debug command can be used for troubleshooting IGMP leave messages as shown below.
7652 2013/05/24 16:59:43.90 EST MINOR: DEBUG #2001 vprn2 IGMP[14]
"IGMP[14]: RX-PKT
[013 07:56:56.560] IGMP host 10.0.0.2 V3 PDU: 10.0.0.2 -> 224.0.0.22 pduLen
20
Type: V3 REPORT maxrespCode 0x0 checkSum 0xdcf6
Num Group Records: 1
Group Record 0
Type: BLK_OLD_SRCS, AuxDataLen 0, Num Sources 1
Mcast Addr: 239.255.1.1
Source Address List
192.168.4.2
"
7653 2013/05/24 16:59:43.90 EST MINOR: DEBUG #2001 vprn2 IGMP[vprn2 inst 1
4]
"IGMP[vprn2 inst 14]: igmpProcessGroupRec
Process group rec BLK_OLD_SRCS received on host 10.0.0.2 for group 239.255.1.1 i
n mode INCLUDE. Num srcs 1"
7654 2013/05/24 16:59:43.90 EST MINOR: DEBUG #2001 vprn2 IGMP[vprn2 inst 1
4]
"IGMP[vprn2 inst 14]: igmpProcessIfSrcTimerExp
Source Timer expired for IGMP host 10.0.0.2 (192.168.4.2,239.255.1.1)"
7655 2013/05/24 16:59:43.90 EST MINOR: DEBUG #2001 vprn2 IGMP[vprn2 inst 1
4]
"IGMP[vprn2 inst 14]: igmpIfSrcDel
Deleting i/f source entry for host 10.0.0.2 (192.168.4.2,239.255.1.1) from IGMP Dat
abase. DeleteFromAvl: 1 !Redir 0"
7656 2013/05/24 16:59:43.90 EST MINOR: DEBUG #2001 vprn2 IGMP[vprn2 inst 1
4]
"IGMP[vprn2 inst 14]: igmpIfGroupDel
Deleting 239.255.1.1 from IGMP host 10.0.0.2 database"
Below is a configuration extract for the wholesale L2TP Access Concentrator (LAC) in the wholesale service. It is using the local database, under the pppoe user-db configuration, to authenticate the subscriber. The wholesale LAC does not process any IGMP messages so it passes all messages to the retailer LNS.
*A:LAC-1> config>service>vprn>sub-if# info
----------------------------------------------
description "L2TP"
unnumbered “system”
group-interface "LAC-sub-int-1" create
sap 1/1/11:222 create
sub-sla-mgmt
def-sub-id use-sap-id
def-sub-profile "multicast-profile-1
def-sla-profile "sla-profile-1"
sub-ident-policy "sub-ident-policy-1"
multi-sub-sap 10
no shutdown
exit
exit
pppoe
session-limit 10
sap-session-limit 10
user-db "ppp-db-1"
no shutdown
exit
exit
l2tp
group "l2tp-group-1" create
tunnel "tunnel-1" create
auto-establish
local-name "LAC"
peer 192.0.2.3
no shutdown
exit
no shutdown
exit
no shutdown
*A:LNS-1> config>service>vprn>sub-if# info
----------------------------------------------
address 10.255.255.254/8
group-interface "LNS-group-int-1" lns create
sap-parameters
sub-sla-mgmt
def-sub-id use-sap-id
def-sub-profile "multicast-profile-1
def-sla-profile "sla-profile-1"
sub-ident-policy "sub-ident-policy-1"
multi-sub-sap 10
no shutdown
exit
exit
dhcp
server 192.168.0.1
client-applications ppp
gi-address 10.255.255.254
lease-populate 10
no shutdown
exit
exit
l2tp
group "l2tp-group-1" create
tunnel "tunnel-1" create
lns-group 1
ppp
authentication-policy "auth-policy-1"
default-group-interface "LNS-group-int-1" service-id 1
mtu 1500
proxy-authentication always
proxy-lcp always
exit
remote-name "LAC"
no shutdown
exit
no shutdown
exit
no shutdown
igmp
group-interface "LNS-group-int-1"
no shutdown
exit
no shutdown
*A:LNS-1> show service active-subscribers igmp detail
===============================================================================
Active Subscribers Detail
===============================================================================
Subscriber IGMP-Policy
HostAddr GrpItf NumGroups
GrpAddr Type Up-Time Mode
SrcAddr Type Blk/Fwd
-------------------------------------------------------------------------------
LNS1-pppoe-sub-01 igmp-policy-1
10.0.0.2 LNS 1
239.255.1.1 Dynamic 0d 00:04:41 Include
192.168.4.2 Dynamic Fwd
-------------------------------------------------------------------------------
Number of Subscribers : 1
===============================================================================
*A:LAC-1> show router 1 igmp group
===============================================================================
IGMP Interface Groups
===============================================================================
===============================================================================
IGMP Host Groups
===============================================================================
===============================================================================
IGMP SAP Groups
===============================================================================
No Matching Entries
===============================================================================
*A:LNS-1> show router 1 igmp group
===============================================================================
IGMP Interface Groups
===============================================================================
===============================================================================
IGMP Host Groups
===============================================================================
(192.168.4.2,239.255.1.1)
Fwd List : 10.0.0.2 Up Time : 0d 00:08:27
===============================================================================
IGMP SAP Groups
===============================================================================
-------------------------------------------------------------------------------
(*,G)/(S,G) Entries : 1
===============================================================================
debug
router "1"
igmp
group-interface "LNS-01"
host "10.0.0.2"
packet mode egr-ingr-and-dropped
exit
exit
7604 2013/05/24 16:55:49.46 EST MINOR: DEBUG #2001 vprn1 IGMP[8]
"IGMP[8]: RX-PKT
[013 07:53:02.120] IGMP host 10.0.0.2 V3 PDU: 10.0.0.2 -> 224.0.0.22
pduLen 20
Type: V3 REPORT maxrespCode 0x0 checkSum 0xddf6
Num Group Records: 1
Group Record 0
Type: ALW_NEW_SRCS, AuxDataLen 0, Num Sources 1
Mcast Addr: 239.255.1.1
Source Address List
192.168.4.2
"
7605 2013/05/24 16:55:49.46 EST MINOR: DEBUG #2001 vprn1 IGMP[vprn1 inst 8
]
"IGMP[vprn1 inst 8]: igmpIfGroupAdd
Adding 239.255.1.1 to IGMP host 10.0.0.2 database"
7606 2013/05/24 16:55:49.46 EST MINOR: DEBUG #2001 vprn1 IGMP[vprn1 inst 8
]
"IGMP[vprn1 inst 8]: igmpProcessGroupRec
Process group rec ALW_NEW_SRCS received on host 10.0.0.2 for group 239.255.1.1 in mode INCLUDE. Num srcs 1"
7607 2013/05/24 16:55:49.46 EST MINOR: DEBUG #2001 vprn1 IGMP[vprn1 inst 8
]
"IGMP[vprn1 inst 8]: igmpIfSrcAdd
Adding i/f source entry for host 10.0.0.2 (192.168.4.2,239.255.1.1) to IGMP fwd
List Database, redir if N/A"
7615 2013/05/24 16:58:06.38 EST MINOR: DEBUG #2001 vprn1 IGMP[8]
"IGMP[8]: RX-PKT
[013 07:55:19.040] IGMP host 10.0.0.2 V3 PDU: 10.0.0.2 -> 224.0.0.22
pduLen 20
Type: V3 REPORT maxrespCode 0x0 checkSum 0xdcf6
Num Group Records: 1
Group Record 0
Type: BLK_OLD_SRCS, AuxDataLen 0, Num Sources 1
Mcast Addr: 239.255.1.1
Source Address List
192.168.4.2
"
7616 2013/05/24 16:58:06.38 EST MINOR: DEBUG #2001 vprn1 IGMP[vprn1 inst 8
]
"IGMP[vprn1 inst 8]: igmpProcessGroupRec
Process group rec BLK_OLD_SRCS received on host 10.0.0.2 for group 239.255.1.1 in mode INCLUDE. Num srcs 1"
7617 2013/05/24 16:58:06.38 EST MINOR: DEBUG #2001 vprn1 IGMP[vprn1 inst 8
]
"IGMP[vprn1 inst 8]: igmpProcessIfSrcTimerExp
Source Timer expired for IGMP host 10.0.0.2 (192.168.4.2,239.255.1.1)"
7618 2013/05/24 16:58:06.38 EST MINOR: DEBUG #2001 vprn1 IGMP[vprn1 inst 8
]
"IGMP[vprn1 inst 8]: igmpIfSrcDel
Deleting i/f source entry for host 10.0.0.2 (192.168.4.2,239.255.1.1) from IGMP
Database. DeleteFromAvl: 1 !Redir 0"
7619 2013/05/24 16:58:06.38 EST MINOR: DEBUG #2001 vprn1 IGMP[vprn1 inst 8
]
"IGMP[vprn1 inst 8]: igmpIfGroupDel
Deleting 239.255.1.1 from IGMP host 10.0.0.2 database"