频 道 直 达 - 新闻 - 读书 - 培训 - 教程 - 前沿 - 组网 - 系统应用 - 安全 - 编程 - 存储 - 操作系统 - 数据库 - 服务器 - 专题 - 产品 - 案例库 - 技术圈 - 博客 - BBS
51CTO.COM_中国领先的IT技术网站
找资料:

三网合一加MPLS配置实例

作者: 出处:cisco.com  (  ) 砖  (  ) 好  评论 ( ) 条  进入论坛
更新时间:2006-07-03 09:40
关 键 词:MPLS
阅读提示:三网合一加MPLS配置实例
hxga-rt-1#sh run 
Building configuration...
Current configuration : 8247 bytes 
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname hxga-rt-1
!
enable secret 5 $1$TJPE$rfRAoWFHEgXux9NegxTe7/
!
voice-card 1
!
ip subnet-zero
!
!
ip domain-name gong'an.net
!
!
ip vrf fy
rd 100:3
route-target export 100:3
route-target import 100:3
!
ip vrf ga
rd 100:1
route-target export 100:1
route-target import 100:1
!
ip vrf jc
rd 100:4
route-target export 100:4
route-target import 100:4
!
ip vrf video
rd 100:2
route-target export 100:2
route-target import 100:2
ip cef
!
!
voice class codec 88
codec preference 1 g729br8 bytes 50
codec preference 3 g729r8 bytes 50
codec preference 5 g723ar53
codec preference 6 g723ar63 bytes 144
codec preference 7 g723r53
codec preference 8 g723r63 bytes 120
!
!
!
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
controller E1 0/0
channel-group 0 timeslots 1-31
description hxga to qhgat 2M
!
controller E1 0/1
channel-group 0 timeslots 1-31
description hxga to hxfy 2M
!
controller E1 0/2
channel-group 0 timeslots 1-31
description hxga to hxjc 2M
!
controller E1 1/0
framing NO-CRC4
ds0-group 0 timeslots 1-15 type r2-digital r2-compelled ani
ds0-group 1 timeslots 17-31 type r2-digital r2-compelled ani
cas-custom 0
unused-abcd 0 1 1 1
country china use-defaults
answer-signal group-b 1
cas-custom 1
unused-abcd 0 1 1 1
country china use-defaults
answer-signal group-b 1
!
!
!
!
interface Loopback0
description hxga-rt-1-id
ip address 10.192.151.6 255.255.255.255
h323-gateway voip interface
h323-gateway voip id gong'an ipaddr 10.192.151.2 1719
h323-gateway voip h323-id hxga-rt-1
h323-gateway voip tech-prefix 1#
!
interface FastEthernet0/0
description hxga lan
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.2
encapsulation dot1Q 2
ip vrf forwarding ga
ip address 10.194.121.100 255.255.255.0
!
interface FastEthernet0/0.3
description hxga video
encapsulation dot1Q 3
ip vrf forwarding video
ip address 10.192.2.65 255.255.255.240
!
interface Serial0/0:0
ip address 10.192.16.22 255.255.255.252
tag-switching ip
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.1
encapsulation dot1Q 3
ip address 10.194.237.9 255.255.255.252
!
interface FastEthernet0/1.2
encapsulation dot1Q 2
ip vrf forwarding ga
ip address 10.194.237.21 255.255.255.252
!
interface Serial0/1:0
no ip address
encapsulation frame-relay
!
interface Serial0/1:0.1 point-to-point
ip address 10.194.237.1 255.255.255.252
frame-relay interface-dlci 23
!
interface Serial0/1:0.2 point-to-point
ip vrf forwarding fy
ip address 10.194.237.13 255.255.255.252
frame-relay interface-dlci 24
!
interface Serial0/2:0
no ip address
encapsulation frame-relay
!
interface Serial0/2:0.1 point-to-point
ip address 10.194.237.5 255.255.255.252
tag-switching ip
frame-relay interface-dlci 25
!
interface Serial0/2:0.2 point-to-point
ip vrf forwarding jc
ip address 10.194.237.17 255.255.255.252
frame-relay interface-dlci 26
!
router ospf 1
log-adjacency-changes
network 10.192.16.22 0.0.0.0 area 0
network 10.192.151.6 0.0.0.0 area 0
network 10.194.237.1 0.0.0.0 area 4
network 10.194.237.5 0.0.0.0 area 4
network 10.194.237.9 0.0.0.0 area 4
!
router ospf 2 vrf ga
log-adjacency-changes
redistribute bgp 1 metric-type 1 subnets
network 10.194.121.100 0.0.0.0 area 0
network 10.194.237.21 0.0.0.0 area 0
!
router ospf 3 vrf fy
log-adjacency-changes
redistribute bgp 1 metric-type 1 subnets
network 10.194.237.13 0.0.0.0 area 0
!
router ospf 4 vrf jc
log-adjacency-changes
redistribute bgp 1 metric-type 1 subnets
network 10.194.237.17 0.0.0.0 area 0
!
router ospf 5 vrf video
log-adjacency-changes
redistribute bgp 1 metric-type 1 subnets
network 10.192.2.65 0.0.0.0 area 0
!
router bgp 1
no synchronization
bgp log-neighbor-changes
neighbor 10.192.151.1 remote-as 1
neighbor 10.192.151.1 update-source Loopback0
no auto-summary
!
address-family ipv4 vrf video
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf jc
redistribute connected
redistribute ospf 4
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf ga
redistribute connected
redistribute ospf 2
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf fy
redistribute connected
redistribute ospf 3
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 10.192.151.1 activate
neighbor 10.192.151.1 next-hop-self
neighbor 10.192.151.1 send-community both
no auto-summary
exit-address-family
!
ip classless
ip http server
ip pim bidir-enable
!
!
!
!
call rsvp-sync
!
voice-port 1/0:0
cptone CN
!
voice-port 1/0:1
cptone CN
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 80000 pots
incoming called-number .T
direct-inward-dial
port 1/0:0
!
dial-peer voice 80001 pots
destination-pattern 9463T
port 1/0:1
!
dial-peer voice 80002 voip
destination-pattern 9462T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80003 voip
destination-pattern 9463T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80004 voip
destination-pattern 9464T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80005 voip
destination-pattern 9465T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80006 voip
destination-pattern 9466T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80007 voip
destination-pattern 9467T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80008 voip
destination-pattern 9468T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80009 voip
destination-pattern 9471T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80010 voip
destination-pattern 9472T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80011 voip
destination-pattern 9473T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80012 voip
destination-pattern 9474T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80013 voip
destination-pattern 9475T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80014 voip
destination-pattern 9476T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80015 voip
destination-pattern 9477T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80016 voip
destination-pattern 9478T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80017 voip
destination-pattern 9479T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80018 voip
destination-pattern 9111T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80019 voip
destination-pattern 9461T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
dial-peer voice 80020 voip
destination-pattern 6666T
voice-class codec 88
session target ras
dtmf-relay cisco-rtp h245-signal h245-alphanumeric
fax rate 9600
!
gateway
!
!
line con 0
line aux 0
line vty 0 4
password
login
!
!
end
hxga-rt-1#
  
 
(责任编辑: 51CTO.com TEL:010-68476606)

发表
查看
我也说两句

匿名发表

(如果看不清请点击图片进行更换)


中 国 领 先 的 IT 技 术 网 站 ·
技 术 成 就 梦 想
·路由器设置与口令恢复 (查看60640次)
·常用交换机典型配置 (查看36407次)
·网络管理员考试全真模拟试题(八.. (查看32855次)
·三层交换技术专题 (查看28555次)
·子网掩码教程 (查看25829次)
订阅技术快讯
电子杂志下载
名称:网络安全精品应用黄皮书
简介:《2007精品网络安全黄皮书》包括了9个大类24个小类, 800余篇文章,内容包含了熊猫烧香病毒、DDOS攻击、ARP病等热点问题的介绍及解决方案。从病毒查杀、防范、系统、数据等各方面的安全设置到黑客技术的了解、防范,涉及到了安全应用的全部领域, 由浅至深内容全面。
名称:Vista精品应用黄皮书
简介:《Vista精品应用黄皮书》囊括了Vista的各方面内容。此次的精简版,是将里面的内容做了提取,便于用户下载和使用。内容包含了各种Vista的安装与实施、技巧与解析以及各种Vista相关学习文档和相关软件的安全下载。该电子书是了解和应用Vista人员必备的工具手册,并且也是第一本
名称:2006中国IT论坛精品集合
简介:本书由“51CTO论坛推广联盟”制作完成。书中所有内容均来自各联盟成员的论坛(网站)。制作本书的目的是为了集中大家的优势资源,将更多更精彩的内容带给广大技术爱好者。本书是联盟成立以来制作的第一本书。
关键字阅读
频道精选
主编信箱 热线:010-66476606 告诉我们您想看的:专题 文章
关于我们 | 诚聘英才 | 联系我们 | 网站大事 | 意见反馈 | 网站地图
Copyright©2005-2007 51CTO.COM 版权所有