美文网首页网工修炼手册
juniper 抓穿越流量

juniper 抓穿越流量

作者: Alan_Xu94 | 来源:发表于2018-03-27 14:45 被阅读0次

原文链接:https://kb.juniper.net/InfoCenter/index?page=content&id=KB11709&actp=METADATA

具体配置如下:

user@host# edit forwarding-options packet-capture

[edit forwarding-options packet-capture]

user@host# set file filename testpacketcapture

[edit forwarding-options packet-capture]

user@host# set maximum-capture-size 1500

[edit forwarding-options packet-capture]

user@host# show

file filename testpacketcapture;

maximum-capture-size 1500;

[edit forwarding-options packet-capture]

user@host#top

穿越流量定义

user@host# set firewall filter PCAP term 1 from source-address 10.209.144.32

user@host# set firewall filter PCAP term 1 from destination-address 10.204.115.166

user@host# set firewall filter PCAP term 1 then sample

user@host# set firewall filter PCAP term 1 then accept

user@host# set firewall filter PCAP term 2 from source-address 10.204.115.166

user@host# set firewall filter PCAP term 2 from destination-address 10.209.144.32

user@host# set firewall filter PCAP term 2 then sample

user@host# set firewall filter PCAP term 2 then accept

user@host# set firewall filter PCAP term allow-all-else then accept 

抓包接口定义

user@host# set interfaces ge-0/0/0 unit 0 family inet filter output PCAP

user@host# set interfaces ge-0/0/0 unit 0 family inet filter input PCAP

开始抓包

user@host# commit

抓包后文件提取

log保存在: 

user@host> file list /var/tmp | match 文件名

相关文章

  • juniper 抓穿越流量

    原文链接:https://kb.juniper.net/InfoCenter/index?page=content...

  • Juniper - Olive

    概念 Olive指的是运行Juniper Networks的JUNOS软件的常规PC或虚拟机。Juniper早期创...

  • juniper

    Juniper交换机更改端口vlan的过程 先列出交换机的配置: show configuration | dis...

  • 工具|手机抓包之Fiddler

    前言:本文是对Fiddler抓包工具的总结。内容包括代理、https证书、pc流量过滤、手机流量屏蔽、抓包界面等知...

  • OpenVswitch端口流量镜像

    ovs中无法直接抓包分析,可以通过端口流量镜像的方式进行抓包 端口流量镜像主要分为两步: 创建mirror,指定m...

  • Juniper - 概念介绍

    操作企业Juniper网络路由 Juniper网络企业路由 企业路由的定位 J系列路由器应用在小型企业M系列路由器...

  • Juniper - 介绍

    Juniper网络公司,中文名叫作:瞻博网络。致力于实现网络商务模式的转型。作为全球领先的联网和安全性解决方案供应...

  • Juniper - Junosphere

    基于云的网络测试和训练环境。官网:www.junosphere.net 概述 Junosphere云是一个用户可以...

  • 理解mpls.0及inet.3

    https://community.juniper.net/communities/community-home/...

  • Android流量抓包工具--PacketCapture

    Android流量抓包 我们在WIFI环境通常相对容易定位问题,可以通过fiddler、charles等工具轻松抓...

网友评论

    本文标题:juniper 抓穿越流量

    本文链接:https://www.haomeiwen.com/subject/ntfscftx.html