Create or edit traffic rules, and use their parameters to configure a policy for filtering or marking the traffic on a distributed port group or uplink port group.

1

Locate a distributed port group or an uplink port group in the vSphere Web Client.

a

Select a distributed switch and click the Related Objects tab.

b

Click Distributed Port Groups to see the list of distributed port groups, or click Uplink Port Groups to see the list of uplink port groups.

2

Right-click the port group and select Edit settings.

3

Select Traffic filtering and marking.

4

If traffic filtering and marking is disabled, enable it from the Status drop-down menu.

5

Click New to create a new rule, or select a rule and click Edit to edit it.

Name the network traffic rule, and deny, allow, or tag the target traffic.