某局点S12500X-AF计划通过LSXM1QGS48HB1单板配置netstream功能实现对业务流量的统计和分析。在设备上做如下配置后,保证接口下有输出流量的前提下,通过命令查看display ip netstream export命令查看统计输出信息,未发现任何流统计计数增长,可具体统计结果图如下图1所示。将接口配置修改为ip netstream inbound,再通过display ip netstream export命令查看,能正常看到统计输出信息。即接口的netstream统计在inbound方向有统计输出信息,而在outbound方向无统计输出信息。
全局配置:
ip netstream timeout active 1
ip netstream timeout inactive 60
ip netstream export version 5 origin-as
ip netstream export host 10.23.82.246 9996
ip netstream export rate 500
ip netstream export source interface LoopBack0
接口配置:
ip netstream outbound
图1 接口出方向netstream统计输出信息图
无
1、确认S12500X-AF LSXM1QGS48HB1支持netstream inbound和outbound的统计信息输出,规格上支持该功能;
2、进一步分析设备配置,在netstream全局配置中有一条ip netstream export version 5 origin-as的命令,指定netstream统计输出报文使用版本5。版本5标准支持netstream统计输出为IP,但不支持统计输出为IPL2。因为LSXM1QGS48HB1单板芯片的限制,该单板netstream outbound方向不支持统计为IP,而是统计为IPL2。IPL2的统计在version9下能正常输出并得到统计结果。故现场删除全局命令为ip netstream export version 5 export(即执行undo ip netstream export version 5 export),恢复缺省netstream统计输出报文使用版本为9后,再查看统计结果,则出入方向的netstream统计信息输出正常。
[H3C] display ip netstream cache slot 11
IP NetStream cache information:
Active flow timeout : 1 min
Inactive flow timeout : 60 sec
Max number of entries : 2097152
IP active flow entries : 0
MPLS active flow entries : 0
L2 active flow entries : 1
IPL2 active flow entries : 3253
IP flow entries counted : 0
MPLS flow entries counted : 0
L2 flow entries counted : 27
IPL2 flow entries counted : 347773
Last statistics resetting time : 03/14/2018 at 13:06:27
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作