Академический Документы
Профессиональный Документы
Культура Документы
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.
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
v1.0
1
1 2
BEFORE WE START
Make sure you are using R8.2.1.2 Reset to factory defaults
:env set var=SESSIONTIMEOUT value=0 :ip ipdelete addr=10.0.0.138 :wireless ifconfig state=disabled
v1.0
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
: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
: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
: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
:dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp :dhcp
Create a rule which classifies traffic being management based on the destination address.
v1.0
: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.
v1.0
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
: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
v1.0
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.
v1.0
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.
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
10
v1.0
:eth ifadd intf=eth_video :eth ifconfig intf=eth_video dest=atm_video wan=enabled :eth ifattach intf=eth_video
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.
v1.0
11
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
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
12
v1.0
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
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
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.
SIP URI
10XX
Username / Password
10XX / 10XX
> >
14
v1.0
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 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]
v1.0
15
Description of the Tone: Off for 4000 ms On for 1500 ms with a frequency of 500 Hz
>
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
:atm ifadd intf=atm_voip :atm ifconfig intf=atm_voip dest=pvc_voip :atm ifattach intf=atm_voip
16
v1.0
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
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.
v1.0
17
ETH Configuration
1 Create a vlan for VoIP
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
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.
18
v1.0
: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
Caller ID presentation and Call Waiting are provisioned by default, but not Caller ID restriction
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
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
Configure InterDigit Timeout Closed dialling plan should be 10s, else it should be 4s.
>
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
v1.0
21
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.