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

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

Example C Application ip6map_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.

ip6map_example

ip6map_example.c is a sample application that demonstrates the use of OpEN's IP6Map APIs. ip6map_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

IP6Map CLI/API Cross Reference

CLI Command OpEN API Reference
(Privileged exec Mode)#
show ipv6 vrf <vrf-name>
openapiIp6VrRtrAdminModeGet
(localhost)(config-vrf-test)#
iipv6 unicast-routing
openapiIp6VrRtrAdminModeSet
(Privileged exec Mode)#
show ipv6 brief
openapiIp6VrNbrsDynRenewGet
(localhost)(config-vrf-test)#
iipv6 neighbors dynamicrenew
openapiIp6VrNbrsDynRenewSet
(localhost)(config-vrf-test)#
ipv6 nud backoff-multiple <1-5>
openapiIp6VrNudBackoffMultipleSet
(Privileged exec Mode)#
show running-config
openapiIp6VrNudMaxUnicastSolicitsGet
(localhost)(config-vrf-test)#
ipv6 nud max-unicast-solicits <3-10>
openapiIp6VrNudMaxUnicastSolicitsSet
(Privileged exec Mode)#
show ipv6 brief
openapiIp6VrNudMaxMcastSolicitsGet
(localhost)(config-vrf-test)#
ipv6 nud max-multicast-solicits <3-10>
openapiIp6VrNudMaxMcastSolicitsSet
(Privileged exec Mode)#
show ipv6 brief
openapiIp6UnresolvedRateLimitGet
(localhost)(Config)#
ipv6 unresolved-traffic rate-limit <rate-in-pps>
openapiIp6UnresolvedRateLimitSet
(localhost)(Config)#
ipv6 neighbor <ipv6_address>
openapiIp6MapNbrIntfIsValid
(Privileged exec Mode)#
show ipv6 brief
openapiIp6VrRtrDefaultTTLGet
(localhost)(config)#
ipv6 hop-limit <hops>
openapiIp6VrRtrDefaultTTLSet
(localhost)(config-vrf-test)#
ipv6 hop-limit <hops>
openapiIp6VrRtrDefaultTTLSet
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6RtrIntfModeGet
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6RtrIntfOperModeGet
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6RtrIntfAutoStateModeGet
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6IntfExists
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6MapIntfValidFirstGet
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6MapIntfValidNextGet
(Privileged exec Mode)#
show running-config
openapiIp6RtrIntfIpv6MtuGet
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6RtrIntfIpv6EffectiveMtuGet
(localhost)(Interface vlan 10)#ipv6 mtu <bytes> openapiIp6RtrIntfMaxIpv6MtuGet

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

openapiIp6RtrIntfMaxIpv6MtuGet
(Privileged exec Mode)#
show ipv6 interface [<interface>]
openapiIp6RtrIntfBandwidthGet