03-07-2008 04:01 PM - edited 03-05-2019 09:37 PM
I have a switch stack of 3750's running IPServices 12.2(25)SEE4. I was wanting to implement a route-map to direct certain addresses with in a VLAN to be routed to another default route. Though when I apply the command on the vlan interface, it does not take. Any reason why? Am I missing? the following are the commands I am using
Thanks in advance
~Jeff
Config t
Access-list 20 permit 172.16.12.20
Route-map word permit 10
Match ip address 20
Set ip default next-hop 172.16.2.5
int vlan 12
ip policy route-map word
03-07-2008 04:13 PM
I assume you can ping 172.16.2.5 from a host in vlan 12? Do you have any vacls in place that might be blocking traffic from vlan 12 to 172.16.2.5?
03-07-2008 04:18 PM
thanks for your reply. No vacls any where else, and yes I can ping from the 12 to 172.16.12.5 It is weird, when I apply the policy to int vlan 12, and do a show run int vlan 12, the command does not appear.
I have looked over some unsupported commands for this version of IOS, and from I can see, only route-map commands that set to a prefix-list appear to be unsupported.
Any other thoughts?
03-07-2008 05:55 PM
You need to modify the default SDM template for PBR to work. Configure the command 'sdm prefer routing-pbr' to enable PBR functionality. Reload is required for the SDM template change to work.
HTH
Sundar
03-10-2008 06:25 AM
Thanks Sundar - I went to apply this command to our switch stack this morning and the option for 'routing-pbr' was not listed. I could issue 'sdm prefer routing' Though I am looking for pbr functionality. Any thoughts as to why that command was not listed. Could it be a IOS version?
Thanks,
~Jeff
03-10-2008 07:30 PM
The link provided by Sundar was for an old IOS version. You are running 12.2(25) and the software supports IPv4 PBR only when the dual-ipv4-and-ipv6 routing template is configured.
HTH,
__
Edison.
03-10-2008 08:16 PM
Thanks for the reply Edison. After looking at the link you posted it would appear that by running the command 'sdm prefer routing desktop' I would obtain 512k for pbr ace's.
this is what is currently configured:
Switch# show sdm prefer
The current template is "desktop default" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 6K
number of igmp groups + multicast routes: 1K
number of unicast routes: 8K
number of directly connected hosts: 6K
number of indirect routes: 2K
number of policy based routing aces: 0
number of qos aces: 512
number of security aces: 1K
and this is with the command stated above:
Switch# show sdm prefer routing
"desktop routing" template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 3K
number of igmp groups + multicast routes: 1K
number of unicast routes: 11K
number of directly connected hosts: 3K
number of indirect routes: 8K
number of policy based routing aces: 512
number of qos aces: 512
number of security aces: 1K
Am I reading that correctly?
03-11-2008 07:13 AM
Just change the SDM from desktop default to routing and the router will have the PBR features you need. You must reboot for the changes to take effect.
Good luck
__
Edison.
03-11-2008 07:53 AM
Thanks - yes I made the change by applying 'sdm prefer routing desktop' and I now have pbr functionality.
Thanks to everyone for the help
08-16-2010 01:07 AM
i too face the same kind of issue , might be the IOS doesnt support .
Rgds,
Nithin Gandrath
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide