手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网络知识>Cisco技术>列表

三网合一加MPLS配置实例

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

大家看看,砍不懂不要问我,请教高手!呵呵:-)
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

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!