精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>网络专区>>● CISCO>>配置样例>>VPN-MPLS over pos SRP ATM CONFIG

主题:VPN-MPLS over pos SRP ATM CONFIG
发信人: v10198(梦泪)
整理人: firphoenix(2001-11-09 15:11:23), 站内信件
7200-eth--12000-pos--12000-ATM-12000-POS-12000--eth-7200
CE1          PE1           P1          P2            PE2       CE1  

interface Loopback0
 ip address 11.1.1.1 255.255.255.0
 no ip directed-broadcast
!
interface Loopback1
 ip address 11.2.1.1 255.255.255.0
 no ip directed-broadcast
!
interface Loopback2
 ip address 11.3.1.1 255.255.255.0
 no ip directed-broadcast
!
interface Ethernet1/0
 ip address 130.1.1.2 255.255.255.0
 no ip directed-broadcast
!
router rip
 version 2
 network 11.0.0.0
 network 130.1.0.0
 no auto-summary
!
ip classless
 

PE1 
ip vrf VPN1
 rd 200:1
 route-target export 200:1
 route-target import 200:1
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
 no ip directed-broadcast
!
!
interface POS3/3
 ip address 120.1.1.2 255.255.255.0
 no ip directed-broadcast
 load-interval 30
 tag-switching ip
 crc 32
 clock source internal
!
!         
interface Ethernet0
 ip vrf forwarding VPN1
 ip address 130.1.1.1 255.255.255.0
 no ip directed-broadcast
!
router ospf 100
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 120.1.1.0 0.0.0.255 area 0
!
router rip
 version 2
 network 130.1.0.0
 !
 address-family ipv4 vrf VPN1
 version 2
 redistribute bgp 100 metric 0
 network 130.1.0.0
 no auto-summary
 exit-address-family
!
router bgp 100
 bgp log-neighbor-changes
 neighbor 4.4.4.4 remote-as 200
 neighbor 4.4.4.4 ebgp-multihop 255
 neighbor 4.4.4.4 update-source Loopback0
 !
 
 address-family vpnv4
 neighbor 4.4.4.4 activate
 neighbor 4.4.4.4 send-community extended
 exit-address-family
 !
 !
 address-family ipv4 vrf VPN1
 redistribute rip
 no auto-summary
 no synchronization
 exit-address-family
!
ip classless

 

P1 
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
 no ip directed-broadcast
!
interface ATM7/0
 no ip address
 no ip directed-broadcast
 no atm enable-ilmi-trap
 no atm ilmi-keepalive
!
interface ATM7/0.1 point-to-point
 ip address 100.1.1.2 255.255.255.0
 no ip directed-broadcast
 no atm enable-ilmi-trap
 pvc 1/32 
 !
 tag-switching ip
!
interface POS0/0
 ip address 120.1.1.1 255.255.255.0
 no ip directed-broadcast
 tag-switching ip
 crc 32
!
router ospf 100
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 100.1.1.0 0.0.0.255 area 0
 network 120.1.1.0 0.0.0.255 area 0
!
!
ip classless

 

P2 
ip subnet-zero
!
interface ATM4/0
 no ip address
 no ip directed-broadcast
 atm sonet stm-4
 no atm enable-ilmi-trap
 no atm ilmi-keepalive
!
interface ATM4/0.1 point-to-point
 ip address 100.1.1.1 255.255.255.0
 no ip directed-broadcast
 no atm enable-ilmi-trap
 pvc 1/32 
 !
 tag-switching ip
!
interface SRP6/0
 ip address 110.1.1.1 255.255.255.0
 no ip directed-broadcast
 tag-switching ip
!
router ospf 100
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 100.1.1.0 0.0.0.255 area 0
 network 110.1.1.0 0.0.0.255 area 0
!
ip classless

 

PE2 
ip vrf VPN1
 rd 200:1
 route-target export 200:1
 route-target import 200:1
!
!
interface Loopback0
 ip address 4.4.4.4 255.255.255.255
 no ip directed-broadcast
!         

!         
interface SRP12/0
 ip address 110.1.1.2 255.255.255.0
 no ip directed-broadcast
 tag-switching ip
!
!
interface FastEthernet6/0
 ip vrf forwarding VPN1
 ip address 140.1.1.1 255.255.255.0
!
!
router ospf 100
 log-adjacency-changes
 network 4.4.4.4 0.0.0.0 area 0
 network 110.1.1.0 0.0.0.255 area 0
!
router rip
 version 2
 !
 address-family ipv4 vrf VPN1
 version 2
 redistribute bgp 200 metric 0
 network 140.1.0.0
 no auto-summary
 exit-address-family
!
router bgp 200
 bgp log-neighbor-changes
 neighbor 1.1.1.1 remote-as 100
 neighbor 1.1.1.1 ebgp-multihop 255
 neighbor 1.1.1.1 update-source Loopback0
 !
 !
 address-family vpnv4
 neighbor 1.1.1.1 activate
 neighbor 1.1.1.1 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf VPN1
 redistribute rip
 no auto-summary
 no synchronization
 exit-address-family
!
ip classless

 

CE2 
interface Loopback0
 ip address 22.1.1.1 255.255.255.0
 no ip directed-broadcast
!
interface Loopback1
 ip address 22.2.1.1 255.255.255.0
 no ip directed-broadcast
!
interface Loopback2
 ip address 22.3.1.1 255.255.255.0
 no ip directed-broadcast
!

interface FastEthernet2/0
 ip address 140.1.1.2 255.255.255.0
 no ip directed-broadcast
!
!
router rip
 version 2
 network 22.0.0.0
 network 140.1.0.0
 no auto-summary
!
ip classless
 



[关闭][返回]