I want to leak routes matching a specific /16 from the default vrf to a voice vrf. We have S5248F-ON switches running 10.5.4. I put this into the config:
ip prefix-list voice-export seq 10 permit 10.10.0.0/16
route-map voice-export permit 10 match ip address voice-export
ip vrf default update-source-ip loopback 1000 ip route-export 1:1 route-map voice-export
ip vrf Voice ip route-import 1:1
And the result is every route in the default table is showing up in voice. Does this not work or am I missing something?
It works, but not with an existing loopback. The one I used at first does not have an IP in the range being leaked. I created a new loopback with an address in the range being leaked and it works. It's a lot simpler that the prefix-list, also.
ip route vrf Voice 10.10.0.0/16 interface loopback 2
@Dell -Charles R thanks. That is what I typed in. The "seq 10" was added by the switch. And the syntax seems to be correct to catch any route that falls in the /16; from page 1535: "For example, in 112.24.0.0/16, the first 16 bits of the address 112.24.0.0 match all addresses between 112.24.0.0 to 112.24.255.255." It's like the route map isn't actually filtering the export.
Hi, might be checking to verify each VRF is helpful. To confirm the routes in each VRF, you can use the command show ip route vrf <name>. To see the forwarding information base for each VRF, you can use the command show ip cef vrf <name>
DELL-Erman O
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!
I looked at set next-hop and all of the variations call for a next hop IP address and it needs to be more general; there is no single interface to direct the traffic to. I set a community string just to see if any set clause would work, but it didn't change the outcome.
The examples I've seen, such as on page 754 of the 10.5.4 User Guide, do not include a set clause. I can't make a protocol source, as in that example, work for this.
I wonder if there is some disconnect between the prefix list and the route map. There is supposed to be a default deny but even a list with specific deny statements for the rest of the RFC1918 address space has no effect. It's like either the prefix list or calling it from the route map don't actually work.
You may want to consider calling into support, as it may require direct access and reviewing the logs to find the specific source of the leak and to correct it.
DELL-Chris H
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!
I just deleted the route export and changed the route map to set the metric to 15. Then I ran "show ip bgp" and none of the routes have the metric changed by the route map. So none of the route maps I've tried seem to be working. That is apparently the problem; there is some hook or parameter missing to make the route maps work.
apt5
1 Rookie
•
14 Posts
0
0
Posted January 17th, 2024 15:40
It works, but not with an existing loopback. The one I used at first does not have an IP in the range being leaked. I created a new loopback with an address in the range being leaked and it works. It's a lot simpler that the prefix-list, also.
ip route vrf Voice 10.10.0.0/16 interface loopback 2
ip route 10.10.255.252/30 interface vlan 2
default VRF X Voice VRF
X
loopback2 X vlan2 ====> Ethernet access port
10.10.255.251/32 X 10.10.255.253/30
X