#----------------------------------------------------------------# # # Project: Configuration Example PPPoe CPE # Element: SmartNode 4552 # Firmware: 3.20 # Author: JW # Date: 2005-02-08 # Contact: EMEA: support@inalp.com # #----------------------------------------------------------------# cli version 3.00 no dns-client enabled dns-client cache 30 webserver port 80 language en snmp community public ro # The sntp configuration is optional sntp-client #change the ip-address of the time-server sntp-client server primary port 123 version 4 sntp-client gmt-offset + 01:00:00 system hostname 4552 profile service-policy SP_VOICE_OUT # Set rate-limit to the maximum uplink rate of your internet-connection # voice-margin must be 1/3 of the rate-limit rate-limit header-length 18 voice-margin source traffic-class local-voice priority source traffic-class local-default priority source traffic-class default profile service-policy SP_VOICE_IN # Set rate-limit to the maximum download rate of your internet-connection # voice-margin must be 1/3 of the rate-limit rate-limit header-length 18 voice-margin source traffic-class local-voice priority source traffic-class local-default priority source traffic-class default profile ppp default profile tone-set default profile voip default codec 1 g729 rx-length 20 tx-length 20 codec 2 g711alaw64k rx-length 20 tx-length 20 codec 3 g711ulaw64k rx-length 20 tx-length 20 dejitter-max-delay 100 profile pstn default profile dhcp-server DHCP # change the network ip-address and netmask to suit your network network # define the ip-range include 1 lease 2 hours # change your default router default-router 1 profile authentication default method 1 local method 2 none context ip router interface IF_IP_WAN ipaddress unnumbered point-to-point icmp router-discovery tcp adjust-mss rx 1492 tcp adjust-mss tx 1492 use profile service-policy SP_VOICE_IN in use profile service-policy SP_VOICE_OUT out interface IF_IP_LAN # change the IP adress and netmask of the SmartNode to suit your network ipaddress context ip router dhcp-server use DHCP route 0.0.0.0 0.0.0.0 IF_IP_WAN 0 subscriber ppp SUB_PPPOE dial out authentication chap authentication pap # change user-name an password to the settings given by your provider identification outbound password bind interface IF_IP_WAN router context cs routing-table called-e164 RT_2_PSTN route default dest-interface IF_S0_00 MAP_CDPN_TO_PHONE mapping-table called-uri to called-e164 MAP_CDPN_TO_PHONE # change your default phone number where SIP calls will routet to map default to interface sip IF_SIP bind gateway GW_SIP route call dest-table RT_2_PSTN interface isdn IF_S0_00 route call dest-interface IF_SIP context cs switch no shutdown gateway sip GW_SIP # change the SIP-domain-name of your SIP-provider domain # change the default SIP-server default-server loose-router # change the registrar server to be used for registration. registrar # change your user-id user # change the user-id and password authentication auto default call-transfer-version 5 session-timer-version 8 bind interface IF_IP_WAN router no shutdown port ethernet 0 0 encapsulation pppoe vlan 1 no shutdown pppoe session SES_PPPOE_1 bind subscriber SUB_PPPOE no shutdown port ethernet 0 1 encapsulation ip bind interface IF_IP_LAN router no shutdown port bri 0 0 shutdown port bri 0 1 clock auto encapsulation q921 q921 # Change the protocol to your requirements # pp = point-to-point, pmp = point-to-multipoint protocol uni-side auto encapsulation q931 q931 protocol dss1 # Change the uni-side to your requirements # user = pstn/PBX, net = telephone uni-side encapsulation cc-isdn bind interface IF_S0_00 switch port bri 0 1 no shutdown