无锡广电ATM采用双星型的拓扑结构,骨干交换速率为622Mbps。为了开通MPLS VPN,对骨干线路的速率进行了划分:400Mbps用于专线联网,200Mbps用于IP业务。
BGP/MPLS VPN的实现
1.LSC的设置: LSCgd(广电机房)配置…… interface XTagATM41 description to 机房1 ip address 10.10.4.17 255.255.255.252 no ip directed-broadcast no ip route-cache cef extended-port ATM1/0 bpx 4.1 tag-switching ip! router ospf 1 network 10.10.0.0 0.0.255.255 area 0 通过以上配置,每一个LSC通过OSPF协议,可以学习到PE路由器之间的路由,如: LSCgd#sh ip route include XTagATM41 O 10.10.5.5/32 [110/2] via 10.10.4.18, 00:08:42, XTagATM41 O 10.10.3.0/24 [110/2] via 10.10.4.18, 00:08:42, XTagATM41 O 10.10.3.16/30 [110/3] via 10.10.4.18, 00:08:42, XTagATM41 C 10.10.4.16/30 is directly connected, XTagATM41 O 10.10.5.69/32 [110/3] via 10.10.4.18, 00:08:42, XTagATM41 |
2.RPM的设置
RPMgd(机房1)设置 interface Loopback0 ip address 10.10.5.65 255.255.255.255 ;广电中心的环回IP地址 ! ip vrf VPN1 ;定义运营商VPN rd 100:1 ;定义VPN号 route-target export 100:1 ;允许输出路由交换的VPN号 route-target import 100:1 ;允许输入路由交换的VPN号 ip cef! interface FastEthernet1/1.201 description to 江阴分公司 encapsulation isl 201 ip vrf forwarding VPN1 ip address 172.16.9.17 255.255.255.252 ;与分公司的互连IP地址 no ip redirects no ip mroute-cache! router bgp 65000 address-family ipv4 vrf VPN1 redistribute connected metric 88 ;重分配互连地址172.16.9.16/30 no auto-summary ;取消自动汇总 no synchronization ;采用全IBGP,所以可以取消同步 exit-address-family ! address-family vpnv4 neighbor 10.10.5.69 activate neighbor 10.10.5.69 route-reflector-client ;定义广电中心RPM为路由反射器 neighbor 10.10.5.69 send-community extended no auto-summary exit-address-family |
通过以上配置,实现了江阴分公司与该公司总部的通讯 |