Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.11.1.2
IP6RADV API

This document provides a brief description of the IP6RADV OpEN APIs. It provides the following services:

Example C Application ip6radv_example

Initialization

In the main function, the sample application initializes the OpEN API RPC service by calling openapiClientRegister() and waits for the RPC service in switchdrvr to start. A Client Handle is returned by openapiClientRegister() which is used while invoking the OpEN APIs. The application then exercises the associated OpEN APIs and logs informational and/or error messages on the console. The example application runs to its completion and exits.

ip6radv_example

ip6radv_example.c is a sample application that demonstrates the use of OpEN's IP6RADV APIs. ip6radv_example is started from the command line and can be used to exercise the various APIs by specifying arguments on the command line.

Sample Output

IP6RADV CLI/API Cross Reference

CLI Command OpEN API Reference
(localhost)(Interface vlan 10)#
ipv6 nd ra-interval <max> <min>
openapiIp6RtrRadvMinAdvIntSet()
(Privileged exec Mode)#
show running-config
openapiIp6RtrRadvMinAdvIntGet()
(localhost)(Interface vlan 10)#
ipv6 nd ra-interval <max> <min>
openapiIp6RtrRadvMaxAdvIntSet()
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6RtrRadvMaxAdvIntGet()

(localhost)(Interface vlan 10)#
ipv6 nd ra-lifetime

openapiIp6RtrRadvAdvLifetimeSet()
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6RtrRadvAdvLifetimeGet()

(localhost)(Interface vlan 10)#
ipv6 nd mtu

openapiIp6RtrRadvAdvMtuSet()
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6RtrRadvAdvMtuGet()

(localhost)(Interface vlan 10)#
ipv6 nd router-preference {low|medium|high} | openapiIp6RtrRadvRtrPrefSet() (Privileged exec Mode)#
show ipv6 interface [<interface>] | openapiIp6RtrRadvRtrPrefGet() (localhost)(Interface vlan 10)#
ipv6 nd managed-config-flag | openapiIp6RtrRadvManagedFlagSet() (Privileged exec Mode)#
show ipv6 interface [<interface>] | openapiIp6RtrRadvManagedFlagGet() (localhost)(Interface vlan 10)#
ipv6 nd other-config-flag | openapiIp6RtrRadvOtherCfgFlagSet() (Privileged exec Mode)#
show ipv6 interface [<interface>] | openapiIp6RtrRadvOtherCfgFlagGet() (localhost)(Interface vlan 10)#
ipv6 nd ra hop-limit unspecified | openapiIp6RtrRadvHopLimitUnspec() (Privileged exec Mode)#
show ipv6 interface [<interface>] | openapiIp6RtrRadvHopLimitUnspecGet() (Privileged exec Mode)#
show ipv6 interface [<interface>] | openapiIp6RtrRadvPrefixGet() (localhost)(Interface vlan 10)#
ipv6 nd prefix | openapiIp6RtrRadvPrefixSet() (localhost)(Interface vlan 10)#
ipv6 nd suppress-ra | openapiIp6RtrRadvSuppressSet() (Privileged exec Mode)#
show ipv6 interface [<interface>] | openapiIp6RtrRadvSuppressGet()