# Data Object - DvsMacNetworkRuleQualifier(vim.dvs.TrafficRule.MacQualifier)

Extends
  DvsNetworkRuleQualifier
See also
  IntExpression, MacAddress
Since
  vSphere API 5.5

## Data Object Description

This class defines the MAC Rule Qualifier. Here MAC addresses of source and destination will be used for classifying packets.

Properties

Name | Type | Description
--- | --- | ---
destinationAddress* | MacAddress | MAC address for destination. If this property is NULL, it will match "any MAC address".
protocol* | IntExpression | Protocol used. This corresponds to the EtherType field in Ethernet frame. The valid values can be found from IEEE list at: http://standards.ieee.org/regauth/ as mentioned in RFC 5342.
sourceAddress* | MacAddress | MAC address for source. If this property is NULL, it will match "any MAC address".
vlanId* | IntExpression | vlan id.
Properties inherited from DvsNetworkRuleQualifier
key
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="DvsMacNetworkRuleQualifier"> <complexContent> <extension base="vsan:DvsNetworkRuleQualifier"> <sequence> <element name="sourceAddress" type="vsan:MacAddress" minOccurs="0"/> <element name="destinationAddress" type="vsan:MacAddress" minOccurs="0"/> <element name="protocol" type="vsan:IntExpression" minOccurs="0"/> <element name="vlanId" type="vsan:IntExpression" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>