Monitoring and Analyzing Switch Operation

Traffic Mirroring

Switch A

 

VLAN 10

 

10.10.10.119

 

C12

 

Network

Server

 

Switch B

10.10.30.153

 

 

 

 

 

 

 

VLAN 20

 

 

 

 

Switch C

 

 

 

 

 

 

 

10.10.20.145

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VLAN 30

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Traffic

 

 

 

 

 

 

 

 

 

 

 

 

 

10.10.30.2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A20

 

A15

Analyzer 1

 

 

 

 

 

 

 

 

 

 

 

 

 

VLAN 40

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Traffic

B10

 

10.10.40.1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Analyzer 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10.20.40.7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure B-54. Sample Topology for Remote Mirroring from a Port Interface

To configure this remote mirroring session using a directional-based traffic selection on a port interface, the operator must take the following steps:

1.On remote switch C, configure the remote mirroring endpoint using port B10 as the exit port for a traffic analyzer (as described in “2. Configure a Mirroring Destination on a Remote Switch” on page B-50):

IP address of source switch and

 

IP Address of destination switch

UDP port number used in session 2

 

 

 

 

 

 

 

Switch-C(config)# mirror endpoint ip 10.10.10.119 940010.10.40.1

port b10 Remote exit port

Figure B-55. Configuring a Remote Mirroring Endpoint

2.On source switch A, configure session 2 to use UDP port 9400 to reach the remote mirroring endpoint on switch C (10.10.40.1):

mirror 2 remote ip 10.10.10.119 9400 10.10.40.1

3.On source switch A, configure the local port C12 to select all inbound traffic to send to the preconfigured mirroring destination for session 2: interface c12 monitor all in mirror 2

B-91