Shutting down an interface by OpenFlow

After an interface is shut down by OpenFlow, the Current state field displays OFP DOWN in the display interface command output.

You can use the undo openflow shutdown command to bring up an interface shut down by OpenFlow. The interface can also be brought up by port modification messages from controllers.

To shut down an interface by OpenFlow:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Shut down the interface by OpenFlow.

openflow shutdown

By default, an interface is not shut down by OpenFlow.