Skip to content

Pica8 OpenNAC

Jim Burns edited this page Sep 7, 2015 · 3 revisions
  1. Configure Pica8 switch to use RESTCONF API (it is a prerequisite for OpenNAC API)

  2. Now you need to configure OpenNAC parameters on the SDN Developer Lab

    1. On SDN Developer Lab, you need to add the switch on the Devices table (if you already added the device then you do not need to add it again, just double check the values and then 'Reconnect Device').

      1. On the Devices table click Add Device
      2. Enter the values about your device from following table (see below table on how to obtain these values), when complete click save.
      Add Device Field Value To Enter
      Friendly Name Enter a string that will mean something to you. (e.g. MyHPSwitch)
      Local IPv4 Address LOCAL-IP
      Local MAC LOCAL-MAC
      Gateway IP Address GW-IP
      Gateway Mask GW-MASK
      Gateway MAC GW-MAC
      PORTS PORTS
      WAN PORT WAN-PORT
      Datapath Id DPID
  3. On an endpoint connected to the Pica8-enabled switch, print the route table and in the output, on the line with a destination of 'default' collect the IP Address for Gateway (call this GW-IP).

    route
  4. On an endpoint connected to the Pica8-enabled switch, obtain the MAC address for GW-IP using arp command (call this GW-MAC).

    arp -a 10.0.2.2
  5. Verify or reconnect switch

Clone this wiki locally