Configuration Description
!Additional license required for Dial-up!
This example configuration can be used as a backup solution, in case a specific host in a specific network is not available anymore. In this case an ISDN Dial-up connection will be set up. The default route will be removed and the default route with the next higher metric will be used. This is done by the feature "link supervision" in addition with "dial-up". As soon as the specified host is available again, the Dial-up connection will be terminated. The traffic will be routed over the regular IP interface as it was initially. The default route with the lower metric is used again.
Relpace:
Z IP-Address WAN-port SmartNode Y IP-Address Specific host (which needs to be checked) X IP-Address default Gateway for Network Z W Username for Dial-up connection V Password for Dial-up connetion U Local e164 Number T Remote e164 Number to dial (ISP)
Command Sequence to copy, edit and paste
#----------------------------------------------------------------# # # # SN XXXX # # R5.X H323 SIP BRI # # # # Example configuration file # # # #----------------------------------------------------------------#
cli version 3.20 clock local offset +01:00 dns-relay webserver port 80 language en sntp-client server primary 129.132.2.21 port 123 version 4 system hostname Dialup__Unit
system
ic voice 0 low-bitrate-codec g729
system clock-source 1 bri 0 0
profile napt NAPT_WAN
profile ppp default
profile tone-set default
profile voip default codec 1 g711alaw64k rx-length 20 tx-length 20 codec 2 g711ulaw64k rx-length 20 tx-length 20 fax transmission 1 relay t38-udp modem transmission 1 bypass g711alaw64k modem bypass-method nse
profile pstn default
profile sip default
profile dhcp-server DHCPS_LAN network 192.168.1.0 255.255.255.0 include 1 192.168.1.10 192.168.1.99 lease 2 hours default-router 1 192.168.1.1 domain-name-server 1 192.168.1.1
profile aaa default method 1 local method 2 none
context ip router
interface WAN ipaddress unnumbered point-to-point use profile napt NAPT_WAN tcp adjust-mss rx mtu tcp adjust-mss tx mtu dial-up monitor interface IF_WAN dial delay 5 drop delay 10 queue-limit 4
interface LAN ipaddress 192.168.1.1 255.255.255.0 tcp adjust-mss rx mtu tcp adjust-mss tx mtu
interface IF_WAN ipaddress <ZZZZZZZ> <mask> use profile napt NAPT_WAN check-connectivity ping <YYYYYYY> tolerance-down 3 tolerance-up 1 timeout 3 interval 3
context ip router dhcp-server use profile DHCPS_LAN route 0.0.0.0 0.0.0.0 <XXXXXXX> 0 route 0.0.0.0 0.0.0.0 WAN 1
subscriber ppp Dialup dial out no multilink authentication chap authentication pap identification outbound <WWWWWWW> password <VVVVVVV> timeout idle 100 bind interface WAN router
context cs switch
interface isdn IF_BRI_00 route call dest-interface IF_SIP2
interface dialer IF_DIALUP
outbound 1 DialupNet local-e164 <UUUUUUU> remote-e164 <TTTTTTT> route call dest-interface IF_BRI_00 use profile ppp default encapsulation ppp bind subscriber Dialup
context cs switch no shutdown
port ethernet 0 0 medium auto encapsulation ip bind interface IF_WAN router no shutdown
port ethernet 0 1 medium auto encapsulation ip bind interface LAN router no shutdown
port bri 0 0 clock auto encapsulation q921
q921 uni-side user encapsulation q931
q931 protocol dss1 uni-side user bchan-number-order ascending encapsulation cc-isdn bind interface IF_BRI_00 switch
port bri 0 0 no shutdown
|