分享
 
 
 

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有