cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2721
Views
14
Helpful
3
Replies

"ip policy" vs. "ip local policy"

linnea.wren
Level 1
Level 1

Hi,

In an MSFC2 config that I'm trying to understand, I find this :

..interface Vlan2

.. ip policy route-map koko

Later I find this :

..ip local policy route-map koko

What is the difference between "ip policy" in an interface, and "ip local policy"?

tia

3 Replies 3

Brandon Buffin
VIP Alumni
VIP Alumni

The "ip policy route-map" is an interface command and applies to traffic passing that interface. The "ip local policy route-map" command is a global configuration command that applies to packets generated by the router. Packets generated by the router are not normally subject to policy based routing, but this behavior is forced by this command. Please see the following link for confirmation.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/qos_c/qcpart1/qcpolicy.htm

Hope this helps. If so, please rate the post.

Brandon

OK.

I'm not up to speed though on the "packets generated by the router" reference.

Unless that simply refers to icmp traffic, telnet sessions to router, snmp, etc?

tia...

Linnea

I believe that you are on the correct path. Packets generated by the router would include things like routing updates, SNMP traps, responses to SNMP polls, syslog records being sent to a syslog server, ping or traceroute executed on the router, ICMP packets like Time Exceeded or Network Unreachable, etc. These packets are not subject to policy routing unless you configure the ip local policy.

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card