GW配置和GK配置

王朝other·作者佚名  2008-05-31
宽屏版  字体: |||超大  

今天整理CISCO的资料,发现一些东西,想到以后不用再做了,拿出来给大家把,这是我做CISCO三年来的总结。可能以后再也不会作了!!!谁要可以给我email。。。

GW配置

GW-GZ#show run

Building configuration...

Current configuration:

!

! Last configuration change at 14:53:31 UTC Sat Jan 1 2000 by cisco

! NVRAM config last updated at 14:42:05 UTC Sat Jan 1 2000 by cisco

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service passWord-encryption

!

hostname GW-GZ

!

aaa new-model

aaa authentication login h323 group radius

aaa authentication login no_rad local

aaa authorization exec h323 group radius

aaa accounting connection h323 start-stop group radius

enable secret 5 $1$Do8I$JbsgS2.d//KmrBHcAJqy2.

enable password cisco

!

username cisco password 0 cisco

!

resource-pool disable

!

!

clock calendar-valid

ip subnet-zero

no ip domain-lookup

!

mta receive maximum-recipients 0

!

!

controller E1 0

framing NO-CRC4

ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani

cas-custom 0

unused-abcd 0 1 1 1

country china

answer-signal group-b 1

dnis-digits min 1 max 18

!

controller E1 1

clock source line secondary 1

!

controller E1 2

clock source line secondary 2

!

controller E1 3

clock source line secondary 3

!

!

voice-port 0:0

echo-cancel coverage 32

cptone CN

timeouts call-disconnect 0

!

gw-accounting h323 vsa

dial-peer voice 797 pots

application clid_authen_npw

destination-pattern 0797T

direct-inward-dial

port 0:0

prefix 0797

!

dial-peer voice 80797 voip

destination-pattern 079T

session target ras

!

process-max-time 200

gateway

!

interface Ethernet0

no ip address

no ip redirects

no ip directed-broadcast

!

interface Serial0

no ip address

no ip directed-broadcast

no ip mroute-cache

shutdown

no fair-queue

clockrate 2015232

!

interface Serial1

no ip address

no ip directed-broadcast

shutdown

no fair-queue

clockrate 2015232

!

interface Serial2

no ip address

no ip directed-broadcast

shutdown

no fair-queue

clockrate 2015232

!

interface Serial3

no ip address

no ip directed-broadcast

shutdown

no fair-queue

clockrate 2015232

!

interface FastEthernet0

ip address 10.123.15.60 255.255.255.0

no ip directed-broadcast

duplex auto

speed auto

h323-gateway voip interface

h323-gateway voip id ganzhou ipaddr 10.123.15.69 1719

h323-gateway voip h323-id GZ.jx.cpn

h323-gateway voip tech-prefix 1#

!

no ip http server

ip classless

ip route 0.0.0.0 0.0.0.0 10.123.15.254

!

radius-server host 10.123.15.139 auth-port 1812 acct-port 1813

radius-server retransmit 2

radius-server timeout 4

radius-server key voip

radius-server vsa send accounting

radius-server vsa send authentication

!

line con 0

exec-timeout 0 0

transport input none

login authentication no_rad

line aux 0

line vty 0 4

exec-timeout 120 0

password cisco

login authentication no_rad

!

end

Active GK配置举例

GK-NC1#show run

Building configuration...

Current configuration:

!

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname GK-NC1

enable secret 5 $1$Do8I$JbsgS2.d//KmrBHcAJqy2

enable password cisco

!

!

memory-size iomem 25

ip subnet-zero

no ip domain-lookup

!

!

interface FastEthernet0/0

ip address 10.123.15.61 255.255.255.0

no ip redirects

duplex auto

speed auto

standby 1 priority 105 preempt

standby 1 ip 10.123.15.69

!

ip classless

ip route 0.0.0.0 0.0.0.0 10.123.15.254

no ip http server

!

!

!

gatekeeper

zone local nanchang jx.cpn 10.123.15.69

zone local ganzhou jx.cpn

zone prefix nangchang 0791*

zone prefix ganzhou 0797*

gw-type-prefix 1#* default-technology

arq reject-unknown-prefix

lrq reject-unknown-prefix

no shutdown

!

!

line con 0

exec-timeout 0 0

login

transport input none

line aux 0

line vty 0 4

exec-timeout 120 0

password cisco

login

!

end

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有