family (Port Mirroring)
Syntax
family {
any {
output {
(
interface name {
next-hop name;
}
next-hop-group next-hop-group
file name {
linear;
max-size max-size;
}
forwarding-class forwarding-class;
hosted-service {
server-profile server-profile;
}
no-filter-check;
policer policer;
}
}
ccc {
output {
(
bridge-domain name;
interface interface
next-hop-group next-hop-group
routing-instance name {
bridge-domain name;
vlan name { no-tag
}
} |
vlan name { no-tag
}
mirror-profile mirror-profile;
no-filter-check;
}
}
ethernet-switching {
output {
{
bridge-domain name;
interface interface
next-hop-group next-hop-group
routing-instance name {
bridge-domain name;
vlan name { no-tag
}
}
vlan name { no-tag
}
mirror-profile mirror-profile;
no-filter-check;
}
}
inet {
output {
(
interface name {
next-hop name;
}
next-hop-group next-hop-group
dscp dscp;
file name {
linear;
max-size max-size;
}
forwarding-class forwarding-class;
ip-address ip-address;
mirror-profile mirror-profile;
no-filter-check;
policer policer;
routing-instance name {
dscp dscp;
ip-address ip-address;
source-ip-address source-ip-address;
}
server-profile server-profile;
source-ip-address source-ip-address;
}
}
inet6 {
output {
(
interface name {
next-hop name;
}
next-hop-group next-hop-group
dscp dscp;
file name {
linear;
max-size max-size;
}
forwarding-class forwarding-class;
ipv6-address ipv6-address;
mirror-profile mirror-profile;
no-filter-check;
policer policer;
routing-instance name {
dscp dscp;
ipv6-address ipv6-address;
source-ipv6-address source-ipv6-address;
}
server-profile server-profile;
source-ipv6-address source-ipv6-address;
}
}
mpls {
output {
server-profile server-profile;
}
}
vpls {
output {
(
bridge-domain name;
interface interface | next-hop-group next-hop-group
routing-instance name {
bridge-domain name;
vlan name { no-tag
}
}
vlan name { no-tag
}
mirror-profile mirror-profile;
no-filter-check;
}
}
}Syntax (MX Series, EX Series Switches and SRX Series Firewalls)
family (inet | inet6) {
output {
interface interface-name {
next-hop address;
}
no-filter-check;
}
}
Syntax: QFX Series (but not QFX10000) and EX4600 Switches and NFX Series Devices
family ethernet-switching { output { interface interface-name { } no-filter-check; } vlan vlan-name { no-tag; } } inet output { ip-address address { } routing-instance instance-name { ip-address address { } }
Hierarchy Level
[edit forwarding-options port-mirroring]
Description
Specify the type of interface that will be used to forward port mirrored packet to an
analyzer device. Configure the protocol family to be sampled. Only IPv4
(inet) and IPv6 (inet6) are supported.
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.
routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4 .