Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Policy-based routing on 3560

Status
Not open for further replies.

volleyman

MIS
Jun 12, 2002
183
US
I am attempting some policy based routing on a 3560 switch. I am trying to send all traffic destined for a specific host to a certain next hop. here are the steps that I followed:

1. created an acl: access-list 131 permit ip any host x.x.x.x

2. created the route map:
route-map nameofthemap permit 10
match ip address 131
set ip next-hop 10.x.x.x

3. apply it to an interface:
int vlan 160
ip policy route-map nameofthemap

at this point is where I have the issue. the command executes without error, but when I do a show interface on the vlan, I don't see the command. Also, testing is showing that the PBR isn't working at all. I attempted to apply it to 2 diff. vlan interfaces.

any help would be appreciated.

Zane D.
Systems Admin
 
Is this device the default gateway for Vlan 160?

PSC
[—] CCNP [•] CCSP [•] MCITP: Enterprise Admin [•] MCSE [—]

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
yep, it is the default gateway for that vlan...

Zane D.
Systems Admin
 
That blows my mind...

Take a look at this article: [URL unfurl="true"]http://www.booches.nl/2008/06/30/policy-based-routing-catalyst-3560[/url]

It seems to apply to your situation.

PSC
[—] CCNP [•] CCSP [•] MCITP: Enterprise Admin [•] MCSE [—]

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
I opened a tac case and they asked me to run a sdm command. It requires a reload to take affect so I'm waiting on that...

I noticed when I run the "show sdm prefer" command as mentioned in the article it doesn't show any memory allocated to PBR.

will post results after I am able to reload the switch.

Zane D.
Systems Admin
 
just curious...why does that blow your mind?

Zane D.
Systems Admin
 
I just never had to do that before. The article I pointed to talks about running the sdm command to allocate memory to PBR.

PSC
[—] CCNP [•] CCSP [•] MCITP: Enterprise Admin [•] MCSE [—]

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
tac had me run a "sdm prefer route" command and reload the switch...that worked...

Zane D.
Systems Admin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top