This section shows how to configure a VPN between two Abilis to transport data and compressed phone calls and a VPN to transport only voice data.
Consider an Abilis placed in “Site 1”that is connected to another Abilis placed in “Site 2” with a VPN (with backup ISDN) which transports data and compressed phone calls.
Site 1:
1 HDSL line with the following parameters:
AR: 2048000 bit/sec
Encapsulation: fr-ietf
CIR = MCR: 512000 bit/sec
PCR: 1600000 bit/sec
TC: 0.010 sec
Standard: cisco
DLCI: 20
IP address: 80.80.80.80/32
2 ISDN BRI lines (Point-to-Point) with the following numbers:
0212345678
0212345679 (used for the backup of the VPN)
1 ISDN PBX
Calling number presentation
Site 2:
1 ADSL line with the following parameters:
Speed: 1024/256 Kbit/sec
PPP authentication: rfc2364-vcmux
VPI: 8
VCI: 35
Username: abilis_2
Password: abilis_2
IP address negotiated (81.81.81.81)
2 ISDN BRI lines (Point-to-Point) with the following numbers:
0611223344
0611223345 (used for the backup of the VPN)
1 ISDN PBX
Calling number presentation
This section shows how to configure the IP resources on both Abilis.
Warning | |
---|---|
The Eth-1 card and the IP-1 resource are already present in the configuration. |
Set up the IP address of the LAN of “Abilis 1”:
[16:16:35] ABILIS_CPX_1:s p ip-1 ipadd:192.168.0.1 mask:255.255.255.0 nat:inside descr:LAN_Site_1
COMMAND EXECUTED
Add a synchronous ESB card:
[16:16:35] ABILIS_CPX_1:a dev:esb-1
COMMAND EXECUTED
The execution of this command adds 4 synchronous port: use
the sync-1
port and set up the clock source
(external) and the speed (Access Rate):
[16:16:35] ABILIS_CPX_1:s p sync-1 clk:ext sp:2048000 descr:HDSL_line
COMMAND EXECUTED
Add a frame relay resource on a dedicated line
(subtype
:dl
):
[16:16:35] ABILIS_CPX_1:a res:fr-1 subtype:dl
COMMAND EXECUTED
Associate the
lowres
:sync-1
to the
fr-1
resource and set up the standard
(cisco
), the Access Rate (2048000 bit/sec) and
activate the LMI:
[16:16:35] ABILIS_CPX_1:s p fr-1 lowres:sync-1 std:cisco ar:2048000 lmi:yes
COMMAND EXECUTED
Add a ip resource on a dedicated line
(subtype
:dl
):
[16:16:35] ABILIS_CPX_1:a res:ip-2 subtype:dl
COMMAND EXECUTED
Associate the
lowres
:fr-1
to the
IP-2
resource and set up the encapsulation type
(fr-ietf
):
[16:16:35] ABILIS_CPX_1:s p ip-2 lowres:fr-1 enc:fr-ietf
COMMAND EXECUTED
Set up the IP address of the HDSL line and the NAT type
(outside
):
[16:16:35] ABILIS_CPX_1:s p ip-2 ipadd:80.80.80.80 mask:255.255.255.255 nat:outside
COMMAND EXECUTED
Configure the parameter of the frame relay resource:
DLCI
=20
CIR
=1024000 bit/sec
BC
=CIR*TC=512000*0.010=5120
bit
BE
=(PCR-MCR)*TC=(1600000-512000)*0.010=10880
[bit].
[16:16:35] ABILIS_CPX_1:s p ip-2 dlci:20 cir:1024000 bc:10240 be:10880
COMMAND EXECUTED
Configure the outgoing speedlimit with a speed equal to PCR value:
[16:16:35] ABILIS_CPX_1:s p ip-2 outspl:yes outsp:1600
COMMAND EXECUTED
Here it's the result of the configuration:
[16:16:35] ABILIS_CPX_1:d p ip-2
RES:Ip-2 - Not Saved (SAVE CONF) ---------------------------------------------- - IP over Dedicated Line (DL) ------------------------------------------ DESCR: OPSTATE:UP LOG:NO STATE-DETECT:NORMAL LOWRES:Fr-1 ENC:FR-IETF FRAG:NO IPADD:080.080.080.080 MASK:255.255.255.255 NEIGH:000.000.000.000 REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:NO OUTBUF:100 OUTQUEUE:FAIR MTU:1500 OUTSPL:YES OUTSP:1600 INBUF:0 mru:1500 SRCV:NO - TRFA section --------------------------------------------------------- TRFA:NO - Link ----------------------------------------------------------------- LLOG:DS LMPX:NO LCOMP:NO LCR:NO LT1:1000 LT3:3000 LN2:3 LCRKEY:DFT - Frame Relay ---------------------------------------------------------- DLCI:20 CC:YES SC:4 CIR:1024000 BC:10240 BE:10880 RES:Fr-1 - Not Saved (SAVE CONF) ---------------------------------------------- - FR over Dedicated Line (DL) ------------------------------------------ DESCR: LOWRES:Sync-1 - Frame Relay ---------------------------------------------------------- LOG:DS SIDE:USER-UNI pvc:1 STD:CISCO AR:2048000 LMI:YES T391:10 T392:15 N391:6 N392:3 N393:4 - Link ----------------------------------------------------------------- LLOG:DS LMPX:NO LCOMP:NO LCR:NO LT1:1000 LT3:3000 LN2:3 LCRKEY:DFT RES:Sync-1 - Not Saved (SAVE CONF) -------------------------------------------- ------------------------------------------------------------------------ DESCR:HDSL_line LOG:DS int:V24 CLK:EXT SP:2048000 CLK-INV:NONE CODING:NRZ IDLE:FLAG mode:FULL RTSDLY:0 CD:NO FDCD:500 FCTS:500 MPX:NO E1-FRAMING:CRC4 HAUL:SHORT CH:ALL frame:2100 d-rxbuf:14 dma-rxbuf:10 dma-txbuf:1 [16:16:35] ABILIS_CPX_1:d p fr-1
RES:Fr-1 - Not Saved (SAVE CONF) ---------------------------------------------- - FR over Dedicated Line (DL) ------------------------------------------ DESCR: LOWRES:Sync-1 - Frame Relay ---------------------------------------------------------- LOG:DS SIDE:USER-UNI pvc:1 STD:CISCO AR:2048000 LMI:YES T391:10 T392:15 N391:6 N392:3 N393:4 - Link ----------------------------------------------------------------- LLOG:DS LMPX:NO LCOMP:NO LCR:NO LT1:1000 LT3:3000 LN2:3 LCRKEY:DFT RES:Sync-1 - Not Saved (SAVE CONF) -------------------------------------------- ------------------------------------------------------------------------ DESCR:HDSL_line LOG:DS int:V24 CLK:EXT SP:2048000 CLK-INV:NONE CODING:NRZ IDLE:FLAG mode:FULL RTSDLY:0 CD:NO FDCD:500 FCTS:500 MPX:NO E1-FRAMING:CRC4 HAUL:SHORT CH:ALL frame:2100 d-rxbuf:14 dma-rxbuf:10 dma-txbuf:1
Add an AIPT resource in Extended mode with ISDN backup:
[16:16:35] ABILIS_CPX_1:a res:ip-5 subtype:aipt-bck
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:s p ip-5 descr:To_Abilis_2 neigh:192.168.1.1 mask:255.255.255.0 nat:inside frag:aipt fragsize:1400 lcr:data mode:ext remport:2105 locipadd:80.80.80.80 remipadd:81.81.81.81
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:s p ip-5 brty:us bnrty:30 btb:10 sgi:abilis1-abilis2 sgo:abilis2-abilis1 cdo:0611223345
COMMAND EXECUTED
Set up the speedlimit of the VPN:
[16:16:35] ABILIS_CPX_1:s p ip-5 outspl:yes outsp:240
COMMAND EXECUTED
Here it's the result of the configuration:
[16:16:35] ABILIS_CPX_1:d p ip-5
RES:Ip-5 - Not Saved (SAVE CONF) ----------------------------------------------
- IP over IP (Abilis tunnel) with Abilis Back-up (AIPT-BCK) ------------
DESCR:To_Abilis_2
OPSTATE:UP LOG:NO STATE-DETECT:NORMAL
BCKRES:CtiSLink
FRAG:AIPT FRAGSIZE:1400
IPADD:000.000.000.000 MASK:255.255.255.000 NEIGH:192.168.001.001
REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO
NAT:INSIDE UPNP:NO DIFFSERV:NO DDNS:NO
OUTBUF:100 OUTQUEUE:FAIR MTU:1500
OUTSPL:YES OUTSP:240
INBUF:0 mru:1500 SRCV:NO
- TRFA section ---------------------------------------------------------
TRFA:NO
- Link -----------------------------------------------------------------
LLOG:DS LMPX:YES LC:YES LCOMP:NO LCR:DATA
LT1:3000 LT3:9000 LN2:3 LCRKEY:DFT
- IP Tunnel ------------------------------------------------------------
TLOG:NO MODE:EXT D-TOS:0-N V-TOS:0-D C-TOS:0-D
MPX:NO RS-BUF:100 D-TOUT:1000 V-TOUT:100 V-RED:NONE
PATH:SINGLE LOCPORT:2105 REMPORT:2105 CR:NO CRKEY:DFT
OUT-IP:AUTO
LOCIPADD:080.080.080.080 REMIPADD:081.081.081.081
- Back-Up --------------------------------------------------------------
BRTY:US BNRTY:30 BTB:10 BAC:DOD
DDT:220 VDT:10 UDT:NOMAX
CDI:* CDO:0611223345
CGI:* CGO:#
SDI:* SDO:#
SGI:ABILIS1-ABILIS2 SGO:ABILIS2-ABILIS1
Tip | |
---|---|
Saving the configuration with save conf
command, the validation procedure will automatically change the
parameter |
Give the highest priority to the voice IP packets:
[16:16:35] ABILIS_CPX_1:s p iprtr acl:yes cos:enabled
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:a ipacl pr:0 type:permit ipcos:high tos-i:*-d prot:udp sa:* da:* sres:int spo:* dpo:*
COMMAND EXECUTED
Set up the IP address of the LAN of “Abilis 2”:
[16:16:35] ABILIS_CPX_2:s p ip-1 ipadd:192.168.1.1 mask:255.255.255.0 nat:inside descr:LAN_Site_2
COMMAND EXECUTED
Add the ADSL USB modem.
The execution of this command creates the
adsl-1
resource.
[16:16:35] ABILIS_CPX_2:a dev:adslusb-1
COMMAND EXECUTED
Add the IP resource IP-2
(subtype
:ppp
):
[16:16:35] ABILIS_CPX_2:a res:ip-2 subtype:ppp
COMMAND EXECUTED
Associate the IP-2 resource to the
lowres
:adsl-1
and set up the
IP address of the resource (retrieve
), the IP
address of the neighbour router (retrieve
) and
the NAT type
(outside
):
[16:16:35] ABILIS_CPX_2:s p ip-2 lowres:adsl-1 ipadd:retrieve neigh:retrieve nat:outside descr:ADSL_line
COMMAND EXECUTED
Set up the encapsulation type (ppp-enc
),
the Virtual Path Identifier (VPI
) and the
Virtual Channel Identifier (VCI
) of the ADSL
line:
[16:16:35] ABILIS_CPX_2:s p ip-2 ppp-enc:rfc2364-vcmux vpi:8 vci:35
COMMAND EXECUTED
Configure the authentication parameters
(username
and password
) of
the ADSL line:
[16:16:35] ABILIS_CPX_2:s p ip-2 username:abilis_2 password:abilis_2
COMMAND EXECUTED
Set up the speedlimit with a speed slightly lower than the upload speed of the ADSL line:
[16:16:35] ABILIS_CPX_2:s p ip-2 outspl:yes outsp:240
COMMAND EXECUTED
Here it's the result of the configuration:
[16:16:35] ABILIS_CPX_2:d p ip-2
RES:Ip-2 - Not Saved (SAVE CONF) ----------------------------------------------
- IP over PPP (PPP) ----------------------------------------------------
DESCR:ADSL_line
OPSTATE:UP LOG:NO STATE-DETECT:NORMAL
LOWRES:Adsl-1
IPADD:RETRIEVE NEIGH:RETRIEVE
REDIS:EXT HIDE:NO RP:NONE IPSEC:NO VRRP:NO
NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:NO
OUTBUF:100 OUTQUEUE:FAIR MTU:1500
OUTSPL:YES OUTSP:240
INBUF:0 mru:1500 SRCV:NO
- TRFA section ---------------------------------------------------------
TRFA:NO
- Ppp ------------------------------------------------------------------
LOG:DS NRTY3:3 PPP-ENC:RFC2364-VCMUX RADIUS:NO
VPI:8 VCI:35
- Tcp-MSS/Lcp/IpCp -----------------------------------------------------
TCP-MSS-CLAMP:NO
maxmru:1500 DNS:NO
- Authentication -------------------------------------------------------
USERNAME:abilis_2
PASSWORD:******** LOCAL:CHAP,PAP
SERVNAME: REMOTE:NONE
REPEAT:0
RES:Adsl-1 - Not Saved (SAVE CONF) --------------------------------------------
------------------------------------------------------------------------
DESCR:
LOG:DS max-vc:1 aal5-max-payload:2100 aal5-payload-rxbuf:30
usb-rx-bufsize:1728 usb-rx-buf:3 usb-tx-bufsize:3200
Add an AIPT resource in Extended mode with ISDN backup:
[16:16:35] ABILIS_CPX_2:a res:ip-5 subtype:aipt-bck
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:s p ip-5 descr:To_Abilis_1 neigh:192.168.0.1 mask:255.255.255.0 nat:inside frag:aipt fragsize:1400 lcr:data mode:ext remport:2105 locipadd:81.81.81.81 remipadd:80.80.80.80
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:s p ip-5 brty:us bnrty:30 btb:10 sgi:abilis2-abilis1 sgo:abilis1-abilis2 cdo:0212345679
COMMAND EXECUTED
Set up the speedlimit of the VPN:
[16:16:35] ABILIS_CPX_2:s p ip-5 outspl:yes outsp:240
COMMAND EXECUTED
Here it's the result of the configuration:
[16:16:35] ABILIS_CPX_2:d p ip-5
RES:Ip-5 - Not Saved (SAVE CONF) ----------------------------------------------
- IP over IP (Abilis tunnel) with Abilis Back-up (AIPT-BCK) ------------
DESCR:To_Abilis_1
OPSTATE:UP LOG:NO STATE-DETECT:NORMAL
BCKRES:CtiSLink
FRAG:AIPT FRAGSIZE:1400
IPADD:000.000.000.000 MASK:255.255.255.000 NEIGH:192.168.000.001
REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO
NAT:INSIDE UPNP:NO DIFFSERV:NO DDNS:NO
OUTBUF:100 OUTQUEUE:FAIR MTU:1500
OUTSPL:YES OUTSP:240
INBUF:0 mru:1500 SRCV:NO
- TRFA section ---------------------------------------------------------
TRFA:NO
- Link -----------------------------------------------------------------
LLOG:DS LMPX:YES LC:YES LCOMP:NO LCR:DATA
LT1:3000 LT3:9000 LN2:3 LCRKEY:DFT
- IP Tunnel ------------------------------------------------------------
TLOG:NO MODE:EXT D-TOS:0-N V-TOS:0-D C-TOS:0-D
MPX:NO RS-BUF:100 D-TOUT:1000 V-TOUT:100 V-RED:NONE
PATH:SINGLE LOCPORT:2105 REMPORT:2105 CR:NO CRKEY:DFT
OUT-IP:AUTO
LOCIPADD:081.081.081.081 REMIPADD:080.080.080.080
- Back-Up --------------------------------------------------------------
BRTY:US BNRTY:30 BTB:10 BAC:DOD
DDT:220 VDT:10 UDT:NOMAX
CDI:* CDO:0212345679
CGI:* CGO:#
SDI:* SDO:#
SGI:ABILIS2-ABILIS1 SGO:ABILIS1-ABILIS2
Tip | |
---|---|
Saving the configuration with save conf
command, the validation procedure will automatically change the
parameter |
Give the highest priority to the voice IP packets:
[16:16:35] ABILIS_CPX_2:s p iprtr acl:yes cos:enabled
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:a ipacl pr:0 type:permit ipcos:high tos-i:*-d prot:udp sa:* da:* sres:int spo:* dpo:*
COMMAND EXECUTED
Add the BRI-4/HFC card:
[16:16:35] ABILIS_CPX_1:a dev:bri4-1
COMMAND EXECUTED
The execution of this command creates the CTI ports from 31 to 34. Configure the ports 31 and 32 towards PBX and 33 and 34 ports to ISDN lines:
[16:16:35] ABILIS_CPX_1:s p ctip:31 side:nt line:pp descr:To_PBX
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:s p ctip:32 side:nt line:pp descr:To_PBX
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:s p ctip:33 side:te line:pp descr:To_ISDN_lines_(0212345678)
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:s p ctip:34 side:te line:pp descr:To_ISDN_lines_(0212345679)
COMMAND EXECUTED
Add G1 group that groups CTI ports towards PBX and G2 that groups CTI ports towards ISDN lines:
[16:16:35] ABILIS_CPX_1:a ctig id:1 p1:31 p2:32 descr:To_PBX
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:a ctig id:2 p1:33 p2:34 descr:To_ISDN_lines
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:d ctig
----------------------------------+------------------------------------------------ ID: [DESCR:] S: R: MC: P: |P1 P2 P3 P4 P5 ... |... P62 P63 P64 [Px: CDO: CGO: SDO: SGO: RGO: SP: CODERS: DJ: MJ: T301: ] ----------------------------------+------------------------------------------------ 0 [Iax/Sip/Disa/Vo group (Read Only)] R ST MAX NO |Iax Sip Disa Vo . ----------------------------------+------------------------------------------------ 1 [to_PBX] R ST MAX NO |31 32 . . . ----------------------------------+------------------------------------------------ 2 [to_ISDN_line] R ST MAX NO |33 34 . . . ----------------------------------+------------------------------------------------
Add To_Site_2
list containing numbers to route
towards tunnel; the list contains the unique number of “Site
2” (0611223344):
[16:16:35] ABILIS_CPX_1:list create To_site_2 in Numbers_to_Site_2
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:a list:To_Site_2 0611223344
COMMAND EXECUTED
Add Node
list containing numbers of local
PBX:
[16:16:35] ABILIS_CPX_1:list create Node in Local_Numbers
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:a list:Node 0212345678
COMMAND EXECUTED
Add a cluster for compressed calls towards “Site 2”:
[16:16:35] ABILIS_CPX_1:a cticl id:Site_2 descr:Compressed_phones_towards_Site_2
COMMAND EXECUTED
Add a CTI Link and
associate the Site_2
cluster to
IP-5
resource:
[16:16:35] ABILIS_CPX_1:a ctil id:1 res:ip-5 clus:Site_2
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:d ctil
- Not Saved (SAVE CONF) ------------------------------------------------------- Configured Links:1 Activated Links:8 ID: RES: CLUS: MAXBW: MAXCON: GROUP: (GROUP-MAXBW: GROUP-MAXCON:) ------------------------------------------------------------------------------- 1 ip-5 Site_2 NOMAX NOMAX NONE [16:16:35] ABILIS_CPX_1:d cticl
- Not Saved (SAVE CONF) ------------------------------------------------------- Configured Clusters:1 ---------+----------------------+---------+-----+-----------+------------------ CLUS: |[DESCR:] [Int] |CG-IN-REWRITE: |RG-IN: |SS: |LCS-GROUP: |CLIP-RULE: |NUM: |CPO: |NUMx: ---------+----------------------+---------+-----+-----------+------------------ Site_2 Compressed_phones_towards_Site_2 [ 1] - DISABLE NO NONE PRIVATE * NO -------------------------------------------------------------------------------
Add a CTI routing
(BCI
:DATA
) to route
outcoming ISDN backup calls:
[16:16:35] ABILIS_CPX_1:a ctir pr:1 bci:data poi:Sl out:g2 cdi:*
COMMAND EXECUTED
Add a CTI routing for calls coming from “Site 2” and directed to the local PBX:
[16:16:35] ABILIS_CPX_1:a ctir pr:2 sr:* out:g1 cdi:'Node'
COMMAND EXECUTED
Add a CTI routing for compressed calls directed to
“Site 2”, with next parameter set to
u
(unlimited) to route calls on ISDN lines if
it isn't possible to route them towards the Tunnel:
[16:16:35] ABILIS_CPX_1:a ctir pr:3 next:u poi:g1 out:Site_2 cdi:'To_Site_2'
COMMAND EXECUTED
Add two CTI routings to guarantee the transparent calls from PBX towards ISDN lines and from PBX towards ISDN lines:
[16:16:35] ABILIS_CPX_1:a ctir pr:4 poi:g1 out:g2 cdi:*
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:a ctir pr:5 poi:g2 out:g1 cdi:*
COMMAND EXECUTED
Here it's the result of the configuration:
[16:32:06] ABILIS_CPX:d ctir - Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------------- Last change: 17/09/2015 08:36:47 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 DATA Sl # # G2 * * -------------------------------------------------------------------------------- 2 VOICE # * # G1 'Node' * -------------------------------------------------------------------------------- 3 VOICE G1 # # Site_2 'To_Site_2' * UNLIMITED ANY NO Dft * * -------------------------------------------------------------------------------- 4 VOICE G1 # # G2 * * -------------------------------------------------------------------------------- 5 VOICE G2 # # G1 * * --------------------------------------------------------------------------------
Tip | |
---|---|
Remember to save the configuration with the save conf command. |
The configuration of CTI ports and CTI groups is identical to “Abilis 1”. For the remaining configuration, it's only needed to change the ISDN numbers.
Add To_Site_1
list containing numbers to route
towards tunnel; in this example the list contains the unique
number of “Site 1” (0212345678):
[16:16:35] ABILIS_CPX_2:list create To_site_1 in Numbers_to_Site_1
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:a list:To_Site_2 0212345678
COMMAND EXECUTED
Add Node
list containing numbers of local
PBX:
[16:16:35] ABILIS_CPX_2:list create Node in Local_Numbers
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:a list:Node 0611223344
COMMAND EXECUTED
Add a cluster for compressed calls towards “Site 1”:
[16:16:35] ABILIS_CPX_2:a cticl id:Site_1 descr:Compressed_phones_towards_Site_1
COMMAND EXECUTED
Add a CTI Link and
associate the Site_1
cluster to
IP-5
resource:
[16:16:35] ABILIS_CPX_2:a ctil id:1 res:ip-5 clus:Site_1
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:d ctil
- Not Saved (SAVE CONF) ------------------------------------------------------- Configured Links:1 Activated Links:8 ID: RES: CLUS: MAXBW: MAXCON: GROUP: (GROUP-MAXBW: GROUP-MAXCON:) ------------------------------------------------------------------------------- 1 ip-5 Site_1 NOMAX NOMAX NONE [16:16:35] ABILIS_CPX_2:d cticl
- Not Saved (SAVE CONF) ------------------------------------------------------- Configured Clusters:1 ---------+----------------------+---------+-----+-----------+------------------ CLUS: |[DESCR:] [Int] |CG-IN-REWRITE: |RG-IN: |SS: |LCS-GROUP: |CLIP-RULE: |NUM: |CPO: |NUMx: ---------+----------------------+---------+-----+-----------+------------------ Site_1 Compressed_phones_towards_Site_1 [ 1] - DISABLE NO NONE PRIVATE * NO -------------------------------------------------------------------------------
Add the following routings:
[16:16:35] ABILIS_CPX_2:a ctir pr:1 bci:data poi:Sl out:g2 cdi:*
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:a ctir pr:2 sr:* out:g1 cdi:'Node'
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:a ctir pr:3 next:u poi:g1 out:Site_1 cdi:'To_Site_1'
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:a ctir pr:4 poi:g1 out:g2 cdi:*
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:a ctir pr:5 poi:g2 out:g1 cdi:*
COMMAND EXECUTED [16:16:35] ABILIS_CPX_2:d ctir
- Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------------- Last change: 17/09/2015 08:36:47 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 DATA Sl # # G2 * * -------------------------------------------------------------------------------- 2 VOICE # * # G1 'Node' * -------------------------------------------------------------------------------- 3 VOICE G1 # # Site_1 'To_Site_1' * UNLIMITED ANY NO Dft * * -------------------------------------------------------------------------------- 4 VOICE G1 # # G2 * * -------------------------------------------------------------------------------- 5 VOICE G2 # # G1 * * --------------------------------------------------------------------------------
Tip | |
---|---|
Remember to save the configuration with the save conf command. |
Consider the previous example and suppose that the Abilis in “Site 1” is connected to another Abilis in “Site 3” with a VPN that transports only compressed phone calls.
Site 1:
Add an ADSL line with the following parameters to the previous configuration:
Speed: 1024/256 Kbit/sec
PPP authentication: rfc2364-mux
VPI: 8
VCI: 35
Username: abilis_1
Password: abilis_1
IP address negotiated (60.60.60.60)
Site 2:
1 ADSL line with the following parameters:
speed: 1024/256 Kbit/sec
PPP authentication: rfc1483-llcmux
VPI:8
VCI:35
IP address: 61.61.61.61/30
2 ISDN Basic Rate Interface lines (Point-to-Point) with the following numbers:
045566789, 0455668888, 045566999 (used for the backup of the VPN)
1 ISDN PBX
Calling number presentation
In this section it's shown how to configure the IP resources on both Abilis.
Warning | |
---|---|
The Eth-1 card and the IP-1 resource are already present in the configuration. |
ABILIS 1
Add the ADSL USB modem.
The execution of this command creates the
adsl-1
resource.
[16:16:35] ABILIS_CPX_1:a dev:adslusb-1
COMMAND EXECUTED
Add the IP resource IP-3
(subtype
:ppp
):
[16:16:35] ABILIS_CPX_1:a res:ip-3 subtype:ppp
COMMAND EXECUTED
Associate the IP-3 resource to the
lowres
:adsl-1
and set up the
IP address of the resource (retrieve
), the IP
address of the neighbour router (retrieve
) and
the NAT type
(outside
):
[16:16:35] ABILIS_CPX_1:s p ip-3 lowres:adsl-1 ipadd:retrieve neigh:retrieve nat:outside descr:ADSL_line
COMMAND EXECUTED
Set up the encapsulation type (ppp-enc
),
the Virtual Path Identifier (VPI
) and the
Virtual Channel Identifier (VCI
) of the ADSL
line:
[16:16:35] ABILIS_CPX_1:s p ip-3 ppp-enc:rfc2364-vcmux vpi:8 vci:35
COMMAND EXECUTED
Configure the authentication parameters
(username
and password
) of
the ADSL line:
[16:16:35] ABILIS_CPX_1:s p ip-3 username:abilis_1 password:abilis_1
COMMAND EXECUTED
Set up the speedlimit with a speed slightly lower than the upload speed of the ADSL line:
[16:16:35] ABILIS_CPX_1:s p ip-3 outspl:yes outsp:240
COMMAND EXECUTED
Here it's the result of the configuration:
[16:16:35] ABILIS_CPX_1:d p ip-3
RES:Ip-3 - Not Saved (SAVE CONF) ----------------------------------------------
- IP over PPP (PPP) ----------------------------------------------------
DESCR:ADSL_line
OPSTATE:UP LOG:NO STATE-DETECT:NORMAL
LOWRES:Adsl-1
IPADD:RETRIEVE NEIGH:RETRIEVE
REDIS:EXT HIDE:NO RP:NONE IPSEC:NO VRRP:NO
NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:NO
OUTBUF:100 OUTQUEUE:FAIR MTU:1500
OUTSPL:YES OUTSP:240
INBUF:0 mru:1500 SRCV:NO
- TRFA section ---------------------------------------------------------
TRFA:NO
- Ppp ------------------------------------------------------------------
LOG:DS NRTY3:3 PPP-ENC:RFC2364-VCMUX RADIUS:NO
VPI:8 VCI:35
- Tcp-MSS/Lcp/IpCp -----------------------------------------------------
TCP-MSS-CLAMP:NO
maxmru:1500 DNS:NO
- Authentication -------------------------------------------------------
USERNAME:abilis_1
PASSWORD:******** LOCAL:CHAP,PAP
SERVNAME: REMOTE:NONE
REPEAT:0
RES:Adsl-1 - Not Saved (SAVE CONF) --------------------------------------------
------------------------------------------------------------------------
DESCR:
LOG:DS max-vc:1 aal5-max-payload:2100 aal5-payload-rxbuf:30
usb-rx-bufsize:1728 usb-rx-buf:3 usb-tx-bufsize:3200
Add a Packet Voice resource in Extended mode with ISDN backup:
[16:16:35] ABILIS_CPX_1:a res:pv-1 subtype:ip-bck
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:s p pv-1 mode:ext remport:3101 locipadd:60.60.60.60 remipadd:61.61.61.61 descr:To_Abilis_3
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:s p pv-1 brty:us bnrty:30 btb:10 sgi:abilis1-abilis3 sgo:abilis3-abilis1 cdo:045566999
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:d p pv-1
RES:Pv-1 - Not Saved (SAVE CONF) ---------------------------------------------- - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) -------------- DESCR:To_Abilis_3 BCKRES:CtiSLink - Link ----------------------------------------------------------------- LLOG:DS LMPX:YES LC:YES LCOMP:NO LCR:NO LT1:3000 LT3:9000 LN2:3 LCRKEY:DFT - IP Tunnel ------------------------------------------------------------ TLOG:NO MODE:EXT D-TOS:0-N V-TOS:0-D C-TOS:0-D MPX:NO RS-BUF:10 D-TOUT:1000 V-TOUT:100 V-RED:NONE PATH:SINGLE LOCPORT:3101 REMPORT:3101 CR:NO CRKEY:DFT OUT-IP:AUTO LOCIPADD:060.060.060.060 REMIPADD:061.061.061.061 - Back-Up -------------------------------------------------------------- BRTY:US BNRTY:30 BTB:10 BAC:DOD DDT:220 VDT:10 UDT:NOMAX CDI:* CDO:045566999 CGI:* CGO:# SDI:* SDO:# SGI:ABILIS1-ABILIS3 SGO:ABILIS3-ABILIS1
Tip | |
---|---|
Saving the configuration with save conf
command, the validation procedure will automatically change the
parameter |
It's important to ensure that outgoing packets are routed towards the appropriate resource. If it's necessary, add a static towards the remote Abilis (IP:61.61.61) through IP-3 resource.
[16:16:35] ABILIS_CPX_1:a ipr net:61.61.61.61/32 ip:3
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:d ipr
Destination routes and conditional source routes: +-+-+-+-+--------------------+--------------------+-----------------+----+---+ |B|P|S|H| NET:/MASK: | MASK: or | GW: or |IP: |AD:| | | | | | | SRNET:/SRMASK: | IPLB: | | | +-+-+-+-+--------------------+--------------------+-----------------+----+---+ |*|C| | | 192.168.000.001/32 | 255.255.255.255 | |R-ID| 0| |*|C| | | 080.080.080.080/32 | 255.255.255.255 | | 2| 0| |*|C| | | 192.168.000.000/24 | 255.255.255.000 | | 1| 0| |*|C| | | 192.168.001.000/24 | 255.255.255.000 | | 5| 0| |*|C| | | 061.061.061.061/32 | 255.255.255.255 | | 3| 0| |*|S| | | 000.000.000.000/0 | 000.000.000.000 | | 2| 0| +-+-+-+-+--------------------+--------------------+-----------------+----+---+
Set up the IP address of the LAN of “Abilis 3”:
[16:16:35] ABILIS_CPX_3:s p ip-1 ipadd:192.168.2.1 mask:255.255.255.0 nat:inside descr:LAN_Site_3
COMMAND EXECUTED
Add the ADSL USB modem.
The execution of this command creates the
adsl-1
resource.
[16:16:35] ABILIS_CPX_3:a dev:adslusb-1
COMMAND EXECUTED
Add the IP resource IP-2
(subtype
:ppp
):
[16:16:35] ABILIS_CPX_3:a res:ip-2 subtype:dl
COMMAND EXECUTED
Associate the IP-2 resource to the
lowres
:adsl-1
and set up the
IP address and the NAT type
(outside
):
[16:16:35] ABILIS_CPX_3:s p ip-2 lowres:adsl-1 ipadd:61.61.61.61 mask:255.255.255.248 nat:outside descr:ADSL_line
COMMAND EXECUTED
Set up the encapsulation type (enc
), the
Virtual Path Identifier (VPI
) and the Virtual
Channel Identifier (VCI
) of the ADSL
line:
[16:16:35] ABILIS_CPX_3:s p ip-2 enc:rfc1483-llcmux vpi:8 vci:35
COMMAND EXECUTED
Set up the speedlimit with a speed slightly lower than the upload speed of the ADSL line:
[16:16:35] ABILIS_CPX_3:s p ip-2 outspl:yes outsp:240
COMMAND EXECUTED
Here it's the result of the configuration:
[16:16:35] ABILIS_CPX_3:d p ip-2
RES:Ip-2 - Not Saved (SAVE CONF) ----------------------------------------------
- IP over Dedicated Line (DL) ------------------------------------------
DESCR:ADSL_line
OPSTATE:UP LOG:NO STATE-DETECT:NORMAL
LOWRES:Adsl-1
ENC:RFC1483-LLCMUX
IPADD:061.061.061.061 MASK:255.255.255.248 NEIGH:000.000.000.000
REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO
NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:NO
OUTBUF:100 OUTQUEUE:FAIR MTU:1500
OUTSPL:YES OUTSP:240
INBUF:0 mru:1500 SRCV:NO
- TRFA section ---------------------------------------------------------
TRFA:NO
- Link -----------------------------------------------------------------
LLOG:DS LMPX:NO LCOMP:NO LCR:NO
LT1:1000 LT3:3000 LN2:3 LCRKEY:DFT
- ATM/ADSL -------------------------------------------------------------
VPI:8 VCI:35
RES:Adsl-1 - Not Saved (SAVE CONF) --------------------------------------------
------------------------------------------------------------------------
DESCR:
LOG:DS max-vc:1 aal5-max-payload:2100 aal5-payload-rxbuf:30
usb-rx-bufsize:1728 usb-rx-buf:3 usb-tx-bufsize:3200
Add a Packet Voice resource in Extended mode with ISDN backup:
[16:16:35] ABILIS_CPX_3:a res:pv-1 subtype:ip-bck
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:s p pv-1 mode:ext remport:3101 locipadd:61.61.61.61 remipadd:60.60.60.60 descr:To_Abilis_1
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:s p pv-1 brty:us bnrty:30 btb:10 sgi:abilis3-abilis1 sgo:abilis1-abilis3 cdo:0212345679
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:d p pv-1
RES:Pv-1 - Not Saved (SAVE CONF) ---------------------------------------------- - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) -------------- DESCR:To_Abilis_1 BCKRES:CtiSLink - Link ----------------------------------------------------------------- LLOG:DS LMPX:YES LC:YES LCOMP:NO LCR:NO LT1:3000 LT3:9000 LN2:3 LCRKEY:DFT - IP Tunnel ------------------------------------------------------------ TLOG:NO MODE:EXT D-TOS:0-N V-TOS:0-D C-TOS:0-D MPX:NO RS-BUF:10 D-TOUT:1000 V-TOUT:100 V-RED:NONE PATH:SINGLE LOCPORT:3101 REMPORT:3101 CR:NO CRKEY:DFT OUT-IP:AUTO LOCIPADD:061.061.061.061 REMIPADD:060.060.060.060 - Back-Up -------------------------------------------------------------- BRTY:US BNRTY:30 BTB:10 BAC:DOD DDT:220 VDT:10 UDT:NOMAX CDI:* CDO:0212345679 CGI:* CGO:# SDI:* SDO:# SGI:ABILIS3-ABILIS1 SGO:ABILIS1-ABILIS3
Tip | |
---|---|
Saving the configuration with save conf
command, the validation procedure will automatically change the
parameter |
Give the highest priority to the voice IP packets:
[16:16:35] ABILIS_CPX_3:s p iprtr acl:yes cos:enabled
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:a ipacl pr:0 type:permit ipcos:high tos-i:*-d prot:udp sa:* da:* sres:int spo:* dpo:*
COMMAND EXECUTED
ABILIS 1
Add a cluster for compressed calls towards Site 3:
[16:16:35] ABILIS_CPX_1:a cticl id:Site_3 descr:Compressed_phones_towards_Site_3
COMMAND EXECUTED
Add a CTI Link and
associate the Site_3
cluster to
PV-1
resource:
[16:16:35] ABILIS_CPX_1:a ctil id:2 res:pv-1 clus:Site_3
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:d ctil
- Not Saved (SAVE CONF) ------------------------------------------------------- Configured Links:1 Activated Links:8 ID: RES: CLUS: MAXBW: MAXCON: GROUP: (GROUP-MAXBW: GROUP-MAXCON:) ------------------------------------------------------------------------------- 1 ip-5 Site_2 NOMAX NOMAX NONE 2 pv-1 Site_3 NOMAX NOMAX NONE [16:16:35] ABILIS_CPX_1:d cticl
- Not Saved (SAVE CONF) ------------------------------------------------------- Configured Clusters:2 ---------+----------------------+---------+-----+-----------+------------------ CLUS: |[DESCR:] [Int] |CG-IN-REWRITE: |RG-IN: |SS: |LCS-GROUP: |CLIP-RULE: |NUM: |CPO: |NUMx: ---------+----------------------+---------+-----+-----------+------------------ Site_2 Compressed_phones_towards_Site_2 [ 1] - DISABLE NO NONE PRIVATE * NO ------------------------------------------------------------------------------- Site_3 Compressed_phones_towards_Site_3 [ 2] - DISABLE NO NONE PRIVATE * NO -------------------------------------------------------------------------------
Tip | |
---|---|
Remember to save the configuration with the save conf command. |
Add To_Site_3
list containing numbers to route
towards the tunnel:
[16:16:35] ABILIS_CPX_1:list create To_site_3 in Numbers_to_Site_3
COMMAND EXECUTED [16:16:35] ABILIS_CPX_1:a list:To_Site_3 045566*
COMMAND EXECUTED
Add a CTI routing for compressed calls directed to
“Site 3”, with next parameter set to
u
(unlimited) to route calls on ISDN lines in
case if it isn't possible to route them towards the Tunnel:
[16:16:35] ABILIS_CPX_1:a ctir pr:4 next:u poi:g1 out:Site_3 cdi:'To_Site_3'
COMMAND EXECUTED
Here it's the result of the configuration:
[16:16:35] ABILIS_CPX_1:d ctir
- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
Last change: 17/09/2015 08:36:47 CET
---+------+-----------------+---------+--------------------+--------------------
PR |[DESCR]
|BCI |POI |SR |GI |OUT |CDI |CDO
ACT|NEXT |LAST |EEC |T301|CGI |CGO
EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO
|SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO
| |BCO |RGI |RGO
|FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH
|CODERS
|CODERSOUT
|TI1 .. TI5
--------------------------------------------------------------------------------
0 DATA * # # Sl * *
--------------------------------------------------------------------------------
1 DATA Sl # # G2 * *
--------------------------------------------------------------------------------
2 VOICE # * # G1 'Node' *
--------------------------------------------------------------------------------
3 VOICE G1 # # Site_2 'To_Site_2' *
UNLIMITED ANY NO Dft * *
--------------------------------------------------------------------------------
4 VOICE G1 # # Site_3 'To_Site_3' *
UNLIMITED ANY NO Dft * *
--------------------------------------------------------------------------------
5 VOICE G1 # # G2 * *
--------------------------------------------------------------------------------
6 VOICE G2 # # G1 * *
--------------------------------------------------------------------------------
The configuration of CTI ports and CTI groups is identical to “Abilis 1”. For the remaining configuration, it's only needed to change the ISDN numbers.
Add To_Site_1
list containing numbers to route
towards the tunnel:
[16:16:35] ABILIS_CPX_3:list create To_Site_1 in Numbers_to_Site_1
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:a list:To_Site_1 0212345678
COMMAND EXECUTED
Add Node
list containing numbers of local
PBX:
[16:16:35] ABILIS_CPX_3:list create Node in Local_Numbers
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:a list:Node 045566*
COMMAND EXECUTED
Add a cluster for compressed calls towards “Site 1”:
[16:16:35] ABILIS_CPX_3:a cticl id:Site_1 descr:Compressed_phones_towards_Site_1
COMMAND EXECUTED
Add a CTI Link and associate the Site_1
cluster to PV-1
resource:
[16:16:35] ABILIS_CPX_3:a ctil id:1 res:pv-1 clus:Site_1
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:d ctil
- Not Saved (SAVE CONF) ------------------------------------------------------- Configured Links:1 Activated Links:8 ID: RES: CLUS: MAXBW: MAXCON: GROUP: (GROUP-MAXBW: GROUP-MAXCON:) ------------------------------------------------------------------------------- 1 pv-1 Site_1 NOMAX NOMAX NONE [16:16:35] ABILIS_CPX_3:d cticl
- Not Saved (SAVE CONF) ------------------------------------------------------- Configured Clusters:1 ---------+----------------------+---------+-----+-----------+------------------ CLUS: |[DESCR:] [Int] |CG-IN-REWRITE: |RG-IN: |SS: |LCS-GROUP: |CLIP-RULE: |NUM: |CPO: |NUMx: ---------+----------------------+---------+-----+-----------+------------------ Site_1 Compressed_phones_towards_Site_1 [ 1] - DISABLE NO NONE PRIVATE * NO -------------------------------------------------------------------------------
Add the following routings:
[16:16:35] ABILIS_CPX_3:a ctir pr:1 bci:data poi:Sl out:g2 cdi:*
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:a ctir pr:2 sr:* out:g1 cdi:'Node'
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:a ctir pr:3 next:u poi:g1 out:Site_1 cdi:'To_Site_1'
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:a ctir pr:4 poi:g1 out:g2 cdi:*
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:a ctir pr:5 poi:g2 out:g1 cdi:*
COMMAND EXECUTED [16:16:35] ABILIS_CPX_3:d ctir
- Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------------- Last change: 17/09/2015 08:36:47 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 DATA Sl # # G2 * * -------------------------------------------------------------------------------- 2 VOICE # * # G1 'Node' * -------------------------------------------------------------------------------- 3 VOICE G1 # # Site_1 'To_Site_1' * UNLIMITED ANY NO Dft * * -------------------------------------------------------------------------------- 4 VOICE G1 # # G2 * * -------------------------------------------------------------------------------- 5 VOICE G2 # # G1 * * --------------------------------------------------------------------------------
Tip | |
---|---|
Remember to save the configuration with the save conf command. |