24
Examples
# Configure a MAC-IP flow table with ID 0 and an extensibility flow table with ID 1 for OpenFlow
instance 1.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] flow-table mac-ip 0 extensibility 1
forbidden port
Use
forbidden port
to forbid an OpenFlow instance from reporting ports of the specified types to
controllers.
Use
undo forbidden port
to restore the default.
Syntax
forbidden port
{
l3-physical-interface
|
vlan-interface
|
vsi-interface
}
*
undo forbidden port
Default
An OpenFlow instance is not forbidden from reporting ports of specified types to controllers. All ports
that belong to the OpenFlow instance are reported to the controllers.
Views
OpenFlow instance view
Predefined user roles
network-admin
Parameters
l3-physical-interface
: Specifies Layer 3 Ethernet interfaces and Layer 3 aggregate
interfaces that belong to an OpenFlow instance.
vlan-interface
: Specifies VLAN interfaces that belong to an OpenFlow instance.
vsi-interface
: Specifies virtual switch instance (VSI) interfaces that belong to an OpenFlow
instance.
Examples
# Forbid OpenFlow instance 1 from reporting VLAN interfaces that belong to the OpenFlow instance
to controllers.
<Sysname> system-view
[
Sysname
]
openflow instance 1
[
Sysname-of-inst-1
]
forbidden port l3-physical-interface
listening port
Use
listening port
to configure an OpenFlow instance to act as an SSL server to listen to
controllers.
Use
undo listening port
to restore the default.
Syntax
listening port port-number ssl ssl-policy-name
undo listening port