频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

cisco路由--GW配置和GK配置

来源: 作者: 出处:巧巧读书 2007-10-28 进入讨论组

 

 今天整理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

 

转载保留:http://www.qqread.com/network/q17/v365225.html 更多文章 更多内容请看Cisco IOS技术手册路由安全配置专题Cisco路由器配置手册专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章