Difference between revisions of "Route-map Cisco IOS"
From Teknologisk videncenter
m (New page: Policy-Based Routing or PBR with Cisco IOS. == Enabling PBR on 3560 Switch platform == On the 3560 Switch platform you get the message '''%PLATFORM_PBR-4-SDM_MISMATCH: PBR requires...) |
m |
||
Line 33: | Line 33: | ||
Core2#<input>reload</input> | Core2#<input>reload</input> | ||
</source> | </source> | ||
+ | ==== After reboot ==== | ||
+ | <source lang=cli> | ||
+ | Core2#<input>sh sdm prefer</input> | ||
+ | The current template is "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 IPv4 IGMP groups + multicast routes: 1K | ||
+ | number of IPv4 unicast routes: 11K | ||
+ | number of directly-connected IPv4 hosts: 3K | ||
+ | number of indirect IPv4 routes: 8K | ||
+ | number of IPv4 policy based routing aces: <notice>512</notice> | ||
+ | number of IPv4/MAC qos aces: 512 | ||
+ | number of IPv4/MAC security aces: 1K | ||
+ | </source> | ||
+ | |||
= Links = | = Links = | ||
*[http://www.cisco.com/en/US/tech/tk364/technologies_configuration_example09186a00801f3b54.shtml Cisco Policy-Based Routing Using the set ip default next-hop and set ip next-hop Commands Configuration Example] | *[http://www.cisco.com/en/US/tech/tk364/technologies_configuration_example09186a00801f3b54.shtml Cisco Policy-Based Routing Using the set ip default next-hop and set ip next-hop Commands Configuration Example] |
Revision as of 08:40, 12 December 2009
Policy-Based Routing or PBR with Cisco IOS.
Enabling PBR on 3560 Switch platform
On the 3560 Switch platform you get the message %PLATFORM_PBR-4-SDM_MISMATCH: PBR requires sdm template routing when you apply a route-map to a Interface.
This is because the SDM (Switch Database Management) template. The SDM manages the layer 2 and layer 3 switching information that is maintained in the Ternary Content Addressable Memory (TCAM). The TCAM is used for forwarding lookups.
Looking at the default configuration the switch had the following SDM configuration.
Core2(config-if)#<input>do sh sdm prefer</input>
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 IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 8K
number of directly-connected IPv4 hosts: 6K
number of indirect IPv4 routes: 2K
number of IPv4 policy based routing aces: <notice>0</notice>
number of IPv4/MAC qos aces: 512
number of IPv4/MAC security aces: 1K
Changing SDM Bias
Core2(config)#<input>sdm prefer routing</input>
Changes to the running SDM preferences have been stored, but cannot take effect
until the next reload.
Use 'show sdm prefer' to see what SDM preference is currently active.
Core2(config)#<input>^Z</input>
Core2#
1d00h: %SYS-5-CONFIG_I: Configured from console by vty0 (10.0.0.30)
Core2#<input>reload</input>
After reboot
Core2#<input>sh sdm prefer</input>
The current template is "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 IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 11K
number of directly-connected IPv4 hosts: 3K
number of indirect IPv4 routes: 8K
number of IPv4 policy based routing aces: <notice>512</notice>
number of IPv4/MAC qos aces: 512
number of IPv4/MAC security aces: 1K