BGP with IPv6 Addresses. Injecting BGP routes in OSPF

  • 0
AIRTEL#sh run
Building configuration...

Current configuration : 2581 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname AIRTEL
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip source-route
no ip icmp rate-limit unreachable
!
!
!
!
ip cef
no ip domain lookup
ipv6 unicast-routing
no ipv6 traffic interface-statistics
ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Ethernet0/0
 description "IKF_CORE"
 ip address 1.4.0.1 255.255.255.252
 ipv6 address 2401:AF:1:1:1:1:1:1/126
!
interface Ethernet0/1
 no ip address
 shutdown
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Serial2/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/3
 no ip address
 shutdown
 serial restart-delay 0
!
router bgp 1400
 bgp log-neighbor-changes
 neighbor 1.4.0.2 remote-as 1300
 neighbor 1.4.0.2 description IKF_CORE
 neighbor 2401:AF:1:1:1:1:1:2 remote-as 1300
 !
 address-family ipv4
  no synchronization
  neighbor 1.4.0.2 activate
  neighbor 2401:AF:1:1:1:1:1:2 activate
  no auto-summary
 exit-address-family
 !
 address-family ipv6
  network 2401:AF:1:1::/64
  network 2401:AF:1:2::/64
  network 2401:AF:1:3::/64
  network 2401:AF:1:4::/64
  neighbor 2401:AF:1:1:1:1:1:2 activate
  neighbor 2401:AF:1:1:1:1:1:2 soft-reconfiguration inbound
 exit-address-family
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
ipv6 route 2401:AF:1:1::/64 Null0
ipv6 route 2401:AF:1:2::/64 Null0
ipv6 route 2401:AF:1:3::/64 Null0
ipv6 route 2401:AF:1:4::/64 Null0
!
!
!
!
!
!
control-plane
!
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line vty 0 4
 login
!
exception data-corruption buffer truncate
end

AIRTEL#

AIRTEL#sh bgp ipv6 unicast neighbors 2401:AF:1:1:1:1:1:2 received-routes
BGP table version is 9, local router ID is 1.4.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network          Next Hop            Metric LocPrf Weight Path
*> 2404:CF40:1::/64 2401:AF:1:1:1:1:1:2
                                             0             0 1300 i
*> 2404:CF40:2::/64 2401:AF:1:1:1:1:1:2
                                             0             0 1300 i
*> 2404:CF40:3::/64 2401:AF:1:1:1:1:1:2
                                             0             0 1300 i
*> 2404:CF40:4::/64 2401:AF:1:1:1:1:1:2
                                             0             0 1300 i
Total number of prefixes 4
AIRTEL#sh bgp ipv6 unicast neighbors 2401:AF:1:1:1:1:1:2 advertised-routes
BGP table version is 9, local router ID is 1.4.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Originating default network ::/0
   Network          Next Hop            Metric LocPrf Weight Path
*> 2401:AF:1:1::/64 ::                       0         32768 i
*> 2401:AF:1:2::/64 ::                       0         32768 i
*> 2401:AF:1:3::/64 ::                       0         32768 i
*> 2401:AF:1:4::/64 ::                       0         32768 i
Total number of prefixes 4
AIRTEL#



IKF_CORE#sh run
Building configuration...

Current configuration : 2922 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname IKF_CORE
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip source-route
no ip icmp rate-limit unreachable
!
!
 --More--
*Apr 26 16:07:31.791: %SYS-5-CONFIG_I: Configured from console by console
!
!
ip cef
no ip domain lookup
ipv6 unicast-routing
no ipv6 traffic interface-statistics
ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
 ip address 1.3.0.1 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
!
interface Ethernet0/0
 ip address 1.3.1.1 255.255.255.252
 ip ospf 1 area 0
 ipv6 address 2404:CF40:1:1:1:1:1:1/126
 ipv6 ospf 1 area 0
!
interface Ethernet0/1
 description AIRTEL
 ip address 1.4.0.2 255.255.255.252
 ipv6 address 2401:AF:1:1:1:1:1:2/126
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Serial2/0

IKF_CORE#
IKF_CORE#sh run
Building configuration...

Current configuration : 2922 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname IKF_CORE
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip source-route
no ip icmp rate-limit unreachable
!
!
!
!
ip cef
no ip domain lookup
ipv6 unicast-routing
no ipv6 traffic interface-statistics
ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
 ip address 1.3.0.1 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
!
interface Ethernet0/0
 ip address 1.3.1.1 255.255.255.252
 ip ospf 1 area 0
 ipv6 address 2404:CF40:1:1:1:1:1:1/126
 ipv6 ospf 1 area 0
!
interface Ethernet0/1
 description AIRTEL
 ip address 1.4.0.2 255.255.255.252
 ipv6 address 2401:AF:1:1:1:1:1:2/126
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Serial2/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/3
 no ip address
 shutdown
 serial restart-delay 0
!
router ospf 1
 log-adjacency-changes detail
 redistribute bgp 1300
!
router bgp 1300
 bgp log-neighbor-changes
 neighbor 1.4.0.1 remote-as 1400
 neighbor 2401:AF:1:1:1:1:1:1 remote-as 1400
 neighbor 2401:AF:1:1:1:1:1:1 description AIRTEL
 !
 address-family ipv4
  no synchronization
  neighbor 1.4.0.1 activate
  neighbor 2401:AF:1:1:1:1:1:1 activate
  no auto-summary
 exit-address-family
 !
 address-family ipv6
  network 2404:CF40:1::/64
  network 2404:CF40:2::/64
  network 2404:CF40:3::/64
  network 2404:CF40:4::/64
  neighbor 2401:AF:1:1:1:1:1:1 activate
  neighbor 2401:AF:1:1:1:1:1:1 soft-reconfiguration inbound
 exit-address-family
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
ipv6 route 2404:CF40:1::/64 Null0
ipv6 route 2404:CF40:2::/64 Null0
ipv6 route 2404:CF40:3::/64 Null0
ipv6 route 2404:CF40:4::/64 Null0
ipv6 router ospf 1
 log-adjacency-changes
 redistribute bgp 1300
!
!
!
!
!
!
!
control-plane
!
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line vty 0 4
 login
!
exception data-corruption buffer truncate
end

IKF_CORE#

IKF_CORE#sh ipv6 route
IPv6 Routing Table - default - 14 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - Neighbor Discovery
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
B   2401:AF:1:1::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:400, Ethernet0/1
C   2401:AF:1:1:1:1:1:0/126 [0/0]
     via Ethernet0/1, directly connected
L   2401:AF:1:1:1:1:1:2/128 [0/0]
     via Ethernet0/1, receive
B   2401:AF:1:2::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:400, Ethernet0/1
B   2401:AF:1:3::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:400, Ethernet0/1
B   2401:AF:1:4::/64 [20/0]
     via FE80::A8BB:CCFF:FE00:400, Ethernet0/1
S   2404:CF40:1::/64 [1/0]
     via Null0, directly connected
C   2404:CF40:1:1:1:1:1:0/126 [0/0]
     via Ethernet0/0, directly connected
L   2404:CF40:1:1:1:1:1:1/128 [0/0]
     via Ethernet0/0, receive
O   2404:CF40:1:1:1:1:1:8/126 [110/20]
     via FE80::A8BB:CCFF:FE00:100, Ethernet0/0
S   2404:CF40:2::/64 [1/0]
     via Null0, directly connected
S   2404:CF40:3::/64 [1/0]
     via Null0, directly connected
S   2404:CF40:4::/64 [1/0]
     via Null0, directly connected
L   FF00::/8 [0/0]
     via Null0, receive
IKF_CORE#


IKF_AGGREGATION#sh run
Building configuration...

Current configuration : 2191 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname IKF_AGGREGATION
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip source-route
no ip icmp rate-limit unreachable
!
!
!
!
ip cef
no ip domain lookup
ipv6 unicast-routing
no ipv6 traffic interface-statistics
ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
 ip address 1.3.0.2 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
!
interface Ethernet0/0
 ip address 1.3.1.2 255.255.255.252
 ip ospf 1 area 0
 ipv6 address 2404:CF40:1:1:1:1:1:2/126
 ipv6 ospf 1 area 0
!
interface Ethernet0/1
 ip address 1.3.1.5 255.255.255.252
 ip ospf 1 area 0
 ipv6 address 2404:CF40:1:1:1:1:1:9/126
 ipv6 ospf 1 area 0
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Serial2/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/3
 no ip address
 shutdown
 serial restart-delay 0
!
router ospf 1
 log-adjacency-changes detail
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
ipv6 router ospf 1
 log-adjacency-changes
!
!
!
!
!
!
!
control-plane
!
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line vty 0 4
 login
!
exception data-corruption buffer truncate
end

IKF_AGGREGATION#


IKF_AGGREGATION#sh ipv6 route
IPv6 Routing Table - default - 9 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - Neighbor Discovery
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
OE2 2401:AF:1:1::/64 [110/1]
     via FE80::A8BB:CCFF:FE00:200, Ethernet0/0
OE2 2401:AF:1:2::/64 [110/1]
     via FE80::A8BB:CCFF:FE00:200, Ethernet0/0
OE2 2401:AF:1:3::/64 [110/1]
     via FE80::A8BB:CCFF:FE00:200, Ethernet0/0
OE2 2401:AF:1:4::/64 [110/1]
     via FE80::A8BB:CCFF:FE00:200, Ethernet0/0
C   2404:CF40:1:1:1:1:1:0/126 [0/0]
     via Ethernet0/0, directly connected
L   2404:CF40:1:1:1:1:1:2/128 [0/0]
     via Ethernet0/0, receive
C   2404:CF40:1:1:1:1:1:8/126 [0/0]
     via Ethernet0/1, directly connected
L   2404:CF40:1:1:1:1:1:9/128 [0/0]
     via Ethernet0/1, receive
L   FF00::/8 [0/0]
     via Null0, receive
IKF_AGGREGATION#

IKF_AGGREGATION#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, + - replicated route
Gateway of last resort is not set
      1.0.0.0/8 is variably subnetted, 7 subnets, 2 masks
O        1.3.0.1/32 [110/11] via 1.3.1.1, 02:34:42, Ethernet0/0
C        1.3.0.2/32 is directly connected, Loopback0
O        1.3.0.3/32 [110/11] via 1.3.1.6, 04:01:58, Ethernet0/1
C        1.3.1.0/30 is directly connected, Ethernet0/0
L        1.3.1.2/32 is directly connected, Ethernet0/0
C        1.3.1.4/30 is directly connected, Ethernet0/1
L        1.3.1.5/32 is directly connected, Ethernet0/1
IKF_AGGREGATION#


IKF_DISTRIBUTION#sh run
Building configuration...

Current configuration : 2174 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname IKF_DISTRIBUTION
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip source-route
no ip icmp rate-limit unreachable
!
!
!
!
ip cef
no ip domain lookup
ipv6 unicast-routing
no ipv6 traffic interface-statistics
ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface Loopback0
 ip address 1.3.0.3 255.255.255.255
 ip ospf network point-to-point
 ip ospf 1 area 0
!
interface Ethernet0/0
 ip address 1.3.1.6 255.255.255.252
 ip ospf 1 area 0
 ipv6 address 2404:CF40:1:1:1:1:1:A/126
 ipv6 ospf 1 area 0
!
interface Ethernet0/1
 no ip address
 shutdown
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Serial2/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/3
 no ip address
 shutdown
 serial restart-delay 0
!
router ospf 1
 log-adjacency-changes detail
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
ipv6 route 2404:CF40:1:1:1:1:1:0/126 Ethernet0/0 2404:CF40:1:1:1:1:1:9
ipv6 router ospf 1
 log-adjacency-changes
!
!
!
!
!
!
!
control-plane
!
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line vty 0 4
 login
!
exception data-corruption buffer truncate
end

IKF_DISTRIBUTION#


IKF_DISTRIBUTION#sh ip rou
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, + - replicated route
Gateway of last resort is not set
      1.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
O        1.3.0.1/32 [110/21] via 1.3.1.5, 02:35:13, Ethernet0/0
O        1.3.0.2/32 [110/11] via 1.3.1.5, 04:02:30, Ethernet0/0
C        1.3.0.3/32 is directly connected, Loopback0
O        1.3.1.0/30 [110/20] via 1.3.1.5, 04:02:30, Ethernet0/0
C        1.3.1.4/30 is directly connected, Ethernet0/0
L        1.3.1.6/32 is directly connected, Ethernet0/0
IKF_DISTRIBUTION#sh ipv6 route
IPv6 Routing Table - default - 8 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - Neighbor Discovery
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
OE2 2401:AF:1:1::/64 [110/1]
     via FE80::A8BB:CCFF:FE00:110, Ethernet0/0
OE2 2401:AF:1:2::/64 [110/1]
     via FE80::A8BB:CCFF:FE00:110, Ethernet0/0
OE2 2401:AF:1:3::/64 [110/1]
     via FE80::A8BB:CCFF:FE00:110, Ethernet0/0
OE2 2401:AF:1:4::/64 [110/1]
     via FE80::A8BB:CCFF:FE00:110, Ethernet0/0
S   2404:CF40:1:1:1:1:1:0/126 [1/0]
     via 2404:CF40:1:1:1:1:1:9, Ethernet0/0
C   2404:CF40:1:1:1:1:1:8/126 [0/0]
     via Ethernet0/0, directly connected
L   2404:CF40:1:1:1:1:1:A/128 [0/0]
     via Ethernet0/0, receive
L   FF00::/8 [0/0]
     via Null0, receive
IKF_DISTRIBUTION#sh ipv6 osp
IKF_DISTRIBUTION#sh ipv6 ospf ne
IKF_DISTRIBUTION#sh ipv6 ospf neighbor
Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
1.3.0.2           1   FULL/BDR        00:00:31    4               Ethernet0/0
IKF_DISTRIBUTION#




No comments:

Post a Comment