bond <name>
Go to the configuration menu of the aggregated interface with name <name>
.
bond=['name']> create
Go to the settings menu for creating an aggregated interface.
bond=['name']> create> mode (xor|lacp|activeBackup|roundRobin|broadcast)
Set the aggregation mode. See the description of the aggregation modes.
bond=['name']> create> load-balance (l2|l2l3|l3l4)
Set the aggregation balancing mode. See the description of the aggregation balancing modes.
bond=['name']> add <interface-name>
Add interface named <interface-name>
into the aggregated interface.
bond=['name']> remove <interface-name>
Remove interface named <interface-name>
from the aggregated interface.
bond=['name']> change mode (xor|lacp|activeBackup|roundRobin|broadcast)
Change aggregation mode. See the description of the aggregation modes.
bond=['name']> change load-balance (l2|l2l3|l3l4)
Change aggregation balancing mode. See the description of the aggregation balancing modes.
bond=['name']> delete
Delete aggregated interface with name <name>
.
bond=['name']> exit
Exit the interface settings menu.
show bond config all
Show configuration information for all aggregated interfaces. Example: show bond config all
{ "ngfw-interfaces:interfaces": { "interface": [ {
"alias": "b1", "dataplane-config": { "symmetric-hash": "default" }, "portDetails": { "linkSpeed": "auto" },
"bondDetails": {
"bondMembers": [
"port2",
"port3" ],
"bondMode": "lacp",
"bondHashingPolicy": "l2" }, "isManagement": false, "isDedicatedPort": false,
"interfaceType": "bond", "adminStatus": "down", "mtu": 1500, "protocol": "none",
"useDns": true } ] }
}
show bond config name <name>
Show configuration information for an aggregated interface with name <name>
.
show bond interfaces all
Show information about all interfaces in the aggregation, along with the aggregate itself, for all aggregated interfaces. Example: show bond interfaces all
{ "ngfw-interfaces:interfaces": { "interface": [ {
"alias": "b1", "dataplane-config": { "symmetric-hash": "default" }, "portDetails": { "linkSpeed": "auto" },
"bondDetails": {
"bondMembers": [
"port2",
"port3" ],
"bondMode": "lacp",
"bondHashingPolicy": "l2" }, "isManagement": false, "isDedicatedPort": false, "if-index": 19,
"interfaceType": "bond", "operStatus": "down", "adminStatus": "down", "duplex": "full", "mtu": 1500, "mac": "52:54:00:12:34:57", "protocol": "none", "ngfw-interface-stat:statistics": { "rx": { "total-packets": "0", "total-bytes": "0", "unicast-packets": "0", "unicast-bytes": "0", "multicast-packets": "0", "multicast-bytes": "0", "broadcast-packets": "0", "broadcast-bytes": "0", "error-packets": "0", "rate": { "bits-sec": "0", "packets-sec": "0" } }, "tx": { "total-packets": "0", "total-bytes": "0", "unicast-packets": "0", "unicast-bytes": "0", "multicast-packets": "0", "multicast-bytes": "0", "broadcast-packets": "0", "broadcast-bytes": "0", "error-packets": "0", "rate": { "bits-sec": "0", "packets-sec": "0" } }, "total-dropped-packets": "0" } } ] }
}
{ "ngfw-interfaces:interfaces": { "interface": [ { "alias": "port2", "dataplane-config": { "pci-address": "0000:00:04.0", "workers": [ { "first": 0, "last": 0 } ], "num-rx-queues": 1, "num-tx-queues": 0, "supported-link-speeds": [ 0 ], "symmetric-hash": "default" }, "portDetails": { "linkSpeed": "auto" },
"bondDetails": {
"bondName": "b1" }, "isManagement": false, "isDedicatedPort": false, "description": "", "if-index": 1, "interfaceType": "port", "operStatus": "down", "adminStatus": "down", "speed": 0, "duplex": "full", "mtu": 1500, "mac": "52:54:00:12:34:57", "protocol": "none", "ngfw-interface-stat:statistics": { "rx": { "total-packets": "0", "total-bytes": "0", "unicast-packets": "0", "unicast-bytes": "0", "multicast-packets": "0", "multicast-bytes": "0", "broadcast-packets": "0", "broadcast-bytes": "0", "error-packets": "0", "rate": { "bits-sec": "0", "packets-sec": "0" } }, "tx": { "total-packets": "0", "total-bytes": "0", "unicast-packets": "0", "unicast-bytes": "0", "multicast-packets": "0", "multicast-bytes": "0", "broadcast-packets": "0", "broadcast-bytes": "0", "error-packets": "0", "rate": { "bits-sec": "0", "packets-sec": "0" } }, "total-dropped-packets": "0" } } ] }
}
{ "ngfw-interfaces:interfaces": { "interface": [ { "alias": "port3", "dataplane-config": {
"pci-address": "0000:00:05.0", "workers": [ { "first": 0, "last": 0 } ], "num-rx-queues": 1, "num-tx-queues": 0, "supported-link-speeds": [ 0 ], "symmetric-hash": "default" }, "portDetails": { "linkSpeed": "auto" },
"bondDetails": {
"bondName": "b1" }, "isManagement": false, "isDedicatedPort": false, "description": "", "if-index": 3, "interfaceType": "port", "operStatus": "down", "adminStatus": "down", "speed": 0, "duplex": "full", "mtu": 1500, "mac": "52:54:00:12:34:57", "protocol": "none", "ngfw-interface-stat:statistics": { "rx": { "total-packets": "0", "total-bytes": "0", "unicast-packets": "0", "unicast-bytes": "0", "multicast-packets": "0", "multicast-bytes": "0", "broadcast-packets": "0", "broadcast-bytes": "0", "error-packets": "0", "rate": { "bits-sec": "0", "packets-sec": "0" } }, "tx": { "total-packets": "0", "total-bytes": "0", "unicast-packets": "0", "unicast-bytes": "0", "multicast-packets": "0", "multicast-bytes": "0", "broadcast-packets": "0", "broadcast-bytes": "0", "error-packets": "0", "rate": { "bits-sec": "0", "packets-sec": "0" } }, "total-dropped-packets": "0" } } ] }
}
show bond interfaces name <name>
Show information about all interfaces in the aggregation, along with the aggregate itself with name <name>
.
show bond info all
Show information about aggregated ports. Example: show bond info all
{
"ngfw-bond-info:info": {
"bond": [ {
"name": "bond1",
"sw-if-index": 9,
"bondMode": "LACP",
"bondHashingPolicy": "L2",
"active-members": 0,
"members": 2,
"hw-if-index": 9,
"dev-instance": 0,
"iface-id": 0,
"members-names": [ {
"name": "port2" }, {
"name": "port3" } ] } ] }
}
{
"ngfw-bond-info:info": {
"bond": [ {
"name": "bond2",
"sw-if-index": 11,
"bondMode": "LACP",
"bondHashingPolicy": "L2",
"active-members": 0,
"members": 1,
"hw-if-index": 11,
"dev-instance": 1,
"iface-id": 1,
"members-names": [ {
"name": "port4" } ] } ] }
}
show bond info name <name>
Show information about an aggregated port with name <name>
.
show bond lacp all
Show information about the LACP protocol mode for aggregated ports. Example: show bond lacp all
{
"ngfw-bond-info:lacp-info": {
"bond": [ {
"name": "bond1",
"members": [ {
"name": "port2",
"sw-if-index": 1,
"good-lacp-pdu-received": "0",
"bad-lacp-pdu-received": "0",
"lacp-pdu-sent": "0",
"good-marker-pdu-received": "0",
"bad-marker-pdu-received": "0",
"debug-on": false,
"is-loopback-port": false,
"port-enabled": false,
"port-moved": false,
"timer-expiration-status": false,
"port-aggregation-ready": false,
"actor-state": {
"state": "0xc7",
"expired": true,
"default": true,
"distributing": false,
"collecting": false,
"synchronization": false,
"aggregation": true,
"timeout": true,
"activity": true,
"system-priority": 65535,
"mac": "52:54:00:12:34:57",
"key": 9,
"port-priority": 255,
"port-number": 1 },
"partner-state": {
"state": "0x02",
"expired": false,
"default": false,
"distributing": false,
"collecting": false,
"synchronization": false,
"aggregation": false,
"timeout": true,
"activity": false,
"system-priority": 65535,
"mac": "00:00:00:00:00:00",
"key": 9,
"port-priority": 255,
"port-number": 1 },
"current-while-timer": "131.00 seconds ago",
"periodic-timer": "134.00 seconds ago",
"rx-state": "expired",
"tx-state": "transmit",
"mux-state": "detached",
"ptx-state": "no periodic" }, {
"name": "port3",
"sw-if-index": 3,
"good-lacp-pdu-received": "0",
"bad-lacp-pdu-received": "0",
"lacp-pdu-sent": "0",
"good-marker-pdu-received": "0",
"bad-marker-pdu-received": "0",
"debug-on": false,
"is-loopback-port": false,
"port-enabled": false,
"port-moved": false,
"timer-expiration-status": false,
"port-aggregation-ready": false,
"actor-state": {
"state": "0xc7",
"expired": true,
"default": true,
"distributing": false,
"collecting": false,
"synchronization": false,
"aggregation": true,
"timeout": true,
"activity": true,
"system-priority": 65535,
"mac": "52:54:00:12:34:57",
"key": 9,
"port-priority": 255,
"port-number": 2 },
"partner-state": {
"state": "0x02",
"expired": false,
"default": false,
"distributing": false,
"collecting": false,
"synchronization": false,
"aggregation": false,
"timeout": true,
"activity": false,
"system-priority": 65535,
"mac": "00:00:00:00:00:00",
"key": 9,
"port-priority": 255,
"port-number": 2 },
"current-while-timer": "131.00 seconds ago",
"periodic-timer": "134.00 seconds ago",
"rx-state": "expired",
"tx-state": "transmit",
"mux-state": "detached",
"ptx-state": "no periodic" } ] } ] }
}
{
"ngfw-bond-info:lacp-info": {
"bond": [ {
"name": "bond2",
"members": [ {
"name": "port4",
"sw-if-index": 5,
"good-lacp-pdu-received": "0",
"bad-lacp-pdu-received": "0",
"lacp-pdu-sent": "0",
"good-marker-pdu-received": "0",
"bad-marker-pdu-received": "0",
"debug-on": false,
"is-loopback-port": false,
"port-enabled": false,
"port-moved": false,
"timer-expiration-status": false,
"port-aggregation-ready": false,
"actor-state": {
"state": "0xc7",
"expired": true,
"default": true,
"distributing": false,
"collecting": false,
"synchronization": false,
"aggregation": true,
"timeout": true,
"activity": true,
"system-priority": 65535,
"mac": "52:54:00:12:34:59",
"key": 11,
"port-priority": 255,
"port-number": 1 },
"partner-state": {
"state": "0x02",
"expired": false,
"default": false,
"distributing": false,
"collecting": false,
"synchronization": false,
"aggregation": false,
"timeout": true,
"activity": false,
"system-priority": 65535,
"mac": "00:00:00:00:00:00",
"key": 11,
"port-priority": 255,
"port-number": 1 },
"current-while-timer": "38.00 seconds ago",
"periodic-timer": "41.00 seconds ago",
"rx-state": "expired",
"tx-state": "transmit",
"mux-state": "detached",
"ptx-state": "no periodic" } ] } ] }
}
show bond lacp name <name>
Show information about the LACP protocol mode for aggregated port with name <name>
.
l2
balancing mode is based on Destination MAC + Source MAC
.l2l3
balancing mode is based on Destination MAC + Source MAC + Destination IP + Source IP
.l3l4
balancing mode is based on Destination IP + Source IP + Destination Port + Source Port
.xor
mode is a static aggregation mode. The distribution of packets is performed by applying the XOR algorithm to MAC ports and/or the aggregation balancing mode.lacp
mode is a dynamic aggregation mode. The distribution of packets is performed by the LACP protocol and the aggregation balancing mode.activeBackup
is a static aggregation mode. The distribution of packets is performed by one of the active (working) interfaces in the aggregation.roundRobin
mode is a static aggregation mode. The distribution of packets is performed in a round-robin fashion among all interfaces in the aggregation.broadcast
mode is a static aggregation mode. The distribution of packets is performed by all active (working) interfaces in the aggregation.