最近公司网络调整,由于上联运营商不同,要使用策略路由改变部分ip段的出向路由
用到一个参数如下:
set ip next-hop verify-availability
开始配置如下:
route-map CNC-CT1 permit 10
match ip address 90
set ip next-hop 125.xx.xx.17
简单下联汇聚交换机的上联端口,开始基本功能实现了,单运营商的ip 都走了相应端口
但后来出现问题了,当上联某一端口出现问题后,路由不能自动切换,就是还不如不加策略路由
查询tcpip 路由卷一 得到下面命令提示

可是我加上
route-map CNC-CT1 permit 10
match ip address 90
set ip next-hop 125.xx.xx.17
set ip next-hop verify-availability
更改后再加到端口下,敲入命令,命令无报错,但show run 看不到,
交换机版本:System image file is "flash:c3750-ipservices-mz.122-50.SE3.bin"
是我的交换机版本不支持吗?命令总是不生效,我把set ip next-hop verify-availability 去掉,打到接口,命令就生效了,我的交换机CDP是开着的,还是我理解tcpip 卷一有偏差呢?
有人能解释一下吗?







发表评论 评论 (5 个评论)
ip sla monitor 1
type echo protocol ipIcmpEcho 125.x.x.17
frequency 10
ip sla monitor schedule 1 life forever start-time now
track 1 rtr 1 reachability
route-map CNC-CT1 permit 10
match ip address 90
set ip next-hop 125.xx.xx.17
set ip next-hop verify-availability track 1
用到了sla测控上游端口的可达性
ip sla monitor 1
type echo protocol ipIcmpEcho 125.x.x.17
frequency 10
ip sla monitor schedule 1 life forever start-time now
track 1 r
xx-HY(xx.18)-(15-(config)#ip sla ?
<1-2147483647> Entry Number
ethernet-monitor IP SLAs Auto Ethernet configuration
group Group Configuration or Group Scheduling
key-chain Use MD5 authentication for IP SLAs control message
logging Enable Syslog
low-memory Configure Low Water Memory Mark
reaction-configuration IP SLAs Reaction-Configuration
reaction-trigger IP SLAs Trigger Assignment
reset IP SLAs Reset
responder Enable IP SLAs Responder
restart Restart An Active Entry
schedule IP SLAs Entry Scheduling
slm Service Level Management
没有后面的命令啊?
是ethernet-monitor ?
http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.1_19_ea1/system/message/msg_desc.html#wp119193
Error Message PLATFORM_PBR-3-UNSUPPORTED_RMAP: Route-map [chars] not supported for
Policy-Based Routing
Explanation This message means that the route-map attached to an interface for policy routing contains an action that is not supported on this platform. This is a hardware limitation. [chars] is the route-map.
Recommended Action Use the route-map map-tag permit global configuration command and the set ip next-hop ip-address route-map configuration command to reconfigure the route map to use only these supported actions.