|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.11.1.2
|
This document provides a brief description of the openapi_snooping_ext OpEN APIs. It provides the following services:
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.
openapi_snooping_example_ext.c is a sample application that demonstrates the use of OpEN's openapi_snooping_ext APIs. openapi_snooping_example_ext is started from the command line and can be used to exercise the various APIs by specifying arguments on the command line.
| CLI Command | OpEN API Reference |
|---|---|
| (Config)# [no] set igmp fast-leave auto-assignment | openapiSnoopFastLeaveAutoAssignmentModeSet |
| (Config)# [no] set igmp-plus | openapiSnoopIgmpPlusModeSet |
| (Config)# [no] set mld-plus | openapiSnoopIgmpPlusModeSet |
| (Interface-Config Mode)# set igmp fast-leave <intf> | openapiSnoopIntfFastLeaveOperModeSet |
| (Interface-Config Mode)# set mld fast-leave <intf> | openapiSnoopIntfFastLeaveOperModeSet |
| (Interface-Config Mode)# set igmp mcrtrexpiretime <intf> | openapiSnoopIntfMcastRtrExpiryTimeSet |
| (Interface-Config Mode)# set mld mcrtrexpiretime <intf> | openapiSnoopIntfMcastRtrExpiryTimeSet |
| (Interface-Config Mode)# set igmp mrouter <intf> | openapiSnoopIntfMrouterSet |
| (Interface-Config Mode)# set mld mrouter <intf> | openapiSnoopIntfMrouterSet |
| (Interface-Config Mode)# set igmp exclude-mrouter-intf <intf> | openapiSnoopMrtrExcludeModeSet |
| (Interface-Config Mode)# set mld exclude-mrouter-intf <intf> | openapiSnoopMrtrExcludeModeSet |
| (Config)# [no] set igmp flood-report | openapiSnoopReportFloodModeSet |
| (VLAN-Config Mode)# [no] set igmp-plus <vlan-id> | openapiSnoopVlanIgmpPlusModeSet |
| (VLAN-Config Mode)# [no] set mld-plus <vlan-id> | openapiSnoopVlanIgmpPlusModeSet |
| (VLAN-Config Mode)# [no] set igmp mcrtrexpiretime <vlan-id> | openapiSnoopVlanMcastRtrExpiryTimeSet |
| (VLAN-Config Mode)# [no] set mld mcrtrexpiretime <vlan-id> | openapiSnoopVlanMcastRtrExpiryTimeSet |
| (VLAN-Config Mode)# [no] set igmp exclude-mrouter-intf <vlan-id><intf> | openapiSnoopVlanMrtrExcludeModeSet |
| (VLAN-Config Mode)# [no] set mld exclude-mrouter-intf <vlan-id><intf> | openapiSnoopVlanMrtrExcludeModeSet |
| (VLAN-Config Mode)# [no] set igmp flood-report <vlan-id> | openapiSnoopVlanReportFloodModeSet |