EndpointProfile Subscribe

Verification

This test verifies the ability of the third party system to subscribe to the published Endpoint Profile topic.

Definition

The registered pxGrid client will subscribe to the EndpointProfileMetaData capability to obtain changes or modifications in the global profiling policy. Session notifications will include the Endpoint profile id, name, and fully qualified name.

Example

In this example, a pxGrid EndpointProfile Example policy will be created based on the static MAC address of the user's PC. Session notifications are seen on the running Linux script in real-time when the pxGrid client subscribes to the EndpointprofileMetadata capability and when there are any modifications to the ISE profiling policies

  1. Run endpointprofile_subscribe script

./endpointprofile_subscribe.sh -a 10.0.0.37 -u mac -k alpha.jks -p cisco123 -t alpha_root.jks -q cisco123

Results: Refer to the right hand panel.

EndpointProfile Subscribe

------- properties -------

version=1.0.2-30-SNAPSHOT

hostnames=10.0.0.37

username=mac

group=Session

description=null

keystoreFilename=alpha.jks

keystorePassword=cisco123

truststoreFilename=alpha_root.jks

truststorePassword=cisco123

--------------------------

10:14:02.627 [Thread-1] INFO com.cisco.pxgrid.ReconnectionManager - Started

Connecting...

Connected

10:14:04.268 [Thread-1] INFO com.cisco.pxgrid.ReconnectionManager - Connected

Press <enter> to disconnect...
  1. Select Administration > pxGrid Services

  1. Select Policy > Profiling > Add
- Provide the policy name and description. - Under If Condition > Create New Condition > IP > {provide the IP address of the device accessing the network} - Select **Submit**.

  1. An endpoint profile subscription notification that the profiling policy created has been added is received.

./endpointprofile_subscribe.sh -a 10.0.0.37 -u mac -k alpha.jks -p cisco123 -t alpha_root.jks -q cisco123

------- properties -------

version=1.0.2-30-SNAPSHOT

hostnames=10.0.0.37

username=mac

group=Session

description=null

keystoreFilename=alpha.jks

keystorePassword=cisco123

truststoreFilename=alpha_root.jks

truststorePassword=cisco123

--------------------------

10:14:02.627 [Thread-1] INFO com.cisco.pxgrid.ReconnectionManager - Started

Connecting...

Connected

10:14:04.268 [Thread-1] INFO com.cisco.pxgrid.ReconnectionManager - Connected

Press <enter> to disconnect...EndpointProfileChangedNotification (changetype=ADD) Device profile : id=a5469840-3150-11e5-9b58-000c29878d1f, name=Add_Device, fqname=Add_Device