RP/0/0/CPU0:XR3#show ospf database external 10.0.40.4 Mon May 8 19:15:04.320 UTC OSPF Router with ID (10.0.0.253) (Process ID CORE) Type-5 AS External Link States LS age: 3 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 10.0.40.4 (External Network Number) Advertising Router: 10.0.0.253 LS Seq Number: 80000004 Checksum: 0x2f30 Length: 36 Network Mask: /32 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 20 Forward Address: 0.0.0.0 External Route Tag: 0 RP/0/0/CPU0:XR3# RP/0/0/CPU0:XR3# RP/0/0/CPU0:XR3# RP/0/0/CPU0:XR3#show run Mon May 8 19:37:54.516 UTC Building configuration... !! IOS XR Configuration 6.1.2 !! Last configuration change at Mon May 8 19:15:00 2017 by cisco ! hostname XR3 logging console debugging logging buffered 9999999 logging buffered debugging service timestamps log datetime msec service timestamps debug datetime msec line console exec-timeout 0 0 transport preferred none ! interface Loopback0 ipv4 address 10.0.0.253 255.255.255.255 ! interface GigabitEthernet0/0/0/0 carrier-delay up 0 down 0 load-interval 30 ! interface GigabitEthernet0/0/0/0.23 ipv4 address 10.0.0.3 255.255.255.254 encapsulation dot1q 23 logging events link-status ! interface GigabitEthernet0/0/0/0.34 ipv4 address 10.0.0.4 255.255.255.254 encapsulation dot1q 34 logging events link-status ! prefix-set PS_IPV4_10.0.10.0_24 10.0.10.0/24 le 32 end-set ! prefix-set PS_IPV4_10.0.20.0_24 10.0.20.0/24 le 32 end-set ! route-policy RP_BGP_TO_OSPF($SET1) if destination in $SET1 then set metric-type type-1 set ospf-metric 100 elseif destination in (10.0.0.0/16 le 32) then pass endif end-policy ! route-policy RP_ISIS_TO_OSPF if destination in PS_IPV4_10.0.20.0_24 then set tag 1234 elseif destination in (10.0.30.0/24 le 32) then drop elseif destination in (10.0.0.0/16 le 32) then pass endif end-policy ! router isis TEST is-type level-2-only net 49.0001.0100.0000.0253.00 log adjacency changes address-family ipv4 unicast advertise passive-only ! interface GigabitEthernet0/0/0/0.34 point-to-point address-family ipv4 unicast ! ! ! router ospf CORE router-id 10.0.0.253 redistribute bgp 65000 route-policy RP_BGP_TO_OSPF(PS_IPV4_10.0.10.0_24) redistribute isis TEST route-policy RP_ISIS_TO_OSPF area 0.0.0.0 interface Loopback0 ! interface GigabitEthernet0/0/0/0.23 network point-to-point ! interface GigabitEthernet0/0/0/0.34 network point-to-point ! ! ! router bgp 65000 bgp router-id 10.0.0.253 bgp redistribute-internal bgp log neighbor changes detail address-family ipv4 unicast ! neighbor 10.0.0.254 remote-as 65000 update-source Loopback0 address-family ipv4 unicast ! ! ! end