Technical Documentation

port-mirroring

Syntax

port-mirroring {input {maximum-packet-length bytes;rate number;run-length number;}family (ccc | inet | inet6 | vpls) {output {interface interface-name {next-hop address;}no-filter-check;}}instance {instance-name {input {maximum-packet-length bytes;rate number;run-length number;}family (ccc | inet | inet6 | vpls) {output {interface interface-name {next-hop address;}no-filter-check;}}}}mirror-once;traceoptions {file filename <files number> <size bytes> <world-readable | no-world-readable>;}}

Hierarchy Level

Release Information

Statement introduced before JUNOS Release 7.4.

family vpls statement introduced in JUNOS Release 9.3 (MX Series routers only); support extended to M7i, M10, M120, and M320 routers in JUNOS Release 9.5.

instance port-mirroring-instance-name statement introduced in JUNOS Release 9.3 (MX Series routers only); support extended to M120 and M320 routers in JUNOS Release 9.5.

mirror-once statement introduced in JUNOS Release 9.3 (MX Series routers only); support extended to M120 routers in JUNOS Release 9.5.

family ccc statement introduced in JUNOS Release 9.6 (M120 and M320 routers only)

Description

Specify the address family, rate, run length, interface, and next-hop address for sending copies of packets to an analyzer.

The statements are explained separately.

Note: For information about configuring port mirroring for Layer 2 traffic on MX Series routers, see the JUNOS MX Series Ethernet Services Routers Solutions Guide.

Required Privilege Level

interface—To view this statement in the configuration.

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


Published: 2010-04-15