Printer FriendlyEmail Article Link

STC Automation: Why the MPLS header has a Destinatio MAC address?

Environment/Versions
  • Spirent TestCenter.
  • Automation.
  • MPLS Header.
Answer
The Destination MAC address in the MPLS header is not a part of the MPLS protocol, this field is used as an API parameter to provide the user some flexibility to construct more complex scenarios.

The API document is auto-generated following the field definition.

The definition of MPLS.dstMac.

The dstMac address is defined as:
  
<FIELD name="dstMac" type="MACADDR"
defaultValue="00:00:01:00:00:01"
doNotBuild="true"
uiNoShow="Filter,Frame,Interface"
uiShowName="Next Hop MAC" />

For the API usage, in STC BLL MplsIf data model, it also has [Destination MAC Address] configuration item. That means this item could be configured from outside.
 

Product : Automation,Spirent TestCenter,MPLS