Basic Get ANC Endpoint by NAS IP Address Example ================================================ .. include:: This sample gets information for a Cisco Adaptive Network Control (ANC) endpoint via DXL and Cisco pxGrid. The sample identifies the endpoint by its NAS IP and MAC address. Prerequisites ************* * The samples configuration step has been completed (see :doc:`sampleconfig`). * The DXL fabric to which the client will connect has been bridged to Cisco pxGrid. * The Python client has been authorized to perform ``DXL Cisco pxGrid Queries`` (see :doc:`pxgridauth`). * Run through the steps in the :doc:`basicancapplyendpointpolicybyipexample` to apply a policy to an endpoint. A run of this example can then get policy information for the endpoint. Configuration ************* Update the following line in the sample: .. code-block:: python HOST_MAC = "