取消
显示结果 
搜索替代 
您的意思是: 
cancel
8929
查看次数
32
有帮助
9
评论
Lin Zhang
Level 1
Level 1
在SVI接口下配置PBR,发现命令被IOS系统接受,但是不生效也不显示在show running-config中,交换机报出如下log:
%PLATFORM_PBR-4-SDM_MISMATCH: PBR requires sdm template routing
意味着我们需要修改Switch Database Management (SDM) 交换机数据库管理模板至routing,从而启用IPV4下的PBR支持功能。
Switch#show sdm prefer
The current template is "desktop default" template. <<<默认的SDM模板为"desktop default"
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: 0
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
Switch(config)#int vlan 10
Switch(config-if)#ip policy route-map pbr
Switch(config-if)#
*Mar 1 00:06:41.403: %PLATFORM_PBR-4-SDM_MISMATCH: PBR requires sdm template routing
Switch#sh run int vlan 10
Building configuration...
Current configuration : 39 bytes
!
interface Vlan10
no ip address <<<无PBR配置
end
Switch#conf t
Switch(config)#sdm prefer routing <<<修改SDM模板为"routing"
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.
Switch#sh sdm prefer
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: 0.5K
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
Switch#reload
Proceed with reload? [confirm]
Switch(config)#int vlan 10
Switch(config-if)#ip po
Switch(config-if)#ip policy rou
Switch(config-if)#ip policy route-map pbr
Switch(config-if)#end
Switch#s run int vlan 10
*Mar 1 00:05:58.948: %SYS-5-CONFIG_I: Configured from console by console
Switch#sh run int vlan 10
Building configuration...
Current configuration : 64 bytes
!
interface Vlan10
no ip address
ip policy route-map pbr <<
end
*请注意在SDM模板配置生效前需要重启交换机。
更多请参考文档:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_46_se/configuration/guide/scg/swsdm.html#wp1139579
评论
suzhouxiaoniu
Spotlight
Spotlight
学习了,支持!
xupeng
Cisco Employee
Cisco Employee
谢谢楼主分享
jing zhang
Level 1
Level 1
感谢楼主分享,记得有一次我配置在6880上,生效时间很慢,过了好一会才通的;
Luke Huang
Cisco Employee
Cisco Employee
提前知道需要更改SDM模板,就能计划好downtime
Lin Zhang
Level 1
Level 1
fushuang 发表于 2015-4-19 13:32 back.gif
提前知道需要更改SDM模板,就能计划好downtime

是的,在变更之前最好能先review一下配置的需求,做一下plan。
qwe2
Spotlight
Spotlight
谢谢楼主分享
jingjian
Spotlight
Spotlight
好开心,每天都能学习到新的知识
fortune
VIP Alumni
VIP Alumni
这个可以有 谢谢分享!
zhihao zou
Level 1
Level 1
前段时间刚在3750上遇到这个问题,非常感谢分享
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接