All pastes #2121371 Raw Edit

Mine

public text v1 · immutable
#2121371 ·published 2012-02-24 19:27 UTC
rendered paste body
Router A:


!
! Last configuration change at 19:22:24 UTC Fri Feb 24 2012
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname A
!
boot-start-marker
boot-end-marker
!
vrf definition FOO
 rd 8607:301582
 vpn id 8607:582
 route-target export 8607:582
 route-target import 8607:582
 route-target import 8607:140
 !
 address-family ipv4
 export map management-leak
 exit-address-family
!
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ipv6 cef
!
!
mpls label protocol ldp
multilink bundle-name authenticated
!
!
!
!
! 
!
!
!
!         
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Loopback582
 vrf forwarding FOO
 ip address 172.16.255.248 255.255.255.255
!
interface FastEthernet0/0
 ip address 10.0.0.1 255.255.255.252
 ip router isis 
 duplex half
 mpls ip
!
router isis
 net 49.8426.0200.0010.0100.1000
 passive-interface Loopback0
!
router bgp 8607
 bgp router-id 1.1.1.1
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 8607
 neighbor 2.2.2.2 update-source Loopback0
 !
 address-family ipv4
  no synchronization
  neighbor 2.2.2.2 activate
  no auto-summary
 exit-address-family
 !
 address-family vpnv4
  neighbor 2.2.2.2 activate
  neighbor 2.2.2.2 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf FOO
  no synchronization
  redistribute connected
  redistribute static
 exit-address-family
!
!
!
no ip http server
no ip http secure-server
!         
!
mpls ldp router-id Loopback0
!
!
control-plane
!
!
line con 0
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login
!
end

A#show ver | in SRE5
Cisco IOS Software, 7200 Software (C7200-ADVENTERPRISEK9-M), Version 12.2(33)SRE5, RELEASE SOFTWARE (fc1)

A#show ip vrf detail FOO
VRF FOO (VRF Id = 1); default RD 8607:301582; default VPNID 8607:582
  Interfaces:
    Lo582                   
VRF Table ID = 1
  Export VPN route-target communities
    RT:8607:582             
  Import VPN route-target communities
    RT:8607:582              RT:8607:140             
  No import route-map
  Export route-map: management-leak
  VRF label distribution protocol: not configured
  VRF label allocation mode: per-prefix


A#show mpls forwarding-table 
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
16         Pop Label  2.2.2.2/32       0             Fa0/0      10.0.0.2    
17         Pop Label  172.16.255.248/32[V]   \
                                       1000          aggregate/FOO 



A#ping vrf FOO 172.16.254.248

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.254.248, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/16 ms


Router B:

!
! Last configuration change at 19:22:07 UTC Fri Feb 24 2012
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname B
!
boot-start-marker
boot-end-marker
!
vrf definition FOO
 rd 8607:301582
 vpn id 8607:582
 route-target export 8607:582
 route-target import 8607:582
 route-target import 8607:140
 !
 address-family ipv4
 exit-address-family
!         
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ipv6 cef
!
!
mpls label protocol ldp
multilink bundle-name authenticated
!
!
!
!
! 
!
!
!
!
!         
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface Loopback582
 vrf forwarding FOO
 ip address 172.16.254.248 255.255.255.255
!
interface FastEthernet0/0
 ip address 10.0.0.2 255.255.255.252
 ip router isis 
 duplex half
 mpls ip
!
router isis
 net 49.8426.0200.0020.0200.2000
 passive-interface Loopback0
!
router bgp 8607
 bgp router-id 2.2.2.2
 bgp log-neighbor-changes
 neighbor 1.1.1.1 remote-as 8607
 neighbor 1.1.1.1 update-source Loopback0
 !        
 address-family ipv4
  no synchronization
  neighbor 1.1.1.1 activate
  no auto-summary
 exit-address-family
 !
 address-family vpnv4
  neighbor 1.1.1.1 activate
  neighbor 1.1.1.1 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf FOO
  no synchronization
  redistribute connected
  redistribute static
 exit-address-family
!
!
!
no ip http server
no ip http secure-server
!
!         
mpls ldp router-id Loopback0
!
!
control-plane
!
!
line con 0
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login
!
end

B#    show ver | in SRE5
Cisco IOS Software, 7200 Software (C7200-ADVENTERPRISEK9-M), Version 12.2(33)SRE5, RELEASE SOFTWARE (fc1)

B#show ip vrf detail FOO
VRF FOO (VRF Id = 1); default RD 8607:301582; default VPNID 8607:582
  Interfaces:
    Lo582                   
VRF Table ID = 1
  Export VPN route-target communities
    RT:8607:582             
  Import VPN route-target communities
    RT:8607:582              RT:8607:140             
  No import route-map
  No export route-map
  VRF label distribution protocol: not configured
  VRF label allocation mode: per-prefix


B#show mpls forwarding-table 
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop    
Label      Label      or Tunnel Id     Switched      interface              
16         Pop Label  1.1.1.1/32       0             Fa0/0      10.0.0.1    
17         Pop Label  172.16.254.248/32[V]   \
                                       1500          aggregate/FOO 


B#ping vrf FOO 172.16.255.248

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.255.248, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/20 ms