Deployment Guide
103
FJ6K0Z1_console> set openflow primary control
set openflow primary control <subcommand>
possible subcommands:
port set the primary OpenFlow control ports network IP address
set openflow primary control port command
Used to set the OpenFlow Control Network primary control port IP address and subnet mask in CIDR
notation for the port on this switch used for communications with the NEC PFC OpenFlow controller.
.
Example
4TBK0Z1_console> set openflow primary control port
set openflow primary control port <IP address/CIDR subnet>
Set the IP address of the primary OpenFlow control network port used for
communications with the NEC PFC OpenFlow controller
4TBK0Z1_console> set openflow primary control port 192.168.0.10/24
set openflow dpid command
Used to set the datapath id for the OFS that will be used for communication with controller. If the OFS is
connected to the controller then executing this command will result in a disconnect and re-connect to
the controller with the new dpid value.
Example
4TBK0Z1_console> set openflow dpid
set openflow dpid <dpid>
Set the OpenFlow DPID of the Switch. Valid values are non-zero numbers in decimal
or hex format
4TBK0Z1_console> set openflow dpid 0x1
OpenFlow DPID set to 0x0000000000000001
set openflow cookie packetin command
Used to set the cookie value that will be set for packet-in openflow notifications to the controller. The
default value is set to 0.
Example
4TBK0Z1_console> set openflow cookie packetin
set openflow cookie packetin <cookie>
Change cookie for packet-in
4TBK0Z1_console> set openflow cookie packetin 0x1
OpenFlow cookie for packet-in set to 0x0000000000000001
set openflow cookie packetmirror command
Used to set the cookie value that will be set for packet-in packets that are mirrored to the controller for
information purpose. This packets are trapped as result of the BC/MC flows. This is NEC controller specific
implementation and the default value is 0xC823000000000000.
Example