Monitoring and Analyzing Switch Operation

Contents

Mirroring Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-24 Mirrored Traffic Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-26 Local Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-26 Monitored Traffic Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-26 Criteria for Selecting Mirrored Traffic . . . . . . . . . . . . . . . . . . . . . . . . B-26 Mirroring Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-26 Mirroring Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-27 Endpoint Switches and Intermediate Devices . . . . . . . . . . . . . . B-28 Using the Menu or Web Interface To Configure Local Mirroring . . B-29 Menu and Web Interface Limits . . . . . . . . . . . . . . . . . . . . . . . . . . B-29 Configuration Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-30 CLI: Configuring Local Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-33 Local Mirroring Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-33 1. Determine the Mirroring Session and Destination . . . . . . . . . . . . B-35

2. Configure a Mirroring Session on the Source Switch . . . . . . . . . . B-35

3. Configure the Monitored Traffic in a Mirror Session . . . . . . . . . . B-35 Traffic Selection Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-36Mirroring-Source Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . B-36 Selecting All Inbound/Outbound Traffic to Mirror . . . . . . . . . . . . . . B-36 Displaying a Mirroring Configuration . . . . . . . . . . . . . . . . . . . . . . . . . B-38 Displaying the Mirroring Configuration Summary . . . . . . . . . . B-38 Viewing Mirroring in the Current Configuration File . . . . . . . . B-40 Mirroring Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . B-41 Local Mirroring Using Traffic-Direction Criteria . . . . . . . . . . . . B-41 Maximum Supported Frame Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-42 Enabling Jumbo Frames To Increase Mirroring Path MTU . . . B-43

Effect of Downstream VLAN Tagging on

Untagged, Mirrored Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-44

Operating Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-45

Troubleshooting Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-47

B-2