# 1. 查看NetStream是否启用、是否本地归档
display ip netstream export
display ip netstream cache archive
# 2. 查看NAT Flow日志配置(是否输出日志服务器)
display userlog export
# 3. 查看用户流量历史统计是否开启
display ip traffic-statistics
ip netstream cache archive enable 本地存储历史流记录display ip netstream cache archive verbose source 192.168.1.100 arrived-time 07/03/2026 08:00:00 07/03/2026 18:00:00
source x.x.x.x:内网用户 IP;destination x.x.x.x 查访问某个外网目标arrived-time 起始日期 起始时间 结束日期 结束时间 格式 MM/DD/YYYY HH:MM:SSverbose:显示完整字段:源 / 目的 IP、端口、协议、包数、字节、会话起止时间display ip netstream cache archive verbose source 192.168.1.100 destination-port 80 arrived-time 07/03/2026 09:00:00 07/03/2026 12:00:00
display ip netstream cache archive verbose source 192.168.1.100 protocol 6 arrived-time 07/03/2026 14:00:00 07/03/2026 17:00:00
# 查询192.168.1.100 今日09点-17点总流量
display ip traffic-statistics history user time 07/03/2026 09:00:00 07/03/2026 17:00:00 user-ip 192.168.1.100 direction both
display userlog export
# 实时过滤指定IP在线流
display ip netstream cache verbose | include 192.168.1.100
# 只保留TCP
display ip netstream cache archive verbose source 192.168.1.100 arrived-time ... | include "Protocol:6"
# 只保留UDP
| include "Protocol:17"
# 过滤目的外网IP 1.2.3.4
| include 1.2.3.4
ip netstream cache archive enable;ip netstream inbound/outbound。ip traffic-statistics,没有部署 NetStream 或 Flow 日志;需要 NetStream/Flow 才能拿到目的 IP、端口明细。192.168.5.66 今天 10 点到 16 点所有访问会话明细:display ip netstream cache archive verbose source 192.168.5.66 arrived-time 07/03/2026 10:00:00 07/03/2026 16:00:00
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论