table-map/bgp/ospf/origin code question. I'm having some trouble getting it to work. r1 has a loopback 1.1.1.1 and has a network statement in BGP for it, i'm taking the bgp routes, putting them into ospf and trying to tag them (with origin code) and then when that route makes it over to r3, trying to read the tag and set it again so it shows "i" and not incomplete but I can't seem to get the external tag data into ospf.
Here's the setup.. 1.1.1.1 (lo1 in BGP as 1) R1---ospf0----r2----ospf0------r3(3.3.3.3 in bgp as 3) here's the relevant configs r1 nterface Loopback1 ip address 1.1.1.1 255.255.255.0 ! interface Serial0 ip address 192.168.1.1 255.255.255.0 encapsulation frame-relay ! router ospf 1 log-adjacency-changes redistribute bgp 1 subnets network 192.168.1.0 0.0.0.255 area 0 neighbor 192.168.1.2 priority 1 ! router bgp 1 table-map autotag bgp log-neighbor-changes network 1.1.1.0 mask 255.255.255.0 redistribute ospf 1 metric 5 match internal external 1 external 2 route-map tags no auto-summary ! route-map tags permit 10 set as-path tag ! route-map autotag permit 10 set automatic-tag r2 interface Ethernet0 ip address 172.16.1.2 255.255.255.0 ! interface Serial0 ip address 192.168.1.2 255.255.255.0 encapsulation frame-relay frame-relay map ip 192.168.1.1 201 broadcast ! router ospf 1 log-adjacency-changes network 172.16.1.0 0.0.0.255 area 0 network 192.168.1.0 0.0.0.255 area 0 neighbor 192.168.1.1 r3 nterface Loopback0 ip address 3.3.3.3 255.255.255.0 ! interface Ethernet0 ip address 172.16.1.3 255.255.255.0 ! router ospf 1 log-adjacency-changes redistribute bgp 3 subnets network 172.16.1.0 0.0.0.255 area 0 ! router bgp 3 table-map autotag bgp log-neighbor-changes network 3.3.3.0 mask 255.255.255.0 redistribute ospf 1 metric 5 match internal external 1 external 2 route-map tags no auto-summary ! route-map tags permit 10 set as-path tag ! route-map autotag permit 10 set automatic-tag here's the info about 1.1.1.0/24 from r1 but from r3's perspective. r3#sh ip bgp 1.1.1.0 BGP routing table entry for 1.1.1.0/24, version 7 Paths: (1 available, best #1, table Default-IP-Routing-Table) Not advertised to any peer Local 172.16.1.2 from 0.0.0.0 (3.3.3.3) Origin incomplete, metric 5, localpref 100, weight 32768, valid, sourced, best r3# 3#sh ip ospf data e OSPF Router with ID (3.3.3.3) (Process ID 1) Type-5 AS External Link States Routing Bit Set on this LSA LS age: 879 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 1.1.1.0 (External Network Number ) Advertising Router: 1.1.1.1 LS Seq Number: 80000001 Checksum: 0xE6C5 Length: 36 Network Mask: /24 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 1 Forward Address: 0.0.0.0 External Route Tag: 0 LS age: 815 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 3.3.3.0 (External Network Number ) Advertising Router: 3.3.3.3 LS Seq Number: 80000001 Checksum: 0x623C Length: 36 Network Mask: /24 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 1 Forward Address: 0.0.0.0 External Route Tag: 0 r3# Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=56188&t=56188 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]