cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5948
Views
0
Helpful
19
Replies

Routing to two ISP's with one L3 switch - using route-maps

roliveira11
Level 1
Level 1

Hello Cisco Community! I have a 3750 acting as WAN switch connected to CrownCastle and MetTel

 

I was able to get the routing up for the CrownCastle side as that circuit was available/installed first..so the default route that's configured routes to Crown currently.... now that MetTel has been installed, I'd like to carve out a few ports on the 3750 for MetTel and route it's respective public LAN IP's out to MetTel.

 

vlan 222 - MetTel LAN

vlan 444 - MetTel WAN

 

Is it possible to configure a routemap for just the 2nd ISP to be used? What am I missing? I configured an ACL, a route map, and applied the route-map to the vlan interface. I must be missing something silly! Please help! Thank you!

 

Configuration is below!:

interface FastEthernet0
no ip address
no ip route-cache
shutdown
!
interface GigabitEthernet1/0/1
switchport access vlan 333
spanning-tree portfast
!
interface GigabitEthernet1/0/2
switchport access vlan 333
spanning-tree portfast
!
interface GigabitEthernet1/0/3
switchport access vlan 333
spanning-tree portfast
!
interface GigabitEthernet1/0/4
switchport access vlan 333
spanning-tree portfast
!
interface GigabitEthernet1/0/5
switchport access vlan 333
spanning-tree portfast
!
interface GigabitEthernet1/0/6
switchport access vlan 333
spanning-tree portfast
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
switchport access vlan 50
!
interface GigabitEthernet1/0/11
switchport access vlan 50
!
interface GigabitEthernet1/0/12
switchport access vlan 50
!
interface GigabitEthernet1/0/13
switchport access vlan 222
!
interface GigabitEthernet1/0/14
switchport access vlan 444
!
interface GigabitEthernet1/0/15
switchport access vlan 444
!
interface GigabitEthernet1/0/16
switchport access vlan 444
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
switchport access vlan 222
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
description ToCrownModem
switchport access vlan 777
!
interface GigabitEthernet1/1/1
switchport access vlan 444
speed nonegotiate
!
interface GigabitEthernet1/1/2
switchport access vlan 444
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface TenGigabitEthernet1/1/1
switchport access vlan 444
switchport mode access
speed nonegotiate
!
interface TenGigabitEthernet1/1/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan50
description AryakaTransitVLAN
no ip address
!
interface Vlan222
description MetTelLAN
ip address x.x.x.123 255.255.255.248
!
interface Vlan333
description CrownCastleLAN
ip address x.x.x.33 255.255.255.240
!
interface Vlan444
description MetTelWAN
ip address x.x.x.30 255.255.255.252
!
interface Vlan777
description CrownCastleWAN
ip address x.x.x.146 255.255.255.252
!
!
ip route 0.0.0.0 0.0.0.0 x.x.x.145
!
access-list 110 permit ip 1.1.1.0 0.0.0.255 any
!
route-map To-MetTelWAN permit 10
match ip address 110
set ip next-hop 1.1.1.29

19 Replies 19

Hi Paul, THanks for the reply! Maybe you did not catch my previous posts of my CLI output- but I was showing that I was going into the L3 interface, applying the ip policy route-map command, the switch taking it, but when looking at the running-configration for the L3 interface, it did not show the ip policy route-map statement applied - I do still need to look at the show sdm prefer output as well as try the "set ip DEFAULT next hop x.x.x.x" command

 

Thank you all so much for the collabaration! I'll be providing my findings tomorrow morning again and pick back up!

Hello


@roliveira11 wrote:

 - I do still need to look at the show sdm prefer output as well as try the "set ip DEFAULT next hop x.x.x.x" command


FYI - set ip DEFAULT next hop x.x.x. , This will check the route table for any entries for the nexhop address and if there are entries then no policy routing is applied , normal routing will take precedence.

So if it hasn't worked with set ip next hop x.x.x. then it shouldn't work changing it to  set ip DEFAULT next hop x.x.x.

At this time I would say the switch is running the wrong SDM template as a possible cause to why PBR isn't working, So suggest to change to it routing/ ipv4-ipv6 routing ,reload the switch (when applicable) and test again


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello,

 

not sure if this has already been mentioned, but you also need to run the IP Services feature pack, in addition to 'sdm prefer routing'. Check with 'show license' which feature pack is activated...

Hi Georg! IPServices is enabled! Thanks for asking! Based on everyone's feedback, It sounds like the next best course of active is to configure the "sdm prefer routing" command, wr mem, and reload the switch. 

 

HaemoWANswitch#show license
Index 1 Feature: ipservices
Period left: Life time
License Type: Permanent
License State: Active, In Use
License Priority: Medium
License Count: Non-Counted

Index 2 Feature: ipbase
Period left: 8 weeks 4 days
License Type: Evaluation
License State: Active, Not in Use, EULA not accepted
License Priority: None
License Count: Non-Counted

Index 3 Feature: lanbase
Period left: 0 minute 0 second

HaemoWANswitch#

 

Hello,

 

I don't want to add anything redundant, but below is the link to the guidelines. You need IP Services, sdm prefer routing, and there is also somethig mentioned about PBR not wiorking when IPv4 and IPv6 traffic is being processed. I am not sure what the latter means exactly, so don't enable IPv6, to be safe.

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750e_3560e/software/release/12-2_55_se/configuration/guide/3750escg/swiprout.html#wp1228588