cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
726
Views
0
Helpful
4
Replies

Setting up a modem lab

ayen
Level 1
Level 1

All-

I intend to setup a simple modem lab as follows:

Modem lab.PNG

To simulate the POTS phone lines, instead of using POTS line simulator like virtual console, can I use one 2811 router with VIC2-2FXS module, any configuration suggestions will be appreciated.  Thanks for your input.

1 Accepted Solution

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni

Alan,

Happy New Year.
All the best for 2013.

Yes, this should be OK.
I take it that your router has a DSP like
a PVDM2-8 to cater for the FXS ports.

2 FXS ports and dial peers.

!
voice-port 0/0/0
desc *** LEFT HAND MODEM ***
cptone
!
!
voice-port 0/0/1
desc *** RIGHT HAND MODEM ***
cptone
!
!
dial-peer voice 100 pots
desc *** TO LEFT HAND MODEM ***
destination-pattern 7321111111
port 0/0/0
!
!
!
dial-peer voice 101 pots
desc *** TO RIGHT HAND MODEM ***
destination-pattern 2122222222
port 0/0/1
!

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

View solution in original post

4 Replies 4

acampbell
VIP Alumni
VIP Alumni

Alan,

Happy New Year.
All the best for 2013.

Yes, this should be OK.
I take it that your router has a DSP like
a PVDM2-8 to cater for the FXS ports.

2 FXS ports and dial peers.

!
voice-port 0/0/0
desc *** LEFT HAND MODEM ***
cptone
!
!
voice-port 0/0/1
desc *** RIGHT HAND MODEM ***
cptone
!
!
dial-peer voice 100 pots
desc *** TO LEFT HAND MODEM ***
destination-pattern 7321111111
port 0/0/0
!
!
!
dial-peer voice 101 pots
desc *** TO RIGHT HAND MODEM ***
destination-pattern 2122222222
port 0/0/1
!

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

Thanks a million Alex! I will test this out, will let you know if run into issues.

ayenatt08
Level 1
Level 1

Hi Alex

Thanks, the configuration has been tested good without issues; was able to dial out local to remote modem based on the dial-peer configuration.

Here are the configuration and hardware used:

Cisco 2811 - 512/128

IOS image: c2800nm-adventerprisek9_ivs-mz.151-4.M5.bin

PVDM2-32 (should be in PVDM0 slot) 

VIC2-2FXS on HWIC0

The configuration was pefect.

pstn#show run
Building configuration...


Current configuration : 1313 bytes
!
! Last configuration change at 22:23:24 UTC Wed Jan 9 2013
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname pstn
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
dot11 syslog
ip source-route
!
!
ip cef
!        
!
!
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!

!
redundancy
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!        
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
!
voice-port 0/0/0
description *** LEFT HAND MODEM ***
!
voice-port 0/0/1
description *** RIGHT HAND MODEM ***
!
voice-port 0/1/0
!
voice-port 0/1/1
!
!
!
mgcp profile default
!
!
dial-peer voice 100 pots
description *** TO LEFT HAND MODEM ***
destination-pattern 7321111111
port 0/0/0
!
dial-peer voice 101 pots
description *** TO RIGHT HAND MODEM ***
destination-pattern 2122222222
port 0/0/1
!
!
!
!
gatekeeper
shutdown
!
!
!        
line con 0
line aux 0
line vty 0 4
login
transport input all
!
scheduler allocate 20000 1000

Alan,

Great to hear it worked. 

Can you mark this case as answered

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: