Last updated on: 2024-01-24 20:22:02.

Initial Setup of the rSeries Network Layer

rSeries Dashboard

The rSeries Dashboard will provide a visual system summary of the appliance, including System Summary, Network, CPU, and Active Alarms. It will also list the total number of vCPUs available for multitenancy and how many are currently in use. There is also a tenant overview showing a quick summary of tenant status and basic parameters.

_images/image12.png

The Network tab will provide a visual representation of all networking ports on the system. Each port will be color coded Green for Up status, and Red for Down status. The current Pipeline mapping is also displayed, which shows the external port mapping to internal pipelines.

_images/image22.png

The CPU tab shows all the available CPUs in the system, along with their Current, 5 Second, 1 Minute, and 5 Minute averages.

_images/image31.png

The Active Alarms tab will display any active alerts or alarms for the system.

_images/image41.png

F5OS Networking Configuration

Before configuring any tenants, you’ll need to set up networking for the F5OS platform layer. All in-band networking (interfaces, VLANs, Link Aggregation Groups) is configured within the F5OS layer, and selected VLANs are passed through to the tenant layer by the admin when deploying a tenant. This is very similar to how vCMP guests work on previous generations of BIG-IP like iSeries and VIPRION.

Network Settings - > Port Groups

Before configuring any interfaces, VLANs, or Link Aggregation Groups (LAG’s) you’ll need to configure the portgroups so that physical interfaces on the appliance are configured for the proper speed and bundling. The portgroup component is used to control the mode of the physical ports. This controls whether a port is bundled or unbundled, and the port speed. Currently the high-speed ports do not support unbundling. Adjacent high-speed ports (1.0 and 2.0 on both the r5000/r10000 series) and (11.0 & 12.0 on the r10000 series) must be configured in the same mode and speed currently. Either both are configured for 40Gb or both are configured for 100Gb; you cannot mix and match on the adjacent high-speed ports. You cannot break out these ports to lower speeds (25Gb or 10Gb) via a breakout cable as this is currently unsupported. Low speed 25Gb/10Gb ports (3.0 - 10.0 on both the r5000/r10000 series and 13.0* - 20.0 on the r10000 series) can be configured independently, and adjacent low speed ports can have different speed values (10Gb or 25Gb). The term, portgroup is used rather than simply “port” because some front panel ports may accept different types of SFPs. Depending on the portgroup mode value, a different FPGA version is loaded, and the speed of the port is adjusted accordingly. Changing the portgroup configuration will require a reboot of the appliance to load a new FPGA bitstream. The user can modify the portgroup mode as needed through the F5OS CLI, webUI or API.

_images/image5.png

Configuring PortGroups from the webUI

To configure portgroups go to Network Settings > Port Groups in the F5OS webUI. This should be configured before any interface, VLAN, or LAG configuration.

_images/image6.png

If you do make a change, the appliance will be forced to reboot to load a new bitstream image into the FPGA.

_images/image7.png

Configuring PortGroups from the CLI

Portgroups can be configured from the F5OS CLI using the portgroups command in config mode. The following command will set interface 10 for 10GB:

appliance-1# config
Entering configuration mode terminal
appliance-1(config)# portgroups portgroup 10 config mode MODE_10GB
appliance-1(config-portgroup-10)# commit
The following warnings were generated:
'portgroups portgroup': Portgroup mode changes result in a reboot of the box.
Proceed? [yes,no] yes
Commit complete.
appliance-1(config-portgroup-10)#

You must commit for any changes to take effect. This will require a reboot of the appliance:

appliance-1(config-portgroup-10)# commit
The following warnings were generated:
'portgroups portgroup': Portgroup mode changes result in a reboot of the box.
Proceed? [yes,no] yes
Commit complete.
appliance-1(config-portgroup-10)#

Possible options for MODE depend on which port you are configuring. For the high-speed ports on the r10000/r5000, supported modes are: MODE_40GB or MODE_100GB. For the low-speed ports possible options for MODE are: MODE_10GB and MODE_25GB. You can optionally configure the portgroup name and ddm poll frequency. You can display the current configuration of the existing portgroups by running the CLI command show running-config portgroups. Below is the example output from an r5000 appliance:

appliance-1# show running-config portgroups
portgroups portgroup 1
config name 1
config mode MODE_100GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 2
config name 2
config mode MODE_100GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 3
config name 3
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 4
config name 4
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 5
config name 5
config mode MODE_25GB
portgroups portgroup 1
config name 1
config mode MODE_100GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 2
config name 2
config mode MODE_100GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 3
config name 3
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 4
config name 4
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 5
config name 5
config mode MODE_25GB
config ddm ddm-poll-frequency 30
portgroups portgroup 1
config name 1
config mode MODE_100GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 2
config name 2
config mode MODE_100GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 3
config name 3
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 4
config name 4
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 5
config name 5
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 6
config name 6
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 7
config name 7
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 8
config name 8
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 9
config name 9
config mode MODE_25GB
config ddm ddm-poll-frequency 30
!
portgroups portgroup 10
config name 10
config mode MODE_10GB
config ddm ddm-poll-frequency 30
!
appliance-1#

Configuring PortGroups from the API

To list the current portgroup configuration, issue the following API call:

GET https://{{rseries_appliance1_ip}}:8888/restconf/data/f5-portgroup:portgroups

Below is an example output from an r10000 series appliance:

{
    "f5-portgroup:portgroups": {
        "portgroup": [
            {
                "portgroup_name": "1",
                "config": {
                    "name": "1",
                    "mode": "MODE_100GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                },
                "state": {
                    "vendor-name": "F5 NETWORKS INC.",
                    "vendor-oui": "009065",
                    "vendor-partnum": "OPT-0031        ",
                    "vendor-revision": "A0",
                    "vendor-serialnum": "X3CAU6G         ",
                    "transmitter-technology": "850 nm VCSEL",
                    "media": "100GBASE-SR4",
                    "optic-state": "QUALIFIED",
                    "f5-ddm:ddm": {
                        "rx-pwr": {
                            "low-threshold": {
                                "alarm": "-14.0",
                                "warn": "-11.0"
                            },
                            "instant": {
                                "val-lane1": "-0.77",
                                "val-lane2": "-0.89",
                                "val-lane3": "-0.92",
                                "val-lane4": "-1.06"
                            },
                            "high-threshold": {
                                "alarm": "3.4",
                                "warn": "2.4"
                            }
                        },
                        "tx-pwr": {
                            "low-threshold": {
                                "alarm": "-10.0",
                                "warn": "-8.0"
                            },
                            "instant": {
                                "val-lane1": "-1.11",
                                "val-lane2": "-0.52",
                                "val-lane3": "-1.0",
                                "val-lane4": "-1.15"
                            },
                            "high-threshold": {
                                "alarm": "5.0",
                                "warn": "3.0"
                            }
                        },
                        "temp": {
                            "low-threshold": {
                                "alarm": "-5.0",
                                "warn": "0.0"
                            },
                            "instant": {
                                "val": "33.1523"
                            },
                            "high-threshold": {
                                "alarm": "75.0",
                                "warn": "70.0"
                            }
                        },
                        "bias": {
                            "low-threshold": {
                                "alarm": "0.003",
                                "warn": "0.005"
                            },
                            "instant": {
                                "val-lane1": "0.007536",
                                "val-lane2": "0.007322",
                                "val-lane3": "0.007428",
                                "val-lane4": "0.007454"
                            },
                            "high-threshold": {
                                "alarm": "0.013",
                                "warn": "0.011"
                            }
                        },
                        "vcc": {
                            "low-threshold": {
                                "alarm": "2.97",
                                "warn": "3.135"
                            },
                            "instant": {
                                "val": "3.3211"
                            },
                            "high-threshold": {
                                "alarm": "3.63",
                                "warn": "3.465"
                            }
                        }
                    }
                }
            },
            {
                "portgroup_name": "2",
                "config": {
                    "name": "2",
                    "mode": "MODE_100GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                },
                "state": {
                    "vendor-name": "F5 NETWORKS INC.",
                    "vendor-oui": "009065",
                    "vendor-partnum": "OPT-0031        ",
                    "vendor-revision": "A0",
                    "vendor-serialnum": "XYR00K4         ",
                    "transmitter-technology": "850 nm VCSEL",
                    "media": "100GBASE-SR4",
                    "optic-state": "QUALIFIED",
                    "f5-ddm:ddm": {
                        "rx-pwr": {
                            "low-threshold": {
                                "alarm": "-14.0",
                                "warn": "-11.0"
                            },
                            "instant": {
                                "val-lane1": "0.05",
                                "val-lane2": "0.12",
                                "val-lane3": "-0.01",
                                "val-lane4": "-0.17"
                            },
                            "high-threshold": {
                                "alarm": "3.4",
                                "warn": "2.4"
                            }
                        },
                        "tx-pwr": {
                            "low-threshold": {
                                "alarm": "-10.0",
                                "warn": "-8.0"
                            },
                            "instant": {
                                "val-lane1": "-0.93",
                                "val-lane2": "-1.02",
                                "val-lane3": "-1.02",
                                "val-lane4": "-0.9"
                            },
                            "high-threshold": {
                                "alarm": "5.0",
                                "warn": "3.0"
                            }
                        },
                        "temp": {
                            "low-threshold": {
                                "alarm": "-5.0",
                                "warn": "0.0"
                            },
                            "instant": {
                                "val": "31.1953"
                            },
                            "high-threshold": {
                                "alarm": "75.0",
                                "warn": "70.0"
                            }
                        },
                        "bias": {
                            "low-threshold": {
                                "alarm": "0.003",
                                "warn": "0.005"
                            },
                            "instant": {
                                "val-lane1": "0.007448",
                                "val-lane2": "0.007556",
                                "val-lane3": "0.007504",
                                "val-lane4": "0.00748"
                            },
                            "high-threshold": {
                                "alarm": "0.013",
                                "warn": "0.011"
                            }
                        },
                        "vcc": {
                            "low-threshold": {
                                "alarm": "2.97",
                                "warn": "3.135"
                            },
                            "instant": {
                                "val": "3.2964"
                            },
                            "high-threshold": {
                                "alarm": "3.63",
                                "warn": "3.465"
                            }
                        }
                    }
                }
            },
            {
                "portgroup_name": "3",
                "config": {
                    "name": "3",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "4",
                "config": {
                    "name": "4",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "5",
                "config": {
                    "name": "5",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "6",
                "config": {
                    "name": "6",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "7",
                "config": {
                    "name": "7",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "8",
                "config": {
                    "name": "8",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "9",
                "config": {
                    "name": "9",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "10",
                "config": {
                    "name": "10",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "11",
                "config": {
                    "name": "11",
                    "mode": "MODE_100GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                },
                "state": {
                    "vendor-name": "",
                    "vendor-oui": "",
                    "vendor-partnum": "",
                    "vendor-revision": "",
                    "vendor-serialnum": "",
                    "transmitter-technology": "",
                    "media": "",
                    "optic-state": "UNKNOWN"
                }
            },
            {
                "portgroup_name": "12",
                "config": {
                    "name": "12",
                    "mode": "MODE_100GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                },
                "state": {
                    "vendor-name": "",
                    "vendor-oui": "",
                    "vendor-partnum": "",
                    "vendor-revision": "",
                    "vendor-serialnum": "",
                    "transmitter-technology": "",
                    "media": "",
                    "optic-state": "UNKNOWN"
                }
            },
            {
                "portgroup_name": "13",
                "config": {
                    "name": "13",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                },
                "state": {
                    "vendor-name": "F5 NETWORKS INC.",
                    "vendor-oui": "009065",
                    "vendor-partnum": "OPT-0053        ",
                    "vendor-revision": "A1",
                    "vendor-serialnum": "P62BET1         ",
                    "transmitter-technology": "",
                    "media": "25GBASE-SR",
                    "optic-state": "QUALIFIED",
                    "f5-ddm:ddm": {
                        "rx-pwr": {
                            "low-threshold": {
                                "alarm": "-20.0",
                                "warn": "-18.01"
                            },
                            "instant": {
                                "val-lane1": "-0.84"
                            },
                            "high-threshold": {
                                "alarm": "4.0",
                                "warn": "3.0"
                            }
                        },
                        "tx-pwr": {
                            "low-threshold": {
                                "alarm": "-9.0",
                                "warn": "-8.0"
                            },
                            "instant": {
                                "val-lane1": "-0.8"
                            },
                            "high-threshold": {
                                "alarm": "4.0",
                                "warn": "3.0"
                            }
                        },
                        "temp": {
                            "low-threshold": {
                                "alarm": "-5.0",
                                "warn": "0.0"
                            },
                            "instant": {
                                "val": "33.0468"
                            },
                            "high-threshold": {
                                "alarm": "75.0",
                                "warn": "70.0"
                            }
                        },
                        "bias": {
                            "low-threshold": {
                                "alarm": "0.001",
                                "warn": "0.002"
                            },
                            "instant": {
                                "val-lane1": "0.007976"
                            },
                            "high-threshold": {
                                "alarm": "0.012",
                                "warn": "0.0115"
                            }
                        },
                        "vcc": {
                            "low-threshold": {
                                "alarm": "3.0",
                                "warn": "3.1"
                            },
                            "instant": {
                                "val": "3.3589"
                            },
                            "high-threshold": {
                                "alarm": "3.6",
                                "warn": "3.5"
                            }
                        }
                    }
                }
            },
            {
                "portgroup_name": "14",
                "config": {
                    "name": "14",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                },
                "state": {
                    "vendor-name": "F5 NETWORKS INC.",
                    "vendor-oui": "009065",
                    "vendor-partnum": "OPT-0053        ",
                    "vendor-revision": "A1",
                    "vendor-serialnum": "P62BESG         ",
                    "transmitter-technology": "",
                    "media": "25GBASE-SR",
                    "optic-state": "QUALIFIED",
                    "f5-ddm:ddm": {
                        "rx-pwr": {
                            "low-threshold": {
                                "alarm": "-20.0",
                                "warn": "-18.01"
                            },
                            "instant": {
                                "val-lane1": "-1.45"
                            },
                            "high-threshold": {
                                "alarm": "4.0",
                                "warn": "3.0"
                            }
                        },
                        "tx-pwr": {
                            "low-threshold": {
                                "alarm": "-9.0",
                                "warn": "-8.0"
                            },
                            "instant": {
                                "val-lane1": "-0.82"
                            },
                            "high-threshold": {
                                "alarm": "4.0",
                                "warn": "3.0"
                            }
                        },
                        "temp": {
                            "low-threshold": {
                                "alarm": "-5.0",
                                "warn": "0.0"
                            },
                            "instant": {
                                "val": "32.0781"
                            },
                            "high-threshold": {
                                "alarm": "75.0",
                                "warn": "70.0"
                            }
                        },
                        "bias": {
                            "low-threshold": {
                                "alarm": "0.001",
                                "warn": "0.002"
                            },
                            "instant": {
                                "val-lane1": "0.00798"
                            },
                            "high-threshold": {
                                "alarm": "0.012",
                                "warn": "0.0115"
                            }
                        },
                        "vcc": {
                            "low-threshold": {
                                "alarm": "3.0",
                                "warn": "3.1"
                            },
                            "instant": {
                                "val": "3.3499"
                            },
                            "high-threshold": {
                                "alarm": "3.6",
                                "warn": "3.5"
                            }
                        }
                    }
                }
            },
            {
                "portgroup_name": "15",
                "config": {
                    "name": "15",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                },
                "state": {
                    "vendor-name": "F5 NETWORKS INC.",
                    "vendor-oui": "009065",
                    "vendor-partnum": "OPT-0053        ",
                    "vendor-revision": "A1",
                    "vendor-serialnum": "P62BET3         ",
                    "transmitter-technology": "",
                    "media": "25GBASE-SR",
                    "optic-state": "QUALIFIED",
                    "f5-ddm:ddm": {
                        "rx-pwr": {
                            "low-threshold": {
                                "alarm": "-20.0",
                                "warn": "-18.01"
                            },
                            "instant": {
                                "val-lane1": "-0.66"
                            },
                            "high-threshold": {
                                "alarm": "4.0",
                                "warn": "3.0"
                            }
                        },
                        "tx-pwr": {
                            "low-threshold": {
                                "alarm": "-9.0",
                                "warn": "-8.0"
                            },
                            "instant": {
                                "val-lane1": "-0.61"
                            },
                            "high-threshold": {
                                "alarm": "4.0",
                                "warn": "3.0"
                            }
                        },
                        "temp": {
                            "low-threshold": {
                                "alarm": "-5.0",
                                "warn": "0.0"
                            },
                            "instant": {
                                "val": "30.2812"
                            },
                            "high-threshold": {
                                "alarm": "75.0",
                                "warn": "70.0"
                            }
                        },
                        "bias": {
                            "low-threshold": {
                                "alarm": "0.001",
                                "warn": "0.002"
                            },
                            "instant": {
                                "val-lane1": "0.008008"
                            },
                            "high-threshold": {
                                "alarm": "0.012",
                                "warn": "0.0115"
                            }
                        },
                        "vcc": {
                            "low-threshold": {
                                "alarm": "3.0",
                                "warn": "3.1"
                            },
                            "instant": {
                                "val": "3.3101"
                            },
                            "high-threshold": {
                                "alarm": "3.6",
                                "warn": "3.5"
                            }
                        }
                    }
                }
            },
            {
                "portgroup_name": "16",
                "config": {
                    "name": "16",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                },
                "state": {
                    "vendor-name": "F5 NETWORKS INC.",
                    "vendor-oui": "009065",
                    "vendor-partnum": "OPT-0053        ",
                    "vendor-revision": "A1",
                    "vendor-serialnum": "P62BET5         ",
                    "transmitter-technology": "",
                    "media": "25GBASE-SR",
                    "optic-state": "QUALIFIED",
                    "f5-ddm:ddm": {
                        "rx-pwr": {
                            "low-threshold": {
                                "alarm": "-20.0",
                                "warn": "-18.01"
                            },
                            "instant": {
                                "val-lane1": "-0.68"
                            },
                            "high-threshold": {
                                "alarm": "4.0",
                                "warn": "3.0"
                            }
                        },
                        "tx-pwr": {
                            "low-threshold": {
                                "alarm": "-9.0",
                                "warn": "-8.0"
                            },
                            "instant": {
                                "val-lane1": "-0.82"
                            },
                            "high-threshold": {
                                "alarm": "4.0",
                                "warn": "3.0"
                            }
                        },
                        "temp": {
                            "low-threshold": {
                                "alarm": "-5.0",
                                "warn": "0.0"
                            },
                            "instant": {
                                "val": "32.4921"
                            },
                            "high-threshold": {
                                "alarm": "75.0",
                                "warn": "70.0"
                            }
                        },
                        "bias": {
                            "low-threshold": {
                                "alarm": "0.001",
                                "warn": "0.002"
                            },
                            "instant": {
                                "val-lane1": "0.007994"
                            },
                            "high-threshold": {
                                "alarm": "0.012",
                                "warn": "0.0115"
                            }
                        },
                        "vcc": {
                            "low-threshold": {
                                "alarm": "3.0",
                                "warn": "3.1"
                            },
                            "instant": {
                                "val": "3.3442"
                            },
                            "high-threshold": {
                                "alarm": "3.6",
                                "warn": "3.5"
                            }
                        }
                    }
                }
            },
            {
                "portgroup_name": "17",
                "config": {
                    "name": "17",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "18",
                "config": {
                    "name": "18",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "19",
                "config": {
                    "name": "19",
                    "mode": "MODE_25GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            },
            {
                "portgroup_name": "20",
                "config": {
                    "name": "20",
                    "mode": "MODE_10GB",
                    "f5-ddm:ddm": {
                        "ddm-poll-frequency": 30
                    }
                }
            }
        ]
    }
}

To change the portgroup configuration via the API, use the following API call.

PATCH https://{{rseries_appliance1_ip}}:8888/restconf/data/f5-portgroup:portgroups

Below is an example configuration change in the body of the API call, this is changing portgroup 10 to 25Gb mode:

{
    "f5-portgroup:portgroups": {
        "portgroup": [
            {
                "portgroup_name": "10",
                "config": {
                    "mode": "MODE_25GB"
                }
            }
        ]
    }
}

Network Settings -> Interfaces

Interface numbering will vary depending on which rSeries model is being used. Interfaces will always be numbered by <port#>.0 for rSeries appliances. The r10000 has a total of 20 ports labeled 1.0 - 20.0, and the r5000 has 10 ports labeled 1.0 - 10.0.

_images/image9.png _images/image8.png

Configuring Interfaces from the webUI

Within the F5OS webUI, the physical ports of the appliance will be visible by going to Network Settings > Interfaces page.

_images/image10.png

You can click on any interface to view its settings or edit them. You can currently change the interface state via the webUI or the Native VLAN (untagged) and Trunk VLANs (tagged) if the interface is not part of a LAG. If the interface is part of a LAG, then the VLAN configuration is done within the LAG rather than the interface.

_images/image111.png

Configuring Interfaces from the CLI

Interfaces can be configured in the F5OS CLI. As mentioned previously, portgroups should be configured for their desired state before configuring any interfaces. In the CLI, enter config mode and then specify the interface you want to configure. If the interface is going to be part of a LAG, then most of the configuration is done within the LAG. Use the command show running-config interfaces to see the current configuration:

appliance-1# show running-config interfaces
interfaces interface 1.0
config name 1.0
config type ethernetCsmacd
config enabled
ethernet config aggregate-id Arista
!
interfaces interface 2.0
config name 2.0
config type ethernetCsmacd
config enabled
ethernet config aggregate-id Arista
!
interfaces interface 3.0
config name 3.0
config type ethernetCsmacd
config enabled
!
interfaces interface 4.0
config name 4.0
config type ethernetCsmacd
config enabled
!
interfaces interface 5.0
config name 5.0
config type ethernetCsmacd
config enabled
!
interfaces interface 6.0
config name 6.0
config type ethernetCsmacd
config enabled
!
interfaces interface 7.0
config name 7.0
config type ethernetCsmacd
config enabled
!
interfaces interface 8.0
config name 8.0
config type ethernetCsmacd
config enabled
ethernet config aggregate-id HA-Interconnect
!
interfaces interface 9.0
config name 9.0
config type ethernetCsmacd
config enabled
ethernet config aggregate-id HA-Interconnect
!
interfaces interface 10.0
config name 10.0
config type ethernetCsmacd
config enabled
!
interfaces interface mgmt
config name mgmt
config type ethernetCsmacd
config enabled
ethernet config auto-negotiate true
ethernet config duplex-mode FULL
ethernet config port-speed SPEED_1GB
!
interfaces interface Arista
config name Arista
config type ieee8023adLag
aggregation config lag-type LACP
aggregation config distribution-hash src-dst-ipport
aggregation switched-vlan config trunk-vlans [ 3010 3011 ]
!
interfaces interface HA-Interconnect
config name HA-Interconnect
config type ieee8023adLag
aggregation config lag-type LACP
aggregation config distribution-hash src-dst-ipport
aggregation switched-vlan config trunk-vlans [ 500 ]
!
appliance-1#

To make any changes, you will need to enter config mode and then enter the interface config mode to make changes. The example below is adding an 802.1Q tagged VLAN 500 to interface 6.0. Be sure to commit any changes as they don’t take effect until the commit is issued.

appliance-1# config
Entering configuration mode terminal
appliance-1(config)# interfaces interface 6.0 ethernet switched-vlan config trunk-vlans 500
appliance-1(config-interface-6.0)# commit
Commit complete.
appliance-1(config-interface-6.0)#

Configuring Interfaces from the API

The following API command will list all the current interfaces within the appliance with their configuration and status:

GET https://{{rseries_appliance1_ip}}:8888/restconf/data/openconfig-interfaces:interfaces
{
    "openconfig-interfaces:interfaces": {
        "interface": [
            {
                "name": "1.0",
                "config": {
                    "name": "1.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "1.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 19,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "9086600",
                        "in-unicast-pkts": "116",
                        "in-broadcast-pkts": "1493",
                        "in-multicast-pkts": "68814",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "187008",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "1461",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "openconfig-if-aggregate:aggregate-id": "Arista"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "hw-mac-address": "00:94:a1:69:59:0d",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "2.0",
                "config": {
                    "name": "2.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "2.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 24,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "6288468",
                        "in-unicast-pkts": "80",
                        "in-broadcast-pkts": "504",
                        "in-multicast-pkts": "46884",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "192776",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "1522",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "openconfig-if-aggregate:aggregate-id": "Arista"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "hw-mac-address": "00:94:a1:69:59:12",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "3.0",
                "config": {
                    "name": "3.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "3.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 20,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:0e",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "4.0",
                "config": {
                    "name": "4.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "4.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 21,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:0f",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "5.0",
                "config": {
                    "name": "5.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "5.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 22,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:10",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "6.0",
                "config": {
                    "name": "6.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "6.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 23,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:11",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "7.0",
                "config": {
                    "name": "7.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "7.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 25,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:13",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "8.0",
                "config": {
                    "name": "8.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "8.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 26,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:14",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "9.0",
                "config": {
                    "name": "9.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "9.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 27,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:15",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "10.0",
                "config": {
                    "name": "10.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "10.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 28,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:16",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "11.0",
                "config": {
                    "name": "11.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "11.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 9,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "hw-mac-address": "00:94:a1:69:59:03",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "12.0",
                "config": {
                    "name": "12.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "12.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 14,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "hw-mac-address": "00:94:a1:69:59:08",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "13.0",
                "config": {
                    "name": "13.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "13.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 10,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "5605888",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "43796",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "5608964",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "43828",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "openconfig-if-aggregate:aggregate-id": "HA-Interconnect"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:04",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "14.0",
                "config": {
                    "name": "14.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "14.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 11,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "5605888",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "43796",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "5606144",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "43798",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "openconfig-if-aggregate:aggregate-id": "HA-Interconnect"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:05",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "15.0",
                "config": {
                    "name": "15.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "15.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 12,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "5605120",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "43790",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "5606272",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "43799",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "openconfig-if-aggregate:aggregate-id": "HA-Interconnect"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:06",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "16.0",
                "config": {
                    "name": "16.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "16.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 13,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "5603328",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "43776",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "5603456",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "43777",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "openconfig-if-aggregate:aggregate-id": "HA-Interconnect"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:07",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "17.0",
                "config": {
                    "name": "17.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "17.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 15,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:09",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "18.0",
                "config": {
                    "name": "18.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "18.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 16,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:0a",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "19.0",
                "config": {
                    "name": "19.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "19.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 17,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:59:0b",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "20.0",
                "config": {
                    "name": "20.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "20.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 18,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_10GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_10GB",
                        "hw-mac-address": "00:94:a1:69:59:0c",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "mgmt",
                "config": {
                    "name": "mgmt",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "mgmt",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true,
                    "ifindex": 1,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "47748466",
                        "in-unicast-pkts": "24169",
                        "in-broadcast-pkts": "274573",
                        "in-multicast-pkts": "63421",
                        "in-discards": "0",
                        "in-errors": "0",
                        "out-octets": "22171273",
                        "out-unicast-pkts": "30177",
                        "out-broadcast-pkts": "50",
                        "out-multicast-pkts": "71",
                        "out-discards": "0",
                        "out-errors": "0"
                    }
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "auto-negotiate": true,
                        "duplex-mode": "FULL",
                        "port-speed": "openconfig-if-ethernet:SPEED_1GB"
                    },
                    "state": {
                        "auto-negotiate": true,
                        "duplex-mode": "FULL",
                        "port-speed": "openconfig-if-ethernet:SPEED_1GB",
                        "hw-mac-address": "00:94:a1:69:59:02",
                        "negotiated-duplex-mode": "FULL",
                        "negotiated-port-speed": "openconfig-if-ethernet:SPEED_1GB",
                        "counters": {
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-pause-frames": "0"
                        }
                    }
                }
            },
            {
                "name": "Arista",
                "config": {
                    "name": "Arista",
                    "type": "iana-if-type:ieee8023adLag",
                    "enabled": true
                },
                "state": {
                    "name": "Arista",
                    "type": "iana-if-type:ieee8023adLag",
                    "mtu": 9600,
                    "enabled": true,
                    "oper-status": "UP",
                    "f5-interface:forward-error-correction": "auto"
                },
                "openconfig-if-aggregate:aggregation": {
                    "config": {
                        "lag-type": "LACP",
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport"
                    },
                    "state": {
                        "lag-type": "LACP",
                        "lag-speed": 200,
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport",
                        "f5-if-aggregate:mac-address": "00:94:a1:69:59:24",
                        "f5-if-aggregate:lagid": 1
                    },
                    "openconfig-vlan:switched-vlan": {
                        "config": {
                            "trunk-vlans": [
                                3010,
                                3011
                            ]
                        }
                    }
                }
            },
            {
                "name": "HA-Interconnect",
                "config": {
                    "name": "HA-Interconnect",
                    "type": "iana-if-type:ieee8023adLag",
                    "enabled": true
                },
                "state": {
                    "name": "HA-Interconnect",
                    "type": "iana-if-type:ieee8023adLag",
                    "mtu": 9600,
                    "enabled": true,
                    "oper-status": "UP",
                    "f5-interface:forward-error-correction": "auto"
                },
                "openconfig-if-aggregate:aggregation": {
                    "config": {
                        "lag-type": "LACP",
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport"
                    },
                    "state": {
                        "lag-type": "LACP",
                        "lag-speed": 100,
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport",
                        "f5-if-aggregate:mac-address": "00:94:a1:69:59:25",
                        "f5-if-aggregate:lagid": 2
                    },
                    "openconfig-vlan:switched-vlan": {
                        "config": {
                            "trunk-vlans": [
                                500
                            ]
                        }
                    }
                }
            }
        ]
    }
}

To configure interfaces (that are not part of a LAG), use the following PATCH API call. In the example below, VLANs are being assigned to the physical interfaces.

PATCH https://{{rseries_appliance1_ip}}:8888/restconf/data/openconfig-interfaces:interfaces
{
    "openconfig-interfaces:interfaces": {
        "interface": [
            {
                "name": "6.0",
                "openconfig-if-ethernet:ethernet": {
                    "openconfig-vlan:switched-vlan": {
                        "config": {
                            "trunk-vlans": [
                                501
                            ]
                        }
                    }
                }
            },
            {
                "name": "2.0",
                "openconfig-if-ethernet:ethernet": {
                    "openconfig-vlan:switched-vlan": {
                        "config": {
                            "trunk-vlans": [
                                444,
                                555
                            ]
                        }
                    }
                }
            }
        ]
    }
}

Network Settings -> VLANs

All in-band networking, including VLANs, is configured in the F5OS layer, and just like vCMP guests inherit VLANs, VLANs will be inherited by rSeries tenants. This allows administrators to assign the VLANs that are authorized for use by the tenant at the F5OS layer, and then within the tenant there is no ability to configure lower-level networking like interfaces, LAGs and VLANs.

rSeries supports both tagged (802.1Q) and untagged VLAN interfaces externally. VLANs can be configured from the CLI, webUI, or API.

Note: 802.1Q-in-Q (double VLAN tagging) is not currently supported on the rSeries platform.

Configuring VLANs from the webUI

VLANs can be created in the F5OS webUI under Network Settings > VLANs. When adding a new VLAN you will define a Name and a VLAN ID. When you assign this VLAN to an interface or LAG you will determine if you want it to be untagged by configuring it as a Native VLAN or tagged by adding it as a Trunked VLAN.

_images/image121.png _images/image13.png

Configuring VLANs from the CLI

VLANs can be configured within the F5OS CLI. Once VLANs are created, they can be assigned to either a physical interface or LAG within the appliance. VLANs must be given a name and a VLAN ID. You can choose if a VLAN is tagged or untagged within the physical interface or LAG configuration.

To show the current configured VLANs and their options, use the command show running-config vlans.

appliance-1# show running-config vlans
vlans vlan 500
config vlan-id 500
config name Tenant1-HA-VLAN
!
vlans vlan 501
config vlan-id 501
config name HA-VLAN2
!
vlans vlan 3010
config vlan-id 3010
config name Internal-VLAN
!
vlans vlan 3011
config vlan-id 3011
config name External-VLAN
!
appliance-1#

You can also see the configured state of VLANs by running the show vlans command:

appliance-1# show vlans
VLAN
ID    INTERFACE
-----------------------
500   6.0
    HA-Interconnect
501
3010  Arista
3011  Arista

appliance-1#

There are a few other VLAN related commands to show the configuration and running state of vlan-listeners. The command show running-config vlan-listeners will show the current configuration. A VLAN listener is created for each VLAN and is responsible for rebroadcasting traffic within the VLAN.

NOTE: For shared VLANs among different tenants, the VLAN must be tied to an external interface or LAG in order for the VLAN listener to be created.

Boston-r10900-1# show running-config vlan-listeners
vlan-listeners vlan-listener Arista 3010
config entry-type VLAN-LISTENER
config owner tenant1
config ifh-fields ndi-id 4095
config ifh-fields svc 8
config ifh-fields sep 15
config ifh-fields mirroring disabled
!
vlan-listeners vlan-listener Arista 3011
config entry-type VLAN-LISTENER
config owner tenant1
config ifh-fields ndi-id 4095
config ifh-fields svc 8
config ifh-fields sep 15
config ifh-fields mirroring disabled
!
vlan-listeners vlan-listener HA-Interconnect 500
config entry-type VLAN-LISTENER
config owner tenant1
config ifh-fields ndi-id 4095
config ifh-fields svc 8
config ifh-fields sep 15
config ifh-fields mirroring disabled
!
Boston-r10900-1#

The show vlan-listeners command will show the current state:

Boston-r10900-1# show vlan-listeners
                                            NDI                                             SERVICE
INTERFACE        VLAN  ENTRY TYPE     OWNER    ID    SVC  VTC  SEP  DMS  DID  CMDS  MIRRORING  IDS
--------------------------------------------------------------------------------------------------------
Arista           3010  VLAN-LISTENER  tenant1  4095  8    -    15   -    -    -     disabled   -
Arista           3011  VLAN-LISTENER  tenant1  4095  8    -    15   -    -    -     disabled   -
HA-Interconnect  500   VLAN-LISTENER  tenant1  4095  8    -    15   -    -    -     disabled   -

Boston-r10900-1#

Configuring VLANs from the API

To configure VLANs, use the following API command and JSON body. This will configure VLANs along with their VLAN IDs. After the VLANs are created, you will be able to assign them to either interfaces or LAGs.

PATCH https://{{rseries_appliance1_ip}}:8888/restconf/data/
{
    "openconfig-vlan:vlans": {
        "vlan": [
            {
                "vlan-id": "3010",
                "config": {
                    "vlan-id": 3010,
                    "name": "Internal-VLAN"
                }
            },
            {
                "vlan-id": "3011",
                "config": {
                    "vlan-id": 3011,
                    "name": "External-VLAN"
                }
            },
            {
                "vlan-id": "500",
                "config": {
                    "vlan-id": 500,
                    "name": "HA-VLAN"
                }
            },
            {
                "vlan-id": "501",
                "config": {
                    "vlan-id": 501,
                    "name": "HA-VLAN-Tenant1"
                }
            },
            {
                "vlan-id": "502",
                "config": {
                    "vlan-id": 502,
                    "name": "HA-VLAN-Tenant2"
                }
            },
            {
                "vlan-id": "503",
                "config": {
                    "vlan-id": 503,
                    "name": "HA-VLAN-Tenant3"
                }
            }
        ]
    }
}

The following command will list the configuration and status of all VLANs within the appliance:

GET https://{{rseries_appliance1_ip}}:8888/restconf/data/openconfig-vlan:vlans
{
    "openconfig-vlan:vlans": {
        "vlan": [
            {
                "vlan-id": 500,
                "config": {
                    "vlan-id": 500,
                    "name": "HA-VLAN"
                }
            },
            {
                "vlan-id": 501,
                "config": {
                    "vlan-id": 501,
                    "name": "HA-VLAN-Tenant1"
                }
            },
            {
                "vlan-id": 502,
                "config": {
                    "vlan-id": 502,
                    "name": "HA-VLAN-Tenant2"
                }
            },
            {
                "vlan-id": 503,
                "config": {
                    "vlan-id": 503,
                    "name": "HA-VLAN-Tenant3"
                }
            },
            {
                "vlan-id": 3010,
                "config": {
                    "vlan-id": 3010,
                    "name": "Internal-VLAN"
                }
            },
            {
                "vlan-id": 3011,
                "config": {
                    "vlan-id": 3011,
                    "name": "External-VLAN"
                }
            }
        ]
    }
}

Network Settings -> LAGs

All in-band networking, including Link Aggregation Groups (LAGs), is configured in the F5OS layer. The admin will configure interfaces and/or LAGs and they will assign VLANs to those physical interfaces or LAGs. Tenants will then inherit the VLANs that are assigned to them when they are created. It is recommended to spread LAG members across internal rSeries pipelines for added redundancy and optimal performance.

Configuring LAGs from the webUI

Link Aggregation Groups (LAGs) can be configured in the F5OS webUI via the Network Settings > LAGs page:

_images/image14.png

You can add a new LAG or edit an existing one. For LAG Type the options are LACP or STATIC. If you choose LACP then you have additional options for LACP Interval (SLOW or FAST) and LACP Mode (ACTIVE or PASSIVE). LACP best practices should follow previous BIG-IP examples as outlined in the links below. Note in BIG-IP the term Trunks is used in place of LAG which is used in F5OS:

https://support.f5.com/csp/article/K1689

https://support.f5.com/csp/article/K13142

The following solution article provides guidance for setting up VELOS LAG interfaces and LACP with Cisco Nexus 9000 series switches, and this would be similar guidance for rSeries:

https://support.f5.com/csp/article/K33431212

Once you have configured the LAG Type and LACP options, you can add any physical interfaces within the rSeries appliance to be part of a LAG. Finally, you can configure the Native VLAN (for untagged VLAN), and what Trunked VLANs (tagged) you’d like to add to this LAG interface.

_images/image15.png

Configuring LAGs from the CLI

Within the webUI, LAGs and LACP parameters are configured within the LAG webUI pages. In the CLI they are broken out into separate areas. First enter config mode and then use the following interface commands to configure the aggregation and LACP:

appliance-1(config)# interfaces interface Arista
appliance-1(config-interface-Arista)#  config name Arista
appliance-1(config-interface-Arista)#  config type ieee8023adLag
appliance-1(config-interface-Arista)#  aggregation config lag-type LACP
appliance-1(config-interface-Arista)#  aggregation config distribution-hash src-dst-ipport
appliance-1(config-interface-Arista)#  aggregation switched-vlan config trunk-vlans [ 3010 3011 ]
appliance-1(config-interface-Arista)# commit
Commit complete.
appliance-1(config-interface-Arista)#



appliance-1(config)# interfaces interface HA-Interconnect
appliance-1(config-interface-HA-Interconnect)#  config name HA-Interconnect
appliance-1(config-interface-HA-Interconnect)#  config type ieee8023adLag
appliance-1(config-interface-HA-Interconnect)#  aggregation config lag-type LACP
appliance-1(config-interface-HA-Interconnect)#  aggregation config distribution-hash src-dst-ipport
appliance-1(config-interface-HA-Interconnect)#  aggregation switched-vlan config trunk-vlans [ 500 ]
appliance-1(config-interface-HA-Interconnect)# commit
Commit complete.
appliance-1(config-interface-Arista)#

You can view the current interface aggregation configurations in the CLI by running the command show running-config interfaces interface aggregation command. This will show the current aggregation interfaces, lag-type, distribution hash, and VLANs assigned to each lag:

appliance-1# show running-config interfaces interface aggregation
interfaces interface Arista
aggregation config lag-type LACP
aggregation config distribution-hash src-dst-ipport
aggregation switched-vlan config trunk-vlans [ 3010 3011 ]
!
interfaces interface HA-Interconnect
aggregation config lag-type LACP
aggregation config distribution-hash src-dst-ipport
aggregation switched-vlan config trunk-vlans [ 500 ]
!
appliance-1#

Next, you must configure interfaces to be part of the LAG. Below are examples of interface 1.0 and 2.0 being added to the aggregate-id Arista, and interfaces 8.0 and 9.0 being added to the aggregate HA-Interconnect.

appliance-1(config)# interfaces interface 1.0
appliance-1(config-interface-1.0)#  config name 1.0
appliance-1(config-interface-1.0)#  ethernet config aggregate-id Arista
appliance-1(config-interface-1.0)#  exit
appliance-1(config)# interfaces interface 2.0
appliance-1(config-interface-2.0)#  config name 2.0
appliance-1(config-interface-2.0)#  ethernet config aggregate-id Arista
appliance-1(config-interface-2.0)#  exit

appliance-1(config)# interfaces interface 8.0
appliance-1(config-interface-1.0)#  config name 8.0
appliance-1(config-interface-1.0)#  ethernet config aggregate-id HA-Interconnect
appliance-1(config-interface-1.0)#  exit
appliance-1(config)# interfaces interface 9.0
appliance-1(config-interface-2.0)#  config name 9.0
appliance-1(config-interface-2.0)#  ethernet config aggregate-id HA-Interconnect
appliance-1(config-interface-2.0)# !
appliance-1(config)# commit

Finally, configuring the lacp interfaces for Arista and HA-Interconnect will start to bring the LAG interface up.

appliance-1# config
Entering configuration mode terminal
appliance-1(config)# lacp interfaces interface Arista
appliance-1(config-interface-Arista)#  config name Arista
appliance-1(config-interface-Arista)#  config interval FAST
appliance-1(config-interface-Arista)#  config lacp-mode ACTIVE
appliance-1(config-interface-Arista)# !
appliance-1(config-interface-Arista)# commit
Commit complete.


appliance-1# config
Entering configuration mode terminal
appliance-1(config)# lacp interfaces interface HA-Interconnect
appliance-1(config-interface-HA-Interconnect)#  config name HA-Interconnect
appliance-1(config-interface-HA-Interconnect)#  config interval FAST
appliance-1(config-interface-HA-Interconnect)#  config lacp-mode ACTIVE
appliance-1(config-interface-HA-Interconnect)# !
appliance-1(config-interface-HA-Interconnect)# commit
Commit complete.

You can also view the current LACP configuration for each LAG by issuing the show running-config lacp CLI command. This will show all the LACP parameters such as the system priority, name, interval, and lacp-mode for each LAG.

appliance-1# show running-config lacp
lacp config system-priority 32768
lacp interfaces interface Arista
config name Arista
config interval FAST
config lacp-mode ACTIVE
!
lacp interfaces interface HA-Interconnect
config name HA-Interconnect
config interval FAST
config lacp-mode ACTIVE
!
appliance-1#

To see the status of the LACP interfaces, run the command show lacp. It is best to widen your terminal screen as the output is dynamic and will display better on a wider terminal screen in more of a table format:

appliance-1# show lacp
lacp state system-id-mac 00:94:a1:69:35:13
                                                                                                                                                                                                                                            PARTNER  LACP    LACP    LACP    LACP    LACP
                                            LACP                      SYSTEM                                                                                                                        OPER                     PARTNER  PORT  PORT     IN      OUT     RX      TX      UNKNOWN  LACP
NAME             NAME             INTERVAL  MODE    SYSTEM ID MAC     PRIORITY  INTERFACE  INTERFACE  ACTIVITY  TIMEOUT  SYNCHRONIZATION  AGGREGATABLE  COLLECTING  DISTRIBUTING  SYSTEM ID         KEY   PARTNER ID         KEY      NUM   NUM      PKTS    PKTS    ERRORS  ERRORS  ERRORS   ERRORS
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Arista           Arista           FAST      ACTIVE  0:94:a1:69:35:13  -         1.0        -          ACTIVE    SHORT    IN_SYNC          true          true        true          0:94:a1:69:35:13  2     2c:dd:e9:90:88:13  103      1024  345      237602  7889    0       0       0        0
                                                                                2.0        -          ACTIVE    SHORT    IN_SYNC          true          true        true          0:94:a1:69:35:13  2     2c:dd:e9:90:88:13  103      2048  349      237590  7888    0       0       0        0
HA-Interconnect  HA-Interconnect  FAST      ACTIVE  0:94:a1:69:35:13  -         8.0        -          ACTIVE    SHORT    IN_SYNC          true          true        true          0:94:a1:69:35:13  3     0:94:a1:69:29:13   3        8192  8192     237494  236522  0       0       0        0
                                                                                9.0        -          ACTIVE    SHORT    IN_SYNC          true          true        true          0:94:a1:69:35:13  3     0:94:a1:69:29:13   3        9216  9216     237488  236516  0       0       0        0

appliance-1#

If you have shorter width terminal, then the output above may be condensed as seen below:

appliance-1# show lacp
lacp state system-id-mac 00:94:a1:69:35:13
lacp interfaces interface Arista
state name    Arista
state interval FAST
state lacp-mode ACTIVE
state system-id-mac 0:94:a1:69:35:13
members member 1.0
state activity   ACTIVE
state timeout    SHORT
state synchronization IN_SYNC
state aggregatable true
state collecting true
state distributing true
state system-id  0:94:a1:69:35:13
state oper-key   2
state partner-id 2c:dd:e9:90:88:13
state partner-key 103
state port-num   1024
state partner-port-num 345
state counters lacp-in-pkts 237650
state counters lacp-out-pkts 7891
state counters lacp-rx-errors 0
state counters lacp-tx-errors 0
state counters lacp-unknown-errors 0
state counters lacp-errors 0
members member 2.0
state activity   ACTIVE
state timeout    SHORT
state synchronization IN_SYNC
state aggregatable true
state collecting true
state distributing true
state system-id  0:94:a1:69:35:13
state oper-key   2
state partner-id 2c:dd:e9:90:88:13
state partner-key 103
state port-num   2048
state partner-port-num 349
state counters lacp-in-pkts 237638
state counters lacp-out-pkts 7890
state counters lacp-rx-errors 0
state counters lacp-tx-errors 0
state counters lacp-unknown-errors 0
state counters lacp-errors 0
lacp interfaces interface HA-Interconnect
state name    HA-Interconnect
state interval FAST
state lacp-mode ACTIVE
state system-id-mac 0:94:a1:69:35:13
members member 8.0
state activity   ACTIVE
state timeout    SHORT
state synchronization IN_SYNC
state aggregatable true
state collecting true
state distributing true
state system-id  0:94:a1:69:35:13
state oper-key   3
state partner-id 0:94:a1:69:29:13
state partner-key 3
state port-num   8192
state partner-port-num 8192
state counters lacp-in-pkts 237542
state counters lacp-out-pkts 236570
state counters lacp-rx-errors 0
state counters lacp-tx-errors 0
state counters lacp-unknown-errors 0
state counters lacp-errors 0
members member 9.0
state activity   ACTIVE
state timeout    SHORT
state synchronization IN_SYNC
state aggregatable true
state collecting true
state distributing true
state system-id  0:94:a1:69:35:13
state oper-key   3
state partner-id 0:94:a1:69:29:13
state partner-key 3
state port-num   9216
state partner-port-num 9216
state counters lacp-in-pkts 237536
state counters lacp-out-pkts 236564
state counters lacp-rx-errors 0
state counters lacp-tx-errors 0
state counters lacp-unknown-errors 0
state counters lacp-errors 0
appliance1#

Configuring LAGs from the API

To create a LAG, add interfaces to it, and add proper LACP configuration it will take a few different API calls. First a Link Aggregation Group (LAG) interface must be created. You will define a Name, specify the state and the LAG-type of LACP, and define which VLANs will use this LAG interface. In the example below, two LAG interfaces are being created (Arista & HA-Interconnect):

PATCH https://{{rseries_appliance1_ip}}:8888/restconf/data/
{
    "openconfig-interfaces:interfaces": {
        "interface": [
            {
                "name": "Arista",
                "config": {
                    "name": "Arista",
                    "type": "iana-if-type:ieee8023adLag",
                    "enabled": true
                },
                "openconfig-if-aggregate:aggregation": {
                    "config": {
                        "lag-type": "LACP",
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport"
                    },
                    "openconfig-vlan:switched-vlan": {
                        "config": {
                            "trunk-vlans": [
                                3010,
                                3011
                            ]
                        }
                    }
                }
            },
            {
                "name": "HA-Interconnect",
                "config": {
                    "name": "HA-Interconnect",
                    "type": "iana-if-type:ieee8023adLag",
                    "enabled": true
                },
                "openconfig-if-aggregate:aggregation": {
                    "config": {
                        "lag-type": "LACP",
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport"
                    },
                    "openconfig-vlan:switched-vlan": {
                        "config": {
                            "trunk-vlans": [
                                500,
                                501,
                                502,
                                503
                            ]
                        }
                    }
                }
            }
        ]
    }
}

The next step is to add physical interfaces into the LAG group. Interfaces will be added to the aggregate-id that was created in the previous step. In this case, interfaces 1.0 and 2.0 will be added to the LAG called Arista and interfaces 8.0 and 9.0 will be added to the interface called HA-Interconnect.

PATCH https://{{rseries_appliance1_ip}}:8888/restconf/data/
{
    "openconfig-interfaces:interfaces": {
        "interface": [
            {
                "name": "1.0",
                "config": {
                    "name": "1.0"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "openconfig-if-aggregate:aggregate-id": "Arista"
                    }
                }
            },
            {
                "name": "2.0",
                "config": {
                    "name": "2.0"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "openconfig-if-aggregate:aggregate-id": "Arista"
                    }
                }
            },
            {
                "name": "8.0",
                "config": {
                    "name": "8.0"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "openconfig-if-aggregate:aggregate-id": "HA-Interconnect"
                    }
                }
            },
            {
                "name": "9.0",
                "config": {
                    "name": "9.0"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "openconfig-if-aggregate:aggregate-id": "HA-Interconnect"
                    }
                }
            }
        ]
    }
}

The final step is adding LACP configuration for each LAG with the LACP mode ACTIVE and the Interval to FAST:

PATCH https://{{rseries_appliance1_ip}}:8888/restconf/data/
{
    "ietf-restconf:data": {
        "openconfig-lacp:lacp": {
            "interfaces": {
                "interface": [
                    {
                        "name": "Arista",
                        "config": {
                            "name": "Arista",
                            "interval": "FAST",
                            "lacp-mode": "ACTIVE"
                        }
                    },
                    {
                        "name": "HA-Interconnect",
                        "config": {
                            "name": "HA-Interconnect",
                            "interval": "FAST",
                            "lacp-mode": "ACTIVE"
                        }
                    }
                ]
            }
        }
    }
}

To view the final LAG configuration and status via the API, use the following API call:

GET https://{{rseries_appliance1_ip}}:8888/restconf/data/openconfig-lacp:lacp
{
    "openconfig-lacp:lacp": {
        "config": {
            "system-priority": 32768
        },
        "state": {
            "f5-lacp:system-id-mac": "00:94:a1:69:35:13"
        },
        "interfaces": {
            "interface": [
                {
                    "name": "Arista",
                    "config": {
                        "name": "Arista",
                        "interval": "FAST",
                        "lacp-mode": "ACTIVE"
                    },
                    "state": {
                        "name": "Arista",
                        "interval": "FAST",
                        "lacp-mode": "ACTIVE",
                        "system-id-mac": "0:94:a1:69:35:13"
                    },
                    "members": {
                        "member": [
                            {
                                "interface": "1.0",
                                "state": {
                                    "activity": "ACTIVE",
                                    "timeout": "SHORT",
                                    "synchronization": "IN_SYNC",
                                    "aggregatable": true,
                                    "collecting": true,
                                    "distributing": true,
                                    "system-id": "0:94:a1:69:35:13",
                                    "oper-key": 2,
                                    "partner-id": "2c:dd:e9:90:88:13",
                                    "partner-key": 103,
                                    "port-num": 1024,
                                    "partner-port-num": 345,
                                    "counters": {
                                        "lacp-in-pkts": "236597",
                                        "lacp-out-pkts": "7873",
                                        "lacp-rx-errors": "0",
                                        "lacp-tx-errors": "0",
                                        "lacp-unknown-errors": "0",
                                        "lacp-errors": "0"
                                    }
                                }
                            },
                            {
                                "interface": "2.0",
                                "state": {
                                    "activity": "ACTIVE",
                                    "timeout": "SHORT",
                                    "synchronization": "IN_SYNC",
                                    "aggregatable": true,
                                    "collecting": true,
                                    "distributing": true,
                                    "system-id": "0:94:a1:69:35:13",
                                    "oper-key": 2,
                                    "partner-id": "2c:dd:e9:90:88:13",
                                    "partner-key": 103,
                                    "port-num": 2048,
                                    "partner-port-num": 349,
                                    "counters": {
                                        "lacp-in-pkts": "236584",
                                        "lacp-out-pkts": "7872",
                                        "lacp-rx-errors": "0",
                                        "lacp-tx-errors": "0",
                                        "lacp-unknown-errors": "0",
                                        "lacp-errors": "0"
                                    }
                                }
                            }
                        ]
                    }
                },
                {
                    "name": "HA-Interconnect",
                    "config": {
                        "name": "HA-Interconnect",
                        "interval": "FAST",
                        "lacp-mode": "ACTIVE"
                    },
                    "state": {
                        "name": "HA-Interconnect",
                        "interval": "FAST",
                        "lacp-mode": "ACTIVE",
                        "system-id-mac": "0:94:a1:69:35:13"
                    },
                    "members": {
                        "member": [
                            {
                                "interface": "8.0",
                                "state": {
                                    "activity": "ACTIVE",
                                    "timeout": "SHORT",
                                    "synchronization": "IN_SYNC",
                                    "aggregatable": true,
                                    "collecting": true,
                                    "distributing": true,
                                    "system-id": "0:94:a1:69:35:13",
                                    "oper-key": 3,
                                    "partner-id": "0:94:a1:69:29:13",
                                    "partner-key": 3,
                                    "port-num": 8192,
                                    "partner-port-num": 8192,
                                    "counters": {
                                        "lacp-in-pkts": "236491",
                                        "lacp-out-pkts": "236001",
                                        "lacp-rx-errors": "0",
                                        "lacp-tx-errors": "0",
                                        "lacp-unknown-errors": "0",
                                        "lacp-errors": "0"
                                    }
                                }
                            },
                            {
                                "interface": "9.0",
                                "state": {
                                    "activity": "ACTIVE",
                                    "timeout": "SHORT",
                                    "synchronization": "IN_SYNC",
                                    "aggregatable": true,
                                    "collecting": true,
                                    "distributing": true,
                                    "system-id": "0:94:a1:69:35:13",
                                    "oper-key": 3,
                                    "partner-id": "0:94:a1:69:29:13",
                                    "partner-key": 3,
                                    "port-num": 9216,
                                    "partner-port-num": 9216,
                                    "counters": {
                                        "lacp-in-pkts": "236485",
                                        "lacp-out-pkts": "235995",
                                        "lacp-rx-errors": "0",
                                        "lacp-tx-errors": "0",
                                        "lacp-unknown-errors": "0",
                                        "lacp-errors": "0"
                                    }
                                }
                            }
                        ]
                    }
                }
            ]
        }
    }
}

You can get more granular information down to the interface level using the following API command:

GET https://{{rseries_appliance1_ip}}:8888/restconf/data/openconfig-interfaces:interfaces
{
    "openconfig-interfaces:interfaces": {
        "interface": [
            {
                "name": "1.0",
                "config": {
                    "name": "1.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 1.0",
                    "enabled": true
                },
                "state": {
                    "name": "1.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 9,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "61747342",
                        "in-unicast-pkts": "11",
                        "in-broadcast-pkts": "435841",
                        "in-multicast-pkts": "252797",
                        "in-discards": "286",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "1008256",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "7877",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "openconfig-if-aggregate:aggregate-id": "Arista"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "hw-mac-address": "00:94:a1:69:35:03",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "2.0",
                "config": {
                    "name": "2.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 2.0",
                    "enabled": true
                },
                "state": {
                    "name": "2.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 14,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "77691305",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "460498",
                        "in-multicast-pkts": "370834",
                        "in-discards": "201",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "1013768",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "7936",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "openconfig-if-aggregate:aggregate-id": "Arista"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_100GB",
                        "hw-mac-address": "00:94:a1:69:35:08",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "3.0",
                "config": {
                    "name": "3.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 3.0",
                    "enabled": true
                },
                "state": {
                    "name": "3.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 10,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:35:04",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "4.0",
                "config": {
                    "name": "4.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 4.0",
                    "enabled": true
                },
                "state": {
                    "name": "4.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 11,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:35:05",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "5.0",
                "config": {
                    "name": "5.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 5.0",
                    "enabled": true
                },
                "state": {
                    "name": "5.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 12,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:35:06",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "6.0",
                "config": {
                    "name": "6.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 6.0",
                    "enabled": true
                },
                "state": {
                    "name": "6.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 13,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:35:07",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "7.0",
                "config": {
                    "name": "7.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 7.0",
                    "enabled": true
                },
                "state": {
                    "name": "7.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 15,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:35:09",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "8.0",
                "config": {
                    "name": "8.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 8.0",
                    "enabled": true
                },
                "state": {
                    "name": "8.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 16,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "30289796",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "236647",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "30226820",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "236155",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "openconfig-if-aggregate:aggregate-id": "HA-Interconnect"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:35:0a",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "9.0",
                "config": {
                    "name": "9.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 9.0",
                    "enabled": true
                },
                "state": {
                    "name": "9.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 17,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "30286208",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "236611",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "30223488",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "236121",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_UP"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "openconfig-if-aggregate:aggregate-id": "HA-Interconnect"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:35:0b",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "10.0",
                "config": {
                    "name": "10.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "description": "Interface 10.0",
                    "enabled": true
                },
                "state": {
                    "name": "10.0",
                    "type": "iana-if-type:ethernetCsmacd",
                    "mtu": 9600,
                    "enabled": true,
                    "ifindex": 18,
                    "oper-status": "DOWN",
                    "counters": {
                        "in-octets": "0",
                        "in-unicast-pkts": "0",
                        "in-broadcast-pkts": "0",
                        "in-multicast-pkts": "0",
                        "in-discards": "0",
                        "in-errors": "0",
                        "in-fcs-errors": "0",
                        "out-octets": "0",
                        "out-unicast-pkts": "0",
                        "out-broadcast-pkts": "0",
                        "out-multicast-pkts": "0",
                        "out-discards": "0",
                        "out-errors": "0"
                    },
                    "f5-interface:forward-error-correction": "auto",
                    "f5-lacp:lacp_state": "LACP_DEFAULTED"
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB"
                    },
                    "state": {
                        "port-speed": "openconfig-if-ethernet:SPEED_25GB",
                        "hw-mac-address": "00:94:a1:69:35:0c",
                        "counters": {
                            "in-mac-control-frames": "0",
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-8021q-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-control-frames": "0",
                            "out-mac-pause-frames": "0",
                            "out-8021q-frames": "0"
                        },
                        "f5-if-ethernet:flow-control": {
                            "rx": "on"
                        }
                    }
                }
            },
            {
                "name": "mgmt",
                "config": {
                    "name": "mgmt",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true
                },
                "state": {
                    "name": "mgmt",
                    "type": "iana-if-type:ethernetCsmacd",
                    "enabled": true,
                    "ifindex": 1,
                    "oper-status": "UP",
                    "counters": {
                        "in-octets": "248626571",
                        "in-unicast-pkts": "135122",
                        "in-broadcast-pkts": "1565287",
                        "in-multicast-pkts": "363729",
                        "in-discards": "0",
                        "in-errors": "0",
                        "out-octets": "858981655",
                        "out-unicast-pkts": "611399",
                        "out-broadcast-pkts": "41",
                        "out-multicast-pkts": "60",
                        "out-discards": "0",
                        "out-errors": "0"
                    }
                },
                "openconfig-if-ethernet:ethernet": {
                    "config": {
                        "auto-negotiate": true,
                        "duplex-mode": "FULL",
                        "port-speed": "openconfig-if-ethernet:SPEED_1GB"
                    },
                    "state": {
                        "auto-negotiate": true,
                        "duplex-mode": "FULL",
                        "port-speed": "openconfig-if-ethernet:SPEED_1GB",
                        "hw-mac-address": "00:94:a1:69:35:02",
                        "negotiated-duplex-mode": "FULL",
                        "negotiated-port-speed": "openconfig-if-ethernet:SPEED_1GB",
                        "counters": {
                            "in-mac-pause-frames": "0",
                            "in-oversize-frames": "0",
                            "in-jabber-frames": "0",
                            "in-fragment-frames": "0",
                            "in-crc-errors": "0",
                            "out-mac-pause-frames": "0"
                        }
                    }
                }
            },
            {
                "name": "Arista",
                "config": {
                    "name": "Arista",
                    "type": "iana-if-type:ieee8023adLag",
                    "enabled": true
                },
                "state": {
                    "name": "Arista",
                    "type": "iana-if-type:ieee8023adLag",
                    "mtu": 9600,
                    "enabled": true,
                    "oper-status": "UP",
                    "f5-interface:forward-error-correction": "auto"
                },
                "openconfig-if-aggregate:aggregation": {
                    "config": {
                        "lag-type": "LACP",
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport"
                    },
                    "state": {
                        "lag-type": "LACP",
                        "lag-speed": 200,
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport",
                        "f5-if-aggregate:mac-address": "00:94:a1:69:35:14",
                        "f5-if-aggregate:lagid": 1
                    },
                    "openconfig-vlan:switched-vlan": {
                        "config": {
                            "trunk-vlans": [
                                3010,
                                3011
                            ]
                        }
                    }
                }
            },
            {
                "name": "HA-Interconnect",
                "config": {
                    "name": "HA-Interconnect",
                    "type": "iana-if-type:ieee8023adLag",
                    "enabled": true
                },
                "state": {
                    "name": "HA-Interconnect",
                    "type": "iana-if-type:ieee8023adLag",
                    "mtu": 9600,
                    "enabled": true,
                    "oper-status": "UP",
                    "f5-interface:forward-error-correction": "auto"
                },
                "openconfig-if-aggregate:aggregation": {
                    "config": {
                        "lag-type": "LACP",
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport"
                    },
                    "state": {
                        "lag-type": "LACP",
                        "lag-speed": 50,
                        "f5-if-aggregate:distribution-hash": "src-dst-ipport",
                        "f5-if-aggregate:mac-address": "00:94:a1:69:35:15",
                        "f5-if-aggregate:lagid": 2
                    },
                    "openconfig-vlan:switched-vlan": {
                        "config": {
                            "trunk-vlans": [
                                500,
                                501,
                                502,
                                503
                            ]
                        }
                    }
                }
            }
        ]
    }
}