Monitoring and Analyzing Switch Operation

Traffic Mirroring

IP address of source switch and

 

 

 

 

 

 

IP address of remote

UDP port number used in session 2

 

 

 

 

 

 

destination switch

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1Switch-A(config)# mirror 2 remote ip 10.10.10.119 9400 10.10.40.1

Caution: Please configure destination switch first.

2Do you want to continue [y/n]? ySwitch-A(config)# interface c12 monitor all in mirror 2

 

 

Directional criteria for

 

Mirror

Monitored

 

 

interface

 

selecting all inbound traffic

 

session

 

 

 

 

 

 

 

 

 

 

1

2

Configures the IP address and UDP port number on the source switch used to mirror traffic in session 2, and the IP address of the remote switch with the remote exit port connected to the traffic analyzer.

Configures all in bound traffic on port C12 (monitored interface) to be mirrored in session 2.

Figure B-56. Configuring a Remote Mirroring Session for Inbound Port Traffic

 

Maximum Supported Frame Size

 

The IPv4 encapsulation of mirrored traffic adds a 54-byte header to each

 

mirrored frame. If a resulting frame exceeds the MTU (Maximum Transmis­

 

sion Unit) allowed in the network, the frame is dropped.

 

 

N o t e

Mirroring does not truncate frames, and oversized mirroring frames will be

 

dropped. Also, remote mirroring does not allow downstream devices in a

 

mirroring path to fragment mirrored frames.

 

If jumbo frames are enabled on the mirroring source switch, then the mirroring

 

destination switch and all downstream devices connecting the source switch

 

to the mirroring destination must be configured to support jumbo frames.

 

 

B-92