cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
914
Views
0
Helpful
4
Replies
Highlighted
Beginner

Route-Map Issue in Cisco 6506 core switch

Hi All,

We have a scenario as below

Core1--> Core 2 --> Vendor Core

I have configured a VLAN in core-1( 172.16.1.0/24) and configured with route-map set with next-hop IP of vendor core switch ip (10.10.1.1).

I need an access to few destinations from Core-1 VLAN 172.16.1.0/24 to multiple destinations ( Ex: - 192.168.1.1, 10.5.2.10)which are reachable from 10.10.1.1

I have a routing from Core-1 to 10.10.1.1 but unable to access the destinations of 192.168.1.1 and 10.5.2.10  etc  by using set next-hop ip 10.10.1.1.

I can clear the issue by using static route to multiple destinations but I wanted avoid this.

So please support on available options to overcome this issue

Rrgs,

Ezra.

4 REPLIES 4
Highlighted
Hall of Fame Guru

Ezra

We need a few more details ie.

1) do you run HSRP/GLBP on core1 and core2 for vlan 172.16.1.x. If so which core switch is the active one ?

2) How are core1 and core2 interconnected ie. via L2 trunk or do they route to each other. If you do a "sh ip ro 10.10.1.1" what does it show ? ie.

is it directly connected or is it via a next hop on core 2 ?

3) can we see the route-map config + acl used in route-map

4) have you applied the route-map to the vlan 172.16.1.x interface ? Remember if core2 is active gateway you would need to apply it there as well.

Jon

Highlighted

HI Jon,

To add clarity just have drwan a rough topology diagram

172.16.1.0/24 has configured in R1 and R2,

1 Ans :- Core-1 (R1) and Core-2 (R3) are connected over fibre and with ospf then static routes redistributed to it.

2 Ans :-  10.10.1.1 is learning through OSPF

3.

route-map xxxx permit 10

match ip address 130

set ip next-hop 10.10.1.1

end

Conf t

Ip access-list ex 130

Permit ip 172.16.1.0 0.0.0.255 any

Conf t

Interface Vlan 30

ip policy route-map  xxxxx

exit

Revert for more info pls...

Rgds

Highlighted

On core1 what does "sh ip ro 10.1.1.1" show ?

set ip next-hop x.x.x.x  assumes that x.x.x.x is directly connected so is 10.1.1.x directly connected to core 1 ? If not then you can use "set ip next-hop recursive x.x.x.x" but i'm not sure whether that is supported on the switch. You can try it.

Jon

Highlighted

Hi Jon,

10.10.1.1. is learning through OSPF via Core-2

means from Core-1 2 hops away this 10.10.1.1 is rechable

And i have checked the recursive command but its not avilable in switches, I hope its meant for Routers

Please help

Rgds

Content for Community-Ad