Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

output (Port Mirroring)

date_range 13-Jun-24

Syntax

content_copy zoom_out_map
output {
      file file-name {
          linear;
          max-size value;
        }
    interface interface-name {
        next-hop address;
    }
    next-hop-group group-name{
        group-type inet6;
        interface interface-name {
            next-hop ipv6-address;
        }
        next-hop-subgroup group-name{
            interface interface-name {
                next-hop ipv6-address;
            }
        }
    }
    no-filter-check;
    server-profile server-profile-name;
}

Hierarchy Level

content_copy zoom_out_map
[edit forwarding-options port-mirroring family (any | ccc | inet | inet6 | mpls | vpls)],
[edit forwarding-options port-mirroring instance instance-name family (any | ccc | inet | inet6 | mpls | vpls)]

Description

Configure the port-mirroring destination properties.

Options

file file-name—PCAP file to save self-mirrored packets to.

linear—Write mode of the mirrored-packet file. (The default write mode is circular.)

max-size value—Maximum size of the mirrored-packet file. Up to 5MB.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

vpls option introduced in Junos OS Release 9.3 for MX Series routers only; support extended to M7i, M10i, M120, and M320 routers in Junos OS Release 9.5.

ccc option introduced in Junos OS Release 9.6 for M120 and M320 routers only.

server-profile option introduced in Junos OS Release 13.2 for PTX Series Packet Transport Routers only.

next-hop-group option introduced for family inet6 in Junos OS Release 14.2 for MX Series routers only.

footer-navigation