output (Port Mirroring)
Syntax
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
[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.