Вы находитесь на странице: 1из 23

THOMSON Triple Play

Author: Date: Version: Thomson Presales September 2011 v1.0

Abstract:

This document provides a technical overview on the triple play scenario presented on the Customer Training of November 2008. The goal of the training is to build up a complete triple play scenario based on the requirements defined by a fictive ISP.

Applicability: This document applies to all Thomson Gateway devices having both Ethernet and DSL as a physical WAN connection. It can be used as a reference for similar scenarios.

THOMSON Triple Play

Contents
1Before we start........................................................................................4 2TGlite........................................................................................................5
2.1Requirements......................................................................................................................................5 2.2Configuration Guidelines...................................................................................................................5 2.2.1DSL Connectivity...............................................................................................................................5 2.2.2ETH Connectivity...............................................................................................................................8 2.2.3CWMP Configuration.........................................................................................................................9

3TGvideo..................................................................................................10
3.1Video Requirements.........................................................................................................................10 3.2STS file explained.............................................................................................................................10

4TGplus....................................................................................................14
4.1Basic requirements..........................................................................................................................14 4.2Advanced requirements...................................................................................................................15 4.3Configuration Guidelines.................................................................................................................16 4.3.1Connection Part...............................................................................................................................16 4.3.2Basic Requirements Guidelines.......................................................................................................19

v1.0

THOMSON Triple Play

4.3.3Advanced requirements Guidelines.................................................................................................20

v1.0

THOMSON Triple Play

1
1 2

BEFORE WE START
Make sure you are using R8.2.1.2 Reset to factory defaults

:system reset factory=yes proceed=yes

Flush the default connection


relay flush flush flush flush phonebook flush

:ppp :ppp :eth :atm :atm

Some more to get started

:env set var=SESSIONTIMEOUT value=0 :ip ipdelete addr=10.0.0.138 :wireless ifconfig state=disabled

v1.0

THOMSON Triple Play

TGLITE
In this chapter we set up the initial base configuration proposed by the ISP. This configuration will serve basic internet and remote management capabilities.

2.1 Requirements
* All requirements stated below have to be functional on both the ETH and DSL interface.

> 1 IPoE interface for Internet (dsl: pvc=8/40, eth: untagged) > 1 IPoE interface for Management (dsl: pvc=8/37, eth: vlan=14) > Ensure the traffic flow over the correct interface > Preconfigure the ACS server
Host: http://acs.tg.com:7547 No authentication is required on connection request Periodic Inform Interval: 120 seconds

2.2 Configuration Guidelines 2.2.1 DSL Connectivity


1 Add the PVC Phonebook entries
:atm phonebook add name=pvc_data addr=8*40 :atm phonebook add name=pvc_mgmt addr=8*37

Add the ATM interfaces

:atm ifadd intf=atm_data :atm ifconfig intf=atm_data dest=pvc_data :atm ifattach intf=atm_data :atm ifadd intf=atm_mgmt :atm ifconfig intf=atm_mgmt dest=pvc_mgmt :atm ifattach intf=atm_mgmt

v1.0

THOMSON Triple Play

Add the ETH interfaces

:eth ifadd intf=eth_internet :eth ifconfig intf=eth_internet dest=atm_data wan=enabled :eth ifattach intf=eth_internet :eth ifadd intf=eth_mgmt :eth ifconfig intf=eth_mgmt dest=atm_mgmt wan=enabled :eth ifattach intf=eth_mgmt

Add the IP interfaces

:ip ifadd intf=ip_internet dest=eth_internet :ip ifattach intf=ip_internet :ip ifadd intf=ip_mgmt dest=eth_mgmt :ip ifattach intf=ip_mgmt

Enable DHCP on the IP interfaces

:dhcp client ifadd intf=ip_internet :dhcp client ifadd intf=ip_mgmt

Configuring the options for the DHCP Clients


client client client client client client client client client client client client rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions add add add add add add add add add add add add intf=ip_internet intf=ip_internet intf=ip_internet intf=ip_internet intf=ip_internet intf=ip_internet intf=ip_mgmt intf=ip_mgmt intf=ip_mgmt intf=ip_mgmt intf=ip_mgmt intf=ip_mgmt option=51 option=58 option=59 option=1 option=3 option=6

:dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp

option=51 option=58 option=59 option=1 option=3 option=6

Create a rule which classifies traffic being management based on the destination address.

v1.0

THOMSON Triple Play

:label rule add chain=rt_user_labels srcintf=!wan name=mgmt_routing dstip=172.30.104.0/24 log=disabled state=enabled label=Management

Add the label to the Management DHCP Client. This will add a label to the default route created by the DHCP client. This label will ensure that only management traffic will be able to use this route.

:dhcp client ifconfig intf= ip_mgmt label=Management

Attach the DHCP Clients and retrieve an IP address.

:dhcp client ifattach intf=ip_internet :dhcp client ifattach intf=ip_mgmt

10 Enable NAT on both interfaces


:nat ifconfig intf=ip_internet translation=enabled :nat ifconfig intf=ip_mgmt translation=enabled

v1.0

THOMSON Triple Play

2.2.2 ETH Connectivity


1 Create a vlan for Management
:eth vlan add name=vlan_mgmt vid=14

Create an ETH interface on top of the physical "ethif5" interface


:eth ifadd intf=eth_wan :eth ifconfig intf=eth_wan dest=ethif5 wan=enabled :eth ifattach intf eth_wan

Add the ETH interfaces for Management and Internet, associated with their VLAN

:eth ifadd intf=eth_mgmt_5 :eth ifconfig intf=eth_mgmt_5 dest=eth_wan vlan=vlan_mgmt wan=enabled :eth ifattach intf eth_mgmt_5

Add the IP interfaces for Management and Internet

:ip ifadd intf=ip_internet_5 dest=eth_wan :ip ifattach intf ip_internet_5 :ip ifadd intf=ip_mgmt_5 dest=eth_mgmt_5 :ip ifattach intf ip_mgmt_5

Add DHCP client on the IP interfaces

:dhcp client ifadd intf=ip_internet_5 :dhcp client ifadd intf=ip_mgmt_5

Configuring the options for the DHCP Clients


client client client client client client rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions add add add add add add intf=ip_internet_5 intf=ip_internet_5 intf=ip_internet_5 intf=ip_internet_5 intf=ip_internet_5 intf=ip_internet_5 option=51 option=58 option=59 option=1 option=3 option=6

:dhcp :dhcp :dhcp :dhcp :dhcp :dhcp

v1.0

THOMSON Triple Play

:dhcp :dhcp :dhcp :dhcp :dhcp :dhcp

client client client client client client

rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions

add add add add add add

intf=ip_mgmt_5 intf=ip_mgmt_5 intf=ip_mgmt_5 intf=ip_mgmt_5 intf=ip_mgmt_5 intf=ip_mgmt_5

option=51 option=58 option=59 option=1 option=3 option=6

Add the label to the Management DHCP Client. This will add a label to the default route created by the DHCP client. This label will ensure that only management traffic will be able to use this route.

:dhcp client ifconfig intf= ip_mgmt_5 label=Management

Attach the DHCP Clients and retrieve an IP address.

:dhcp client ifattach intf=ip_internet_5 :dhcp client ifattach intf=ip_mgmt_5

Enable NAT on both interfaces

:nat ifconfig intf=ip_internet_5 translation=enabled :nat ifconfig intf=ip_mgmt_5 translation=enabled

2.2.3 CWMP Configuration


1 Configure CWMP (TR069) to address the correct ACS server each 120 seconds
:cwmp config periodicInfInt=120 connectionRequest=enabled connectionReqAuth=none :cwmp server config url=http://acs.tg.com/ :service system modify name=CWMP-C state=enabled routelabel=Management

v1.0

THOMSON Triple Play

TGVIDEO
In the last chapter we ended by configuring the ACS server. This will make the gateway contacting the ACS server allowing it to be managed. In this chapter we will upgrade our TGlite service with the TGvideo service, offering fully routed video on all ethernet ports using IGMP proxying and snooping. In order to provision the gateway with the video configuration we will create an .sts file. This is a script file containing CLI commands which will be sequentially executed on the gateway. When you have this script you need to upload it to the BBNM server and create an extra action.

3.1 Video Requirements


> Create an STS file to provision the gateway enabling the TGvideo Service. > 1 IPoE interface for Video (dsl: pvc=8/38, eth: vlan13) > Ensure the traffic flow over the correct interface > Configure maximally optimised routed Video using IGMP

3.2 STS file explained


1 The header of an STS file, which is mandatory to run.
TPVERSION=2.0.0 BOARD_NAME=CANT-Y

Create a rule which classifies traffic being video based on the destination address.

:label rule add chain=rt_user_labels name=video_routing dstip=172.16.13.0/24 log=disabled state=enabled label=Video srcintf=!wan

Add the PVC Phonebook entry

:atm phonebook add name=pvc_video addr=8*38

Add the ATM interface

:atm ifadd intf=atm_video :atm ifconfig intf=atm_video dest=pvc_video

10

v1.0

THOMSON Triple Play

:atm ifattach intf=atm_video

Add the ETH interface

:eth ifadd intf=eth_video :eth ifconfig intf=eth_video dest=atm_video wan=enabled :eth ifattach intf=eth_video

Add the IP interface

:ip ifadd intf=ip_video dest=eth_video :ip ifattach intf=ip_video

Enable DHCP on the IP interface

:dhcp client ifadd intf=ip_video

Configuring the options for the DHCP Clients


client client client client client client rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions add add add add add add intf=ip_video intf=ip_video intf=ip_video intf=ip_video intf=ip_video intf=ip_video option=51 option=58 option=59 option=1 option=3 option=6

:dhcp :dhcp :dhcp :dhcp :dhcp :dhcp

Add the label to the Video DHCP Client. This will add a label to the default route created by the DHCP client. This label will ensure that only video traffic will be able to use this route.

:dhcp client ifconfig intf=ip_video label=Video

10 Attach the DHCP Client and retrieve an IP address.


:dhcp client ifattach intf=ip_video

11 Create a vlan for Video


:eth vlan add name=vlan_video vid=13

v1.0

11

THOMSON Triple Play

12 Add the ETH interface for Video, associated with the proper VLAN.
:eth ifadd intf=eth_video_5 :eth ifconfig intf=eth_video_5 dest=eth_wan vlan=vlan_video wan=enabled :eth ifattach intf eth_video_5

13 Add the IP interfaces


:ip ifadd intf=ip_video_5 dest=eth_video_5 :ip ifattach intf ip_video_5

14 Enable DHCP on the IP interface


:dhcp client ifadd intf=ip_video_5

15 Configuring the options for the DHCP Clients


:dhcp :dhcp :dhcp :dhcp :dhcp :dhcp client client client client client client rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions add add add add add add intf=ip_video_5 intf=ip_video_5 intf=ip_video_5 intf=ip_video_5 intf=ip_video_5 intf=ip_video_5 option=51 option=58 option=59 option=1 option=3 option=6

16 Add the label to the Video DHCP Client. This will add a label to the default route created by the DHCP client. This label will ensure that only video traffic will be able to use this route.
:dhcp client ifconfig intf=ip_video_5 label=Video

17 Attach the DHCP Client and retrieve an IP address.


:dhcp client ifattach intf=ip_video_5

18 Enable NAT on both interfaces


:nat ifconfig intf=ip_video translation=enabled :nat ifconfig intf=ip_video_5 translation=enabled

12

v1.0

THOMSON Triple Play

19 Enable IGMP snooping on all physical ethernet interfaces which could host a STB.
:eth :eth :eth :eth bridge bridge bridge bridge ifconfig ifconfig ifconfig ifconfig intf=ethport1 intf=ethport2 intf=ethport3 intf=ethport4 igmpsnooping=enabled igmpsnooping=enabled igmpsnooping=enabled igmpsnooping=enabled

20 Enable IGMP snooping on the bridge


:eth bridge igmpsnooping config state=enabled

21 Configure "fastleave" and "explicit host tracking" on all IGMP enabled ports.
:eth :eth :eth :eth bridge bridge bridge bridge igmpsnooping igmpsnooping igmpsnooping igmpsnooping ifconfig ifconfig ifconfig ifconfig intf=ethport1 intf=ethport2 intf=ethport3 intf=ethport4 fastleave=enabled fastleave=enabled fastleave=enabled fastleave=enabled exptrack=enabled exptrack=enabled exptrack=enabled exptrack=enabled

22 Since we are creating a routed scenario, we will need to use the IGMP proxy. The IGMP proxy will help getting IGMP (multicast) through the router and act as a querier towards the LocalNetwork.
:igmp proxy config state=enabled

23 Configure the proxy to be listening on the LocalNetwork and transmitting on the Video interfaces
:igmp proxy ifconfig intf=LocalNetwork state=downstream fastleave=enabled exptrack=enabled :igmp proxy ifconfig intf=ip_video_5 state=upstream :igmp proxy ifconfig intf=ip_video state=upstream

24 Conclude the STS file with a blank line (else the last line will not be executed)

v1.0

13

THOMSON Triple Play

TGPLUS
In this chapter we set up the VoIP configuration proposed by the ISP. This service comes on top of previously configured services (Internet, Management and Video). There are two lists of requirements. Basic requirements have to be fulfilled to gain the VoIP contract. Advanced requirements are added value for the ISP, they will grant higher customer satisfaction.

4.1 Basic requirements


All requirements stated below have to be functional on both the eth and dsl interface. > 1 IPoE interface for VoIP (dsl: pvc=8/36, eth: vlan 12) > Ensure the VoIP traffic (SIP and RTP) flow over the correct interface > Preconfigure the SIP proxy and registrar:
Proxy: sip.tg.com Registrar: sip.tg.com

> Configure a SIP account to register on the mentioned registrar.


The SIP account should map to an analog phone plugged on FXS1 A list of SIP URI is provided has followed : each group of TSSM will have its own account

SIP URI
10XX

Username / Password
10XX / 10XX

Where X maps to the group ID

For instance Group 14 should use :

> >

SIP URI :1014 Username / Password : 1014

14

v1.0

THOMSON Triple Play

SIP Specific Settings > The Register should expire after 2 minutes. > Caller ID presentation has to be displayed on the Phone > The subscriber can enable Caller ID restriction dialling *31, or do it on a one specific call dialling:
*31*<number>

> If there is an incoming call while already on the phone, a tone should alert the subscriber, and
dialing Hookflash + 2, he should be able to switch between pending and active call.

> The priority of the codec should be G729 - G711a


no other codec should appear in SIP the negotiation

> The digit from the phone should be sent according to RFC2833 the dynamic Payload type
announced in a SDP for rfc2833 should be 101

Dial Plan Settings > The numbering plan of VoIP call is as follow:
o 1xxx o 2xxx[xx]

4.2 Advanced requirements


> VoIP Traffic need be tagged in the network with DSCP:
Here are DSCP values which are to be used

Signaling = af32 RTP = ef

> Specific InterDigit Timeout


If we call a number which have a closed dialling plan (min number of digit = max number of digit) the timeout between each digit should be 10s, else it should be 4s.

v1.0

15

THOMSON Triple Play

> Tones played on the analog phone are etsi definition.


One exeption is for the ringback tone:

Description of the Tone: Off for 4000 ms On for 1500 ms with a frequency of 500 Hz

Official Cadence definition Scheme: 500: 1500/0:4000/L

>

Add an interactive answer which should be played by the CPE when the end user dial too slowly i.e: if the user takes too much time between 2 digit, the interdigit timer will expire before the end user has finished to dial the full number, an explicit message should explain him what happened. Voice message encoded with G711a is provided.
E v e n t ID 1 0 1 . g 7 1 1 a . z ip

4.3 Configuration Guidelines 4.3.1 Connection Part


DSL Configuration
1 Add the PVC Phonebook entry

:atm phonebook add name=pvc_voip addr=8*36

Add the ATM interfaces

:atm ifadd intf=atm_voip :atm ifconfig intf=atm_voip dest=pvc_voip :atm ifattach intf=atm_voip

Add the ETH interfaces

:eth ifadd intf=eth_voip

16

v1.0

THOMSON Triple Play

:eth ifconfig intf=eth_voip dest=atm_voip wan=enabled :eth ifattach intf=eth_voip

Add the IP interfaces, and define a different MAC address for this interface

:ip ifadd intf=ip_voip dest=eth_voip :ip ifconfig intf=ip_voip mtu=1500 hwaddr $_LMACADDR :ip ifattach intf=ip_voip

Enable DHCP on the IP interfaces

:dhcp client ifadd intf=ip_voip

Configuring the options for the DHCP Clients


client client client client client client rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions add add add add add add intf=ip_voip intf=ip_voip intf=ip_voip intf=ip_voip intf=ip_voip intf=ip_voip option=51 option=58 option=59 option=1 option=3 option=6

:dhcp :dhcp :dhcp :dhcp :dhcp :dhcp

Create label and a rule which classifies traffic being VoIP (SIP and RTP) based on the destination address and port.

:label add name=voice_routing :label modify name=voice_routing defclass=default inheritance=enabled :label rule add chain=rt_user_labels index=1 name=sip srcintf=local dstip=172.30.102.0/24 serv=sip log=disabled state=enabled label=voice_routing

Add the label to the VoIP DHCP Client. This will add a label to the default route created by the DHCP client. This label will ensure that only management traffic will be able to use this route.

:dhcp client ifconfig intf=ip_voip label=voice_routing

Attach the DHCP Clients and retrieve an IP address.

:dhcp client ifattach intf=ip_voip

v1.0

17

THOMSON Triple Play

ETH Configuration
1 Create a vlan for VoIP

:eth vlan add name=vlan_voip vid=12

Add the ETH interfaces for VoIP associated with its VLAN.

:eth ifadd intf=eth_voip_5 :eth ifconfig intf=eth_voip_5 dest=eth_wan vlan=vlan_voip wan=enabled :eth ifattach intf eth_voip_5

Add the IP interfaces, and define a different MAC address for this interface

:ip ifadd intf=ip_voip_5 dest=eth_voip_5 :ip ifconfig intf=ip_voip_5 mtu=1500 hwaddr $_LMACADDR :ip ifattach intf ip_voip_5

Enable DHCP on the IP interfaces

:dhcp client ifadd intf=ip_voip_5

Configuring the options for the DHCP Clients


client client client client client client rqoptions rqoptions rqoptions rqoptions rqoptions rqoptions add add add add add add intf=ip_voip_5 intf=ip_voip_5 intf=ip_voip_5 intf=ip_voip_5 intf=ip_voip_5 intf=ip_voip_5 option=51 option=58 option=59 option=1 option=3 option=6

:dhcp :dhcp :dhcp :dhcp :dhcp :dhcp

Add the label to the VoIP DHCP Client. This will add a label to the default route created by the DHCP client. This label will ensure that only VoIP traffic will be able to use this route.

:dhcp client ifconfig intf=ip_voip_5 label=voice_routing

Attach the DHCP Clients and retrieve an IP address.

:dhcp client ifattach intf=ip_voip_5

18

v1.0

THOMSON Triple Play

4.3.2 Basic Requirements Guidelines


1 Configure the SIP proxy and registrar. Make sure to assign both ip_voip interface to the Voice application. The application will use it to find which source IP to use.

:voice sip config primproxyaddr=sip.tg.com primregaddr=sip.tg.com :voice config static_intf=enabled intf=ip_voip secondintf=ip_voip_5

Configure a SIP account to register on the mentioned registrar. Your URI, username, password and displayname should be in the format 10{your two digit groupID here}. Please do not copy paste immediately.

:voice profile add SIP_URI=1001 username=1001 password=1001 displayname=1001 voiceport=FXS1 :service system modify name VOIP_SIP state enabled

Configure Register expire to 2 minutes.

:voice sip config regexpire 120

Caller ID presentation and Call Waiting are provisioned by default, but not Caller ID restriction

:voice services provision type=clir

Configure codec priority as requested : G729 - G711a


codec codec codec codec config config config config type=g729 priority=1 status enabled type=g711a priority=2 status enabled type=g711u status disabled type=g723_1 status disabled

:voice :voice :voice :voice

Configure DTMF relay in order to be sent according to RFC2833 and to have the dynamic Payload type 101

:voice config digitrelay=rfc2833 :voice codec dynamic config type=g726_40 payloadtype=102 :voice codec dynamic config type=rfc2833 payloadtype=101

v1.0

19

THOMSON Triple Play

Configure the 2 requested dialplan entries

1xxx 2xxx[xx]
fallbackport=NA priority=NA fallback=disabled remnumdigits=0 rescan=no data=no fallbackport=NA priority=NA fallback=disabled remnumdigits=0 rescan=no data=no

:voice dialplan add prefix=1 defaultport=VoIP minimumdigits=4 maximumdigits=4 posofmodify=0 action=ROUTE_excl_eon :voice dialplan add prefix=2 defaultport=VoIP minimumdigits=4 maximumdigits=6 posofmodify=0 action=ROUTE_excl_eon

4.3.3 Advanced requirements Guidelines


1 Configure DSCP for signalling in af32
:voice qos config type=Signaling qosfield=DSCP dscp=af32

Configure InterDigit Timeout Closed dialling plan should be 10s, else it should be 4s.

:voice fxsport config interdigit=10000 interdigitOpen=4000

Tones played on the analog phone are etsi definition.

Official Cadence definition Scheme: 500: 1500/0:4000/L

:voice tone patterntable modify id=111 freq1=500 duration=1500

>

Add an interactive answer should be played by the CPE when the end user dial too slowly The ID mapping with this Event is 101. The voice message encoded with G711a is provided, it has to be put in the DL directory of the CPE.

:voice tone descrtable add tone=EventID101 status=enabled delay=1000 patternentryid=0 file=dl/EventID101 filerepeat=1 text=Too_slow nexttone=none repeatafter=0 :voice tone eventtable modify eventid=101 tone=EventID101

20

v1.0

THOMSON Triple Play

v1.0

21

Visit us at: www.thomson-broadband.com

Acknowledgements All Colleagues for sharing their knowledge.

Coordinates THOMSON Telecom Prins Boudewijnlaan 47

B-2650 Edegem Belgium Email: documentation.speedtouch@thomson.net

Copyright
2011 THOMSON. All rights reserved. The content of this document is furnished for informational use only, may be subject to change without notice, and should not be construed as a commitment by THOMSON. THOMSON assumes no responsibility or liability for any errors or inaccuracies that may appear in this document. The information contained in this document represents the current view of THOMSON on the issues discussed as of the date of publication. Because THOMSON must respond to changing market conditions, it should not be interpreted to be a commitment on the part of THOMSON, and THOMSON cannot guarantee the accuracy of any information presented after the date of

publication. This document is for informational purposes only. THOMSON MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE INFORMATION IN THIS DOCUMENT. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

Вам также может понравиться