Table Of Contents
Configuration Examples
Cisco 2600 Series Router Configuration Example
Cisco 3631 Router Configuration Example
Cisco 3725 Router Configuration Example
1-Port ADSL WAN Interface Card Configuration Examples
VoATM over AAL2 on the ATM Interface Configuration Example
VoATM over AAL5 on the ATM Interface Configuration Example
NM-AIC-64, Contact Closure NetworkConfiguration Examples
AIC IP Address Configuration Example
IP Route to the AIC Configuration Examples
With an Unnumbered IP Address
Without an Unnumbered IP Address
AIC CLI Configuration for Alarms
Discrete Alarm
Analog Alarm Monitoring Current
Analog Alarm Monitoring Current Configured as a Discrete
Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
Configuration in CPE Mode Example
Configuration in CO Mode Example
Configuration Examples
This appendix shows some examples of the configuration in the Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
Note
The MTU size for the NM-1GE module cannot be set to support jumbo frames on the Cisco 2691, Cisco 3725, or Cisco 3725 routers.
Cisco 2600 Series Router Configuration Example
Following is an example of a configuration on a Cisco 2600 series router.
The following configuration command script was created:
enable secret 5 $1$zxxT$YZMzUP1/wQvyLn5cWeyPu.
snmp-server community public
ip local pool setup_pool 172.20.30.40 172.20.30.88
username user password passwd
ip address 255.255.255.0 255.255.0.0
ip address 1.0.0.1 255.0.0.0
appletalk cable-range 3-3 3.3
ip address 255.255.255.1 255.255.0.0
ip address 2.0.0.1 255.0.0.0
appletalk cable-range 6-6 6.6
ip address 3.0.0.1 255.0.0.0
appletalk cable-range 8-8 8.8
encapsulation frame-relay
frame-relay lmi-type cisco
ip address 4.0.0.1 255.0.0.0
ip address 5.0.0.1 255.0.0.0
x25 map ipx 6.0.0.1 -2132065964
ip address 6.0.0.1 255.0.0.0
smds address c141.5556.1415
smds static-map ip 2.0.0.1 c141.5556.1414
smds static-map ipx 2.0.0.1 c141.5556.1414
ip address 172.22.50.10 255.255.0.0
dialer-list 1 protocol ip permit
dialer-list 1 protocol ipx permit
Following is an example of a configuration on the Cisco 2691 router.
C2691#show running-config
Building configuration...
Current configuration : 1143 bytes
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
ip host rtplab-dev 172.18.207.10
fax interface-type fax-mail
mta receive maximum-recipients 0
ds0-group 1 timeslots 1-24 type e&m-wink-start
interface FastEthernet0/0
ip address 172.18.193.171 255.255.255.0
interface FastEthernet0/1
ip address 50.0.0.4 255.0.0.0
ip route 172.18.207.0 255.255.255.0 172.18.193.1
session target ipv4:50.0.0.3
dtmf-relay h245-alphanumeric
Following is an example of a configuration on the Cisco 2620XM router:
Building configuration...
Current configuration : 588 bytes
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
fax interface-type fax-mail
mta receive maximum-recipients 0
interface FastEthernet0/0
ip address 111.0.0.29 255.255.255.0
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
Cisco 3631 Router Configuration Example
Following is an example of the configuration on the Cisco 3631 router equipped with the following modules:
•
IMA-8T1 in
•
NM-4A/S
•
WIC-2A/S
•
WIC-1DSU-56k4
Building configuration...
00:45:06: %SYS-5-CONFIG_I: Configured from console by console
Current configuration : 3095 bytes
! Last configuration change at 12:12:59 PDT Tue Dec 4 2001
! NVRAM config last updated at 12:12:26 PDT Tue Dec 4 2001
service timestamps debug uptime
service timestamps log uptime
service password-encryption
enable secret 5 $1$6UL.$w0aJJ5oZmIv1zRDl1RMvo/
username USER password 7 01030717481C091D25
x29 profile linemode 2:1 3:2 15:1
chat-script test "" "ATDT\T" TIMEOUT 120 CONNECT \c
interface FastEthernet0/0
description FAST ETHERNET INTERFACE
ip address x.x.x.x x.x.x.x
description WIC-1DSU-56k4
ip address x.x.x.x x.x.x.x
ip address x.x.x.x x.x.x.x
protocol clns 47.0004.004d.0056.0000.0c00.0003.00 broadcast
protocol ip 12.0.0.2 broadcast
description ATM-IMA GROUP
ip address x.x.x.x x.x.x.x
protocol clns 47.0004.004d.0056.0000.0c00.0002.00 broadcast
protocol ip 12.0.0.1 broadcast
ip address x.x.x.9 x.x.x.x
dialer map ip x.x.x.10 name USER modem-script test broadcast
dialer map ip x.x.x.10 name USER modem-script test broadcast
dialer load-threshold 5 either
redistribute connected subnets
network X.X.X.X 0.0.0.X area 3
snmp-server view cutdown internet included
snmp-server view cutdown at excluded
snmp-server community public view cutdown RO
snmp-server community private view cutdown RW
password 7 08314D5D1A0E0A0516
password 7 00141215174C04140B
Cisco 3725 Router Configuration Example
Following example shows the configurationon the Cisco 3725 router.
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
logging rate-limit console 10 except errors
ip host rtplab-tftp2 172.18.207.16
ip host rtplab-dev 172.18.207.10
no ip dhcp-client network-discovery
no mgcp timer receive-rtcp
mta receive maximum-recipients 0
interface FastEthernet0/0
ip address 172.18.197.74 255.255.255.252
interface FastEthernet0/1
ip address 2.2.2.2 255.0.0.0
interface FastEthernet1/0
ip address 1.1.1.1 255.0.0.0
interface FastEthernet1/1
ip address 3.3.3.3 255.0.0.0
ip kerberos source-interface any
ip route 172.18.0.0 255.255.0.0 FastEthernet0/0
snmp-server packetsize 4096
1-Port ADSL WAN Interface Card Configuration Examples
Following configuration examples are shown below:
•
VoATM over AAL2 on the ATM Interface Configuration Example
•
VoATM over AAL5 on the ATM Interface Configuration Example
VoATM over AAL2 on the ATM Interface Configuration Example
The following example shows VoATM over AAL2 on the ATM interface with an ADSL card:
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
ip host host2 225.255.255.224
no mgcp timer receive-rtcp
ds0-group 0 timeslots 1 type e&m-wink-start
ds0-group 1 timeslots 2 type e&m-wink-start
ds0-group 23 timeslots 24 type e&m-wink-start
ip address 1.6.46.119 255.255.255.224
ip address 10.1.1.1 255.0.0.0
protocol ip 10.1.1.2 broadcast
dsl operating-mode ansi-dmt
ip route 223.255.254.254 255.255.255.224 Ethernet0/0
snmp-server engineID local 000000090200003080477F20
dial-peer voice 3001 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 31
codec aal2-profile ITUT 1 g711ulaw
dial-peer voice 3002 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 32
codec aal2-profile custom 100 g726r32
dial-peer voice 3003 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 33
codec aal2-profile ITUT 7 g729abr8
dial-peer voice 3024 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 54
codec aal2-profile ITUT 7 g729abr8
VoATM over AAL5 on the ATM Interface Configuration Example
The following example shows a Cisco 2600 series router configured for VoATM over AAL5 on the ATM interface with an ADSL card.
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
logging rate-limit console 10 except errors
no mgcp timer receive-rtcp
ds0-group 0 timeslots 1-24 type e&m-wink-start
ip address 12.0.0.1 255.255.255.224
interface FastEthernet0/0
ip address 1.7.73.1 255.255.255.224
interface FastEthernet0/1
ip address 192.168.2.1 255.255.255.224
ip route 223.255.254.0 255.255.255.224 FastEthernet0/0
snmp-server engineID local 0000000902000002163DB260
snmp-server packetsize 4096
destination-pattern 777...
dial-peer voice 100 voatm
destination-pattern 888....
session target atm0/0 pvc 0/72
NM-AIC-64, Contact Closure NetworkConfiguration Examples
The following examples are documented below:
•
AIC IP Address Configuration Example
•
IP Route to the AIC Configuration Examples
–
With an Unnumbered IP Address
–
Without an Unnumbered IP Address
AIC CLI Configuration for Alarms
AIC IP Address Configuration Example
The following example shows a Cisco 3600 router configured for AIC IP address:
no service single-slot-reload-enable
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
logging rate-limit console 10 except errors
no ip dhcp-client network-discovery
call-history-mib max-size 50
ip address 10.5.37.13 255.255.0.0
ip helper-address 223.255.254.254
ip address 10.5.5.1 255.255.255.0
encapsulation frame-relay
frame-relay class voice-vc
frame-relay traffic-shaping
frame-relay map ip 10.5.5.2 990 broadcast
frame-relay interface-dlci 990
frame-relay intf-type dce
ip address 10.11.11.1 255.255.255.0
encapsulation frame-relay
frame-relay class voice-vc
frame-relay traffic-shaping
frame-relay interface-dlci 991
frame-relay intf-type dce
ip kerberos source-interface any
ip route 223.255.254.254 255.255.255.255 10.5.0.1
ip route 223.255.254.254 255.255.255.255 Ethernet0/0
map-class frame-relay voice-vc
no frame-relay adaptive-shaping
frame-relay voice bandwidth 500000
frame-relay ip rtp priority 16384 16383 512
map-class frame-relay fr1
no frame-relay adaptive-shaping
frame-relay voice bandwidth 1000000
map-class frame-relay voice-vc2
no frame-relay adaptive-shaping
frame-relay voice bandwidth 800000
map-class frame-relay voice-data
access-list 1 deny 192.200.1.20
access-list 2 deny 10.10.1.10
dialer-list 1 protocol ip permit
dialer-list 1 protocol ipx permit
snmp-server packetsize 4096
mgcp modem passthrough voip mode ca
no mgcp timer receive-rtcp
session target ipv4:10.2.81.1
playout-delay maximum 300
dial-peer voice 2000 voip
session target ipv4:5.5.5.2
playout-delay maximum 300
session target ipv4:10.2.83.30
playout-delay maximum 300
dial-peer voice 6001 pots
session target ipv4:10.2.79.55
playout-delay maximum 300
dial-peer voice 7001 pots
dial-peer voice 5000 voip
session target ipv4:10.11.11.2
playout-delay maximum 300
session target ipv4:10.11.11.2
playout-delay maximum 300
dial-peer voice 2001 voip
session target ipv4:10.2.79.7
playout-delay maximum 300
dial-peer voice 1000 voip
session target ipv4:10.2.81.6
playout-delay maximum 300
dial-peer voice 1001 voatm
dial-peer voice 1100 vofr
session target Serial0/0 990
IP Route to the AIC Configuration Examples
Following examples show the configuration of an IP route to the AIC with an unnumbered and numbered IP address.
With an Unnumbered IP Address
The following example shows a Cisco 3660 router, with an IP route to an AIC, is configured with an unnumbered IP address:
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
logging rate-limit console 10 except errors
interface FastEthernet0/0
ip address 10.2.130.2 255.255.0.0
ip unnumbered FastEthernet0/0
ip kerberos source-interface any
ip route 0.0.0.0 0.0.0.0 10.2.0.1
ip route 10.2.130.102 255.255.255.255 Serial5/0
Without an Unnumbered IP Address
The following example shows a Cisco 2621 router configured without an unnumbered IP address:
Building configuration...
Current configuration :1318 bytes
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
logging rate-limit console 10 except errors
no ip dhcp-client network-discovery
interface FastEthernet0/0
ip address 10.2.130.5 255.255.0.0
ip address 172.128.12.1 255.255.255.252
ip kerberos source-interface any
ip route 0.0.0.0 0.0.0.0 10.2.0.1
snmp-server packetsize 4096
AIC CLI Configuration for Alarms
These examples are output from the show alarm config # command.
Discrete Alarm
normal state description:door closed
alarm state description:door open
Analog Alarm Monitoring Current
high-high state description:very hot
high state description:hot
normal state description:just right
low state description:cold
low-low state description:very cold
current-loop -5.2 5.4 15.0 25.0 35.1 45.6
Analog Alarm Monitoring Current Configured as a Discrete
normal state description:door closed
alarm description:door open
SNMP trap:enabled
Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
The following configuration allows remote LANs and standalone remote users with modems to dial in to a central site.
The following configuration example shows a Cisco 3640 router with the following hardware configuration:
•
One 2-port ISDN-PRI network module installed in slot 1
•
One digital modem network module installed in slot 2 and slot 3
•
One 1-port Ethernet network module installed in slot 0
Note
Each MICA digital modem card has its own group async configuration. Additionally, a single range of async lines is used for each modem card. For additional interface numbering information, refer to the Digital Modem Network Module Configuration Note.
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
no service udp-small-servers
no service tcp-small-servers
aaa authentication login default local
aaa authentication login console enable
aaa authentication login vty local
aaa authentication login dialin local
aaa authentication ppp default local
aaa authentication ppp dialin if-needed local
username admin password cisco
username remotelan1 password dialpass1
username remotelan2 password dialpass2
username PCuser1 password dialpass3
username PCuser2 password dialpass4
async-bootp dns-server 10.1.3.1 10.1.3.2
isdn switch-type primary-5ess
ip address 10.1.2.254 255.255.255.0
ip address 10.1.1.10 255.255.255.0
ip summary address eigrp 10 10.1.2.0 255.255.255.0
isdn incoming-voice modem
isdn incoming-voice modem
peer default ip address pool dialin_pool
ppp authentication chap pap dialin
peer default ip address pool dialin_pool
ppp authentication chap pap dialin
peer default ip address pool dialin_pool
ppp authentication chap pap dialin
passive-interface Dialer0
ip local pool dialin_pool 10.1.2.1 10.1.2.50
ip default-gateway 10.1.1.1
dialer-list 1 protocol ip permit
login authentication console
login authentication dialin
login authentication dialin
login authentication console
transport input telnet rlogin
Configuration in CPE Mode Example
The following example shows a G.SHDSL configuration of VoATM over AAL2, operating in customer premises equipment (CPE) mode, on a Cisco 2600 series router. This router in CPE mode can be linked to either a DSLAM or to another router that is configured to operate in central office (CO) mode.
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
ip host host2 225.255.255.224
no mgcp timer receive-rtcp
ds0-group 0 timeslots 1 type e&m-wink-start
ds0-group 1 timeslots 2 type e&m-wink-start
ds0-group 23 timeslots 24 type e&m-wink-start
ip address 209.165.202.128 255.255.255.224
ip address 209.165.201.1 255.255.255.224
dsl operating-mode gshdsl symmetric annex A
protocol ip 209.165.202.159 broadcast
ip route 209.165.202.128 255.255.255.224 Ethernet0/0
snmp-server engineID local 000000090200003080477F20
dial-peer voice 3001 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 31
codec aal2-profile ITUT 1 g711ulaw
dial-peer voice 3002 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 32
codec aal2-profile custom 100 g726r32
dial-peer voice 3003 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 33
codec aal2-profile ITUT 7 g729abr8
dial-peer voice 3024 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 54
codec aal2-profile ITUT 7 g729abr8
Configuration in CO Mode Example
The following example shows a G.SHDSL configuration of VoATM over AAL2, operating in central office (CO) mode, on a Cisco 2600 series router. This router in CO mode can be linked to another router that is configured to operate in CPE mode.
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
ip host host2 225.255.255.224
no mgcp timer receive-rtcp
ds0-group 0 timeslots 1 type e&m-wink-start
ds0-group 1 timeslots 2 type e&m-wink-start
ds0-group 23 timeslots 24 type e&m-wink-start
ip address 209.165.202.128 255.255.255.224
ip address 209.165.201.1 255.255.255.224
dsl operating-mode gshdsl symmetric annex A
protocol ip 209.165.202.159 broadcast
ip route 209.165.202.128 255.255.255.224 Ethernet0/0
snmp-server engineID local 000000090200003080477F20
dial-peer voice 3001 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 31
codec aal2-profile ITUT 1 g711ulaw
dial-peer voice 3002 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 32
codec aal2-profile custom 100 g726r32
dial-peer voice 3003 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 33
codec aal2-profile ITUT 7 g729abr8
dial-peer voice 3024 voatm
session protocol aal2-trunk
session target ATM0/1 pvc 10/100 54
codec aal2-profile ITUT 7 g729abr8