Configuring auxiliary connections
Syntax
openflow # auxiliary-connection <index> port <port-number> type [tcp] [udp]
Creates an auxiliary connection with a unique index which is later associated with the instance controller main connection. Auxiliary connection uses the same source IP address and the datapath ID as the main connection. The main connection auxiliary ID is set to zero, while the auxiliary connection ID is set to 1. Only one auxiliary connection is supported per main connection and transport protocol options for auxiliary connections can be either TCP or UDP.
OFPT_HELLO
OFPT_ERROR
OFPT_ECHO_REQUEST/ REPLY
OFPT_FEATURES_REQUEST/REPLY
OFPT_PACKET_IN
OFPT_PACKET_OUT
Options
index
Unique identifier for an auxiliary connection. Range: 1-128 (16 for 2920 and 2930F)
port-number
Protocol port on which the controller can be reached.Range: 1024-65534
tcp | udp
Type of transport protocol to be used.
Auxiliary connections are terminated when the main connection goes down, or the user closes it, or when the OpenFlow instance/openflow is disabled, or OpenFlow is globally disabled.
TLS is not supported for Auxiliary connections.
Example
switch(openflow)# auxiliary-connection 1 port 6633 type tcp switch(openflow)# instance test switch(of-inst-test)# controller-id 1 auxiliary-connection 1 switch(openflow)# show openflow instance test Configured OF Version : 1.3 only Negotiated OF Version : 1.3 Instance Name : test Data-path Description : test Administrator Status : Enabled Member List : VLAN 3 Pipeline Model : Standard Match Listen Port : 6633 Operational Status : Up Operational Status Reason : NA Datapath ID : 000340a8f09e8600 Mode : Active Flow Location : Hardware and Software No. of Hardware Flows : 6 No. of Software Flows : 4 Hardware Rate Limit : 0 kbps Software Rate Limit : 100 pps Conn. Interrupt Mode : Fail-Secure Maximum Backoff Interval : 60 seconds Probe Interval : 10 seconds Hardware Table Miss Count : NA No. of Software Flow Tables : 1 Egress Only Ports : None Table Model : Policy Engine and Software Source MAC Group Table : Disabled Destination MAC Group Table : Disabled Controller Id Connection Status Connection State Secure Role ------------- ----------------- ---------------- ------ ------ 1 Connected Active No Equal Auxiliary Auxiliary Auxiliary Controller Id Conn. index Auxiliary ID Conn. Status Conn. State Type ------------- ----------- ------------ ------------ -------------- ---- 1 1 1 Connected Active TCP
switch(openflow)# show running-config openflow controller-id 1 ip 10.20.30.42 controller-interface vlan 2 auxiliary-connection 1 port 6633 type tcp instance "test" listen-port member vlan 3 controller-id 1 auxiliary-connection 1 version 1.3 only enable exit enable exit