You are on page 1of 4

Specify the name, description, and session details for the new port

mirroring session.
Procedure
Log in to the vSphere Client and select the Networking inventory view.
1
Right-click the vSphere distributed switch in the inventory pane, and select
Edit Settings.
2
On the Port Mirroring tab, click Add.
3
Enter a Name and Description for the port mirroring session.
4
(Optional) Select Allow normal IO on destination ports to allow normal IO
traffic on destination ports.
If you do not select this option, mirrored traffic will be allowed out on
destination ports, but no traffic will be allowed in.
5
(Optional) Select Encapsulation VLAN to create
encapsulates all frames at the destination ports.

VLAN

ID

that

If the original frames have a VLAN and Preserve original VLAN is not
selected, the encapsulation VLAN replaces the original VLAN.
6
(Optional) Select Preserve original VLAN to keep the original VLAN in an
inner tag so mirrored frames are double encapsulated.
This option is available only if you select Encapsulation VLAN.
7
(Optional) Select Mirrored packet length to put a limit on the size of
mirrored frames.
If this option is selected, all mirrored frames are truncated to the specified
length.
8

Click Next.
9
Procedure
Choose whether to use this source for Ingress or Egress traffic, or
choose Ingress/Egress to use this source for both types of traffic.
1
Type the source port IDs and click >> to add the sources to the port
mirroring session.
Separate multiple port IDs with a comma.
2
Click Next.
3
Choose Port Mirroring Destinations
Select ports, or uplinks as destinations for the port mirroring session.
Port Mirroring is checked against the VLAN forwarding policy. If the VLAN of
the original frames is not equal to or trunked by the destination port, the
frames are not mirrored.

Choose Port Mirroring Destinations

Procedure
Choose the Source type.
1
Port: Type in one or more Port IDs to use as a destination for the port
Por mirroring session. Separate multiple IDs with a comma.
t

Uplin :
Select one or more uplinks to use as a destination for the port
k
mirroring session

Click >> to add the selected destinations to the port mirroring session.
2
(Optional) Repeat the above steps to add multiple destinations.
3
Click Next.
4
Verify New Port Mirroring Settings
Verify and enable the new port mirroring session.
Procedure
Verify that the listed name and settings for the new port mirroring session
are correct.
1
(Optional) Click Back to make any changes.
2
(Optional) Click Enable this port mirroring session to start the port
mirroring session immediately.
3
Click Finish.
4
View Port Mirroring Session Details
View port mirroring session details, including status, sources, and destinations.
Procedure
Log in to the vSphere Client and select the Networking inventory view.
1
2
Right-click the vSphere distributed switch in the inventory pane, and select Edit Settings.

On the Port Mirroring tab, select the port mirroring session to view.
Details for the selected port mirroring session appear under Port Mirroring Session Details.
3
(Optional) Click Edit to edit the details for the selected port mirroring session.
4
(Optional) Click Delete to delete the selected port mirroring session.
5
(Optional) Click Add to add a new port mirroring session.
6

You might also like