MAX TNT配置
新开一条PSTN中继
dir e1à read e1 {1 1 1}à listà list line-interface
set enabled=yes
set frame-type=2ds
set signaling-mode=e1-chinese-signaling
set default-call-type=voice
set switch-type=switch-cas
set number-complete=3-digits
set group-b-answer-signal=signal-b-1
set group-b-busy-signal=signal-b-4
set group-ii-signal=signal-ii-3
set answer-delay=100
set caller-id=get-caller-id
wr
新开一条ISDN PRI中继:
dir e1à read e1 {1 2 1}à listà list line-interface
set enabled=yes
set frame-type=2ds/g703
set signaling-mode=isdn
set default-call-type=digital
set switch-type=net5-pri
wr
Ethernet/Fast Ethernet (配置以太网卡)
Dir ip-inà read ip-in {{1 3 4}0}à list
Set ip-address=x.x.x.x/27
Set netmask=255.255.255.224
Set directed-broadcast-allowed=yes
Wr
IP-Global (系统IP地址,IP POOL和TELNET PASSWORD)
Read ip-globalà list
Set dns-primary-server=x.x.x.x
Set dns-secondary-server=x.x.x.x
Set system-ip-addr=x.x.x.x (对应以太网卡地址)
Set must-accept-address-assign=yes
Set pool-chaining=yes
Set shared-prof=yes
Set telnet-password=xxdcb
List pool-base-address
Set 1=x.x.x.x
Set 2=x.x.x.x (IP POOLS开始地址。如IP地址段不连续,可用POOL 1,2,3…进行分段)
Lis ..
Lis assign-count
Set 1=x
Set 2=y (IP POOL连续地址的数量)
Wr
5. IP-Route (缺省GATEWAY)
read ip-route default
list
set default-gateway-address=x.x.x.x
set metric=1
set active-route=yes
wr
6. System
read system
list
set parallel-dialing=15
set single-file-incoming=no
wr
7. Users
dir user
read user admin
list
set password=*******
set code=yes
wr
8. Answer default
read answer
list
set profiles-required=no
set use-answer-for-all-default=yes
list ppp-answer
set enabled=yes
set receive-auth-mode=pap-ppp-auth
list ..
lis ip-answer
set enabled=yes
set vj-header-prediction=yes
set assign-address=yes
set routing-metric=1
wr
9. Terminal-Server
read terminal-server
list
set enable=yes
set security-mode=full
list modem-config
set modem-transmit-level=-15-db-mdm-trn-level
list ..
list ppp-mode-configuration
set ppp=yes
set delay=1
set direct=yes
list ..
list terminal-mode-configuration
set banner=’ ‘
wr
10. Radius
read external-auth
list
set auth-type=RADIUS
set acct-type=radius
set rad-id-space=unified
set rad-id-source-unique=system-unique
list rad-auth-client
set auth-server-1=x.x.x.x
set auth-port=1645
set auth-key=*****
set auth-pool=no
set auth-timeout=20
set auth-TS-secure=yes
set auth-Send67=no
set auth-frm-adr-start=no
set auth-id-max-retry-time=3
list ..
list rad-acct-client
set acct-server-1=x.x.x.x
set acct-port=1646
set acct-key=*****
set acct-limit-retry=3
set act-timeout=20
wr