Page 2
END USER LICENSE AGREEMENT The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networks software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at http://www.juniper.net/support/eula.html.
Copy Packets to a Local Interface for Local Monitoring ....13 Configuring Mirroring on EX9200 Switches to Analyze Traffic (CLI Procedure) ........... . . 13 Configuring an Analyzer for Local Traffic Analysis .
Page 4
Example: Configuring Mirroring to Multiple Interfaces for Remote Monitoring of Employee Resource Use on EX9200 Switches ......41 Example: Configuring Mirroring for Remote Monitoring of Employee Resource Use Through a Transit Switch on EX9200 Switches .
® To obtain the most current version of all Juniper Networks technical documentation, see the product documentation page on the Juniper Networks website at http://www.juniper.net/techpubs/ If the information in the latest release notes differs from the information in the documentation, follow the product Release Notes.
Port Mirroring Analyzers Feature Guide for EX9200 Switches If the example configuration does not start at the top level of the hierarchy, the example is a snippet. In this case, use the command. These procedures are load merge relative described in the following sections.
Page 12
Port Mirroring Analyzers Feature Guide for EX9200 Switches Table 2: Text and Syntax Conventions (continued) Convention Description Examples Fixed-width text like this Represents output that appears on the user@host> show chassis alarms terminal screen. No alarms currently active Italic text like this...
We encourage you to provide feedback, comments, and suggestions so that we can improve the documentation. You can provide feedback by using either of the following methods: Online feedback rating system—On any page of the Juniper Networks TechLibrary site , simply click the stars to rate the content, http://www.juniper.net/techpubs/index.html and use the pop-up form to provide us with information about your experience.
Port Mirroring Analyzers Feature Guide for EX9200 Switches Download the latest versions of software and review release notes: http://www.juniper.net/customers/csc/software/ Search technical bulletins for relevant hardware and software notifications: http://kb.juniper.net/InfoCenter/ Join and participate in the Juniper Networks Community Forum: http://www.juniper.net/company/communities/ Open a case online in the CSC Case Management tool: http://www.juniper.net/cm/...
Port Mirroring Analyzers Feature Guide for EX9200 Switches Understanding Port Mirroring Analyzers Port mirroring can be used for traffic analysis on routers and switches that, unlike hubs, do not broadcast packets to every port on the destination device. Port mirroring sends copies of all packets or policy-based sample packets to local or remote analyzers where you can monitor and analyze the data.
Page 20
Port Mirroring Analyzers Feature Guide for EX9200 Switches Table 3: Analyzer Terminology (continued) Term Description A destination for mirrored packets (either a monitor port, VLAN, or bridge domain) Analyzer output interface Interface to which mirrored traffic is sent and to which a protocol analyzer application is connected.
Page 22
Port Mirroring Analyzers Feature Guide for EX9200 Switches Table 4: Configuration Guidelines for Port Mirroring Analyzers (continued) Value or Support Guideline Information Comment Types of ports on which you cannot mirror Virtual Chassis ports traffic. (VCPs) Management Ethernet ports (me0 or vme0)
Resource Use on page 19 Configuring Mirroring on EX9200 Switches to Analyze Traffic (CLI Procedure) EX9200 switchesenable you to configure mirroring to send copies of packets to either a local interface for local monitoring or to a VLAN for remote monitoring. You can use...
Port Mirroring Analyzers Feature Guide for EX9200 Switches NOTE: Interfaces used as output for an analyzer must be configured under , and must be associated to a VLAN. ethernet-switching family Configuring an Analyzer for Local Traffic Analysis on page 14...
Page 30
Port Mirroring Analyzers Feature Guide for EX9200 Switches user@switch# set analyzer employee-monitor output interface interface-name For example, configure ge-0/0/10.0 as the destination interface for the mirrored packets: [edit forwarding-options] user@switch# set analyzer employee-monitor output interface ge-0/0/10.0 Specify mirroring properties. a. Specify the mirroring rate—that is, the number of packets to be mirrored per second:...
Configuring an Analyzer with Multiple Destinations by Using Next-Hop Groups On EX9200 switches, you can mirror traffic to multiple destinations by configuring next-hop groups as analyzer output. The mirroring of packets to multiple destinations is also known as multipacket port mirroring.
Example: Configuring Port Mirroring Analyzers for Local Monitoring of Employee Resource Use Juniper Networks devices allow you to configure port mirroring to send copies of packets to either a local interface for local monitoring or to a VLAN or bridge domain for remote monitoring.
Page 34
Requirements Use either one of the following hardware and software components: One EX9200 switch with Junos OS Release 13.2 or later One MX Series router with Junos OS Release 14.1 or later Before you configure port mirroring, be sure you have an understanding of mirroring concepts.
Page 36
Port Mirroring Analyzers Feature Guide for EX9200 Switches MX Series To configure on an interface, you need to configure family bridge interface-mode as well. You also must configure access interface-mode trunk vlan-id [edit] set interfaces ge-0/0/0 unit 0 family bridge interface-mode access vlan-id 99...
Through a Transit Switch on EX9200 Switches on page 50 Configuring Mirroring on EX9200 Switches to Analyze Traffic (CLI Procedure) EX9200 switchesenable you to configure mirroring to send copies of packets to either a local interface for local monitoring or to a VLAN for remote monitoring. You can use...
Port Mirroring Analyzers Feature Guide for EX9200 Switches NOTE: If you want to create additional analyzers without deleting the existing analyzers, then disable the existing analyzers by using the disable analyzer analyzer-name statement from the command-line-interface (CLI) or from the J-Web configuration page for mirroring.
Page 42
Port Mirroring Analyzers Feature Guide for EX9200 Switches user@switch# set analyzer (Port Mirroring) analyzer-name input ingress interface interface-name [edit forwarding-options] user@switch# set analyzer employee-monitor input ingress interface ge–0/0/1.0 For example, specify an analyzer called and specify the input employee-monitor interfaces ge-0/0/0 and ge-0/0/1:...
Page 44
Configuring an Analyzer with Multiple Destinations by Using Next-Hop Groups On EX9200 switches, you can mirror traffic to multiple destinations by configuring next-hop groups as analyzer output. The mirroring of packets to multiple destinations is also known as multipacket port mirroring.
Example: Configuring Port Mirroring for Remote Monitoring of Employee Resource Use Juniper Networks devices allow you to configure port mirroring to send copies of packets to either a local interface for local monitoring or to a VLAN or bridge domain for remote monitoring.
Page 46
Requirements This example uses one of the following pairs of hardware and software components: One EX9200 switch connected to another EX9200 switch, both running Junos OS Release 13.2 or later One MX Series router connected to another MX Series router, both running Junos OS Release 14.1 or later...
Page 48
Port Mirroring Analyzers Feature Guide for EX9200 Switches Copy and paste the following commands in the source switching device’s terminal window: EX Series [edit] set vlans remote-analyzer vlan-id 999 set interfaces ge-0/0/10 unit 0 family ethernet-switching interface-mode access set interfaces ge-0/0/10 unit 0 family ethernet-switching vlan members 999 set forwarding-options analyzer employee-monitor input ingress interface ge-0/0/0.0...
Page 52
Port Mirroring Analyzers Feature Guide for EX9200 Switches set forwarding-options analyzer employee-monitor input ingress bridge-domain remote-analyzer set forwarding-options analyzer employee-monitor output interface ge-0/0/5.0 Step-by-Step To configure basic remote mirroring using MX Series routers: Procedure On the source switching device, do the following: Configure the VLAN ID for the bridge domain.
Page 54
Port Mirroring Analyzers Feature Guide for EX9200 Switches ge-0/0/1 { unit 0 { family bridge { interface-mode access; vlan-id 98; ge-0/0/10 { unit 0 { family bridge { interface-mode access; vlan-id 999; Check the results of the configuration on the destination switching device.
Example: Configuring Mirroring to Multiple Interfaces for Remote Monitoring of Employee Resource Use on EX9200 Switches EX9200 switchesallow you to configure mirroring to send copies of packets to either a local interface for local monitoring or to a VLAN for remote monitoring. You can use...
Page 56
Port Mirroring Analyzers Feature Guide for EX9200 Switches Packets entering or exiting a VLAN on You can analyze the mirrored traffic using a protocol analyzer application running on a remote monitoring station if you are sending mirrored traffic to an analyzer VLAN.
Page 58
Port Mirroring Analyzers Feature Guide for EX9200 Switches In this example: Interfaces ge-0/0/0 and ge-0/0/1 are Layer 2 interfaces (both interfaces on the source switch) that serve as connections for employee computers. Interfaces ge-0/0/10 and ge-0/0/11 are Layer 2 interfaces that are connected to different destination switches.
Page 60
Port Mirroring Analyzers Feature Guide for EX9200 Switches On the Destination 2 switch: Configure the VLAN ID for the VLAN: remote-analyzer [edit vlans] user@switch# set remote-analyzer vlan-id 999 Configure the ge-0/0/11 interface on the Destination 2 switch for access mode:...
Example: Configuring Mirroring for Remote Monitoring of Employee Resource Use Through a Transit Switch on EX9200 Switches on page 50 Configuring Mirroring on EX9200 Switches to Analyze Traffic (CLI Procedure) on page 13 Understanding Port Mirroring Analyzers on page 4...
Example: Configuring Mirroring for Remote Monitoring of Employee Resource Use Through a Transit Switch on EX9200 Switches EX9200 switchesenable you to configure mirroring to send copies of packets to either a local interface for local monitoring or to a VLAN for remote monitoring. You can use...
Page 66
Port Mirroring Analyzers Feature Guide for EX9200 Switches f. Interface ge-0/0/14 is a Layer 2 interface on the destination switch and connects to the remote monitoring station. g. VLAN is configured on all switches in the topology to carry the mirrored remote-analyzer traffic.
Page 70
Resource Use on EX9200 Switches on page 41 Example: Configuring Port Mirroring Analyzers for Local Monitoring of Employee Resource Use on page 19 Configuring Mirroring on EX9200 Switches to Analyze Traffic (CLI Procedure) on page 13 Understanding Port Mirroring Analyzers on page 4...
Level interface-control—To add this statement to the configuration. Related Example: Configuring Mirroring for Remote Monitoring of Employee Resource Use Documentation Through a Transit Switch on EX9200 Switches on page 50 ingress (vlans) Syntax ingress; Hierarchy Level [edit vlans vlan-name vlan-id number interface interface-name] Release Information Statement introduced in Junos OS Release 10.0 for EX Series switches.
Port Mirroring Analyzers Feature Guide for EX9200 Switches no-tag Syntax no-tag; Hierarchy Level [edit [edit forwarding-options analyzer] Configuration Statement Hierarchy analyzer-name output vlan (vlan-id | vlan-name)] Release Information Statement introduced in Junos OS Release 11.3 for EX Series switches. Hierarchy level [edit forwarding-options] introduced in Junos OS Release 13.2X50-D10...
Port Mirroring Analyzers Feature Guide for EX9200 Switches show forwarding-options analyzer Syntax show forwarding-options analyzer analyzer-name Release Information Hierarchy level [edit forwarding-options] introduced in Junos OS Release 13.2X50-D10 (ELS). Description Display information about analyzers configured for mirroring. Options analyzer-name —(Optional) Displays the status of a specific analyzer on the switch.
Need help?
Do you have a question about the EX9200 and is the answer not in the manual?
Questions and answers