帮助文档 > 硬件运维 >思科设备配置基于报文大小的策略路由

思科设备配置基于报文大小的策略路由

发布时间:2021-09-25 01:28

拓扑如下:

要求:R2f0/0端口上应用基于报文大小的策略路由haha,为大小小于100Byte的报文设置出接口f1/0,101-1000B的报文设置出口f2/0

具体配置:

1:定义route-map

R2(config)#route-map qgtest permit 10 R2(config-route-map)#match length 1 100 R2(config-route-map)#set interface f1/0 R2(config-route-map)#exit R2(config)#route-map qgtest permit 20 R2(config-route-map)#match length 101 1000 R2(config-route-map)#set interface f2/0 R2(config-route-map)#exit 2:将route-map调用到接口上 R2(config)#int f0/0 R2(config-if)#ip policy route-map qgtest
本文导读

客户热线:13306992629

客户服务中心
Baidu
map