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

instance (Port Mirroring)

date_range 19-Nov-23

Syntax: MX, M and T Series Routers and SRX Series Firewalls

content_copy zoom_out_map
instance instance-name {
    disable;
    input {
        rate number;
        maximum-packet-length bytes
    }
    family (any | inet | inet6 | vpls) {
        output {
            (next-hop-group group-name | interface interface-name);
        }
    }
}

Syntax: QFX Series (but not QFX10000) and EX4600 Switches and NFX Series Devices

content_copy zoom_out_map
instance instance-name{
    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 {
                }
            }
        }
    }

Syntax: QFX10000 Switches

content_copy zoom_out_map
instance instance-name {
    input {
        rate number;
        run-length value;
    }
    output {
        dscp dscp-value; 
        forwarding-class class-name;     
        ip-destination-address address;    
        ip-source-address address;    
        policer policer-name;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit forwarding-options port-mirroring]

Description

Specify a port-mirroring configuration (instance). You do not specify an input for this instance. Instead, you, create a firewall filter that specifies the required traffic and directs it to the mirror. This is useful for controlling which types of traffic should be mirrored.

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 in Junos OS Release 9.6.

footer-navigation