Configuring an Application Map for DCBX Application Protocol TLV Exchange
After you define applications for which you want to exchange DCBX application protocol information, map the applications to IEEE 802.1p code points. The IEEE 802.1p code points identify incoming traffic and allow you to map that traffic to the desired application. You then apply the application map to the interfaces on which you want DCBX to exchange application protocol information with connected peers. (See Related Documentation for how to define applications and apply the application map to interfaces, and for an example of the entire procedure that also includes classifier configuration.)
In Junos OS Release 12.1, the FCoE application was configured by default, so you did not need to configure it in an application map. In Junos OS Release 12.2, if you want DCBX to advertise the FCoE application on an interface and you apply an application map to that interface, you must explicitly configure FCoE in the application map. You also must enable priority-based flow control (PFC) on the FCoE code point on all interfaces that you want to advertise FCoE. If you apply an application map to an interface, the interface sends DCBX TLVs only for the applications configured in the application map.
Configure an application map by creating an application map name and mapping an application to one or more IEEE 802.1p code points.
To define an application map, specify the name of the application map, the name of the application, and the IEEE 802.1p code points of the incoming traffic that you want to associate with the application in the application map:
[edit policy-options] user@switch# set application-maps application-map-name application application-name code-points [ aliases ] [ bit-patterns ]
For example, to configure an application map named
ptp-app-map
that includes an application namedPTP
(for Precision Time Protocol) and map the application to IEEE 802.1p code points001
and101
:user@switch# set policy-options application-maps ptp-app-map application ptp code points [ 001 101 ]