Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

"ip policy" vs. "ip local policy"

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

Re: "ip policy" vs. "ip local policy"

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

New Member

Re: "ip policy" vs. "ip local policy"

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...

Hall of Fame Super Silver

Re: "ip policy" vs. "ip local policy"

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

1705
Views
4
Helpful
3
Replies