PortMod

This sequence is how the controller can modify the state of an OpenFlow port.
Initiator
Controller
Acknowledged
No

Structure

This message begins with the standard header and is followed by a 2 byte port id, which indicates the target port for change. This is followed by a hardware address, which again is used to verify the correct target port. The hardware address is immutable. Next is the port configuration, which is the same set of values as defined in the port section. Finally, the advertise field indicates which features should be advertised on this port. Again, the values for this field are the features defined in the port section.

Message Structure

Name Bits Byte Ordering Constraints
port 16 MSBF none
hw_addr 48 MSBF none
config 32 MSBF See below
mask 32 MSBF 0..0x0000007F
advertise 32 MSBF 0..0x00000FFF
padding 32 - none

Message Constraints

Field Name Value
Config PortDown 0x00000001
NoSTP 0x00000002
NoRecv 0x00000004
NoRecvSTP 0x00000008
NoFlood 0x00000010
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
Features 10MB_HD 0x00000001
10MD_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
Copper 0x00000080
Fiber 0x00000100
AutoNeg 0x00000200
Pause 0x00000400
PauseAsym 0x00000800

References

OpenFlow Switch Specification 1.0.0, page 29

Structure

This message begins with the standard header and is followed by a 4 byte port id, which indicates the target port for change. This is followed by a hardware address, which again is used to verify the correct target port. The hardware address is immutable. Next is the port configuration, which is the same set of values as defined in the port section. Finally, the advertise field indicates which features should be advertised on this port. Again, the values for this field are the features defined in the port section.

Message Structure

Name Bits Byte Ordering Constraints
port 32 MSBF none
padding 32 - none
hw_addr 48 MSBF none
padding 16 - none
config 32 MSBF See below
mask 32 MSBF 0..0x0000007F
advertise 32 MSBF 0..0x00000FFF
padding 32 - none

Message Constraints

Field Name Value
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
Features 10MB_HD 0x00000001
10MD_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.1.0, page 42

Structure

This message begins with the standard header and is followed by a 4 byte port id, which indicates the target port for change. This is followed by a hardware address, which again is used to verify the correct target port. The hardware address is immutable. Next is the port configuration, which is the same set of values as defined in the port section. Finally, the advertise field indicates which features should be advertised on this port. Again, the values for this field are the features defined in the port section.

Message Structure

Name Bits Byte Ordering Constraints
port 32 MSBF none
padding 32 - none
hw_addr 48 MSBF none
padding 16 - none
config 32 MSBF See below
mask 32 MSBF 0..0x0000007F
advertise 32 MSBF 0..0x00000FFF
padding 32 - none

Message Constraints

Field Name Value
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
Features 10MB_HD 0x00000001
10MD_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.2.0, page 49

Structure

This message begins with the standard header and is followed by a 4 byte port id, which indicates the target port for change. This is followed by a hardware address, which again is used to verify the correct target port. The hardware address is immutable. Next is the port configuration, which is the same set of values as defined in the port section. Finally, the advertise field indicates which features should be advertised on this port. Again, the values for this field are the features defined in the port section.

Message Structure

Name Bits Byte Ordering Constraints
port 32 MSBF none
padding 32 - none
hw_addr 48 MSBF none
padding 16 - none
config 32 MSBF See below
mask 32 MSBF 0..0x0000007F
advertise 32 MSBF 0..0x00000FFF
padding 32 - none

Message Constraints

Field Name Value
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
Features 10MB_HD 0x00000001
10MD_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.3.0, pages 57-58

Structure

This message begins with the standard header and is followed by a 4 byte port id, which indicates the target port for change. This is followed by a hardware address, which again is used to verify the correct target port. The hardware address is immutable. Next is the port configuration, which is the same set of values as defined in the port section. Finally, the advertise field indicates which features should be advertised on this port. Again, the values for this field are the features defined in the port section.

Message Structure

Name Bits Byte Ordering Constraints
port 32 MSBF none
padding 32 - none
hw_addr 48 MSBF none
padding 16 - none
config 32 MSBF See below
mask 32 MSBF 0..0x0000007F
advertise 32 MSBF 0..0x00000FFF
padding 32 - none

Message Constraints

Field Name Value
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
Features 10MB_HD 0x00000001
10MD_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.3.1, pages 68-69

Structure

This message begins with the standard header and is followed by a 4 byte port id, which indicates the target port for change. This is followed by a hardware address, which again is used to verify the correct target port. The hardware address is immutable. Next is the port configuration, which is the same set of values as defined in the port section. Finally, the advertise field indicates which features should be advertised on this port. Again, the values for this field are the features defined in the port section.

Message Structure

Name Bits Byte Ordering Constraints
port 32 MSBF none
padding 32 - none
hw_addr 48 MSBF none
padding 16 - none
config 32 MSBF See below
mask 32 MSBF 0..0x0000007F
advertise 32 MSBF 0..0x00000FFF
padding 32 - none

Message Constraints

Field Name Value
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
Features 10MB_HD 0x00000001
10MD_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.3.2, pages 70-71

Structure

This message begins with the standard header and is followed by a 4 byte port id, which indicates the target port for change. This is followed by a hardware address, which again is used to verify the correct target port. The hardware address is immutable. Next is the port configuration, which is the same set of values as defined in the port section. Finally, the advertise field indicates which features should be advertised on this port. Again, the values for this field are the features defined in the port section.

Message Structure

Name Bits Byte Ordering Constraints
port 32 MSBF none
padding 32 - none
hw_addr 48 MSBF none
padding 16 - none
config 32 MSBF See below
mask 32 MSBF 0..0x0000007F
advertise 32 MSBF 0..0x00000FFF
padding 32 - none

Message Constraints

Field Name Value
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
Features 10MB_HD 0x00000001
10MD_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.3.3, page 74

Coming Soon
This content is under development.