Configuring the Default Action

By default, the device drops packets that do not match any of the programmed flows. However, you can configure a device-level option to forward the packets to the controller instead of dropping them. This is an optional configuration. If this option is not configured, packets that do not match any flow entries on a port are dropped. When sending a packet to the controller, a copy of the packet is sent to each of the configured controller connections.

To enable the default action, enter the openflow default send-to-controller command.

device(config)# openflow default send-to-controller

Packets that match a flow entry on a port are processed according to the action specified and are not affected by this setting. Use the no form of the command to set the default action to drop such packets instead.