For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

anatov's avatar
anatov
Icon for Nimbostratus rankNimbostratus
2 years ago

Can't create virtual-server with port-list

Hello team
I'm trying to create a VIP with the port list, but i got an error message: "Declaration failed: Invalid Virtual Address, the IP address x.x.x.x already exists."

The device has no configuration at the moment.

Trying to understand what's going on, maybe somebody has the same issue?

declaration:

{
  "class": "AS3",
  "action": "deploy",
  "persist": true,
  "declaration": {
    "class": "ADC",
    "id": "id",
    "label": "label",
    "remark": "Applications",
    "tenant1": {
      "class": "Tenant",
      "app1": {
        "class": "Application",
        "vip_X.X.X.X": {
          "class": "Service_Address",
          "virtualAddress": "X.X.X.X",
          "routeAdvertisement": "enable"
        },
        "svc1": {
          "class": "Service_TCP",
          "virtualAddresses": [{"use": "vip_X.X.X.X"}],
          "virtualPort": {
            "use": "port_list1"
            },
          "virtualType": "standard",
 
        },
        "port1": {
            "class": "Net_Port_List",
            "ports": [port_list],
        },
      },
    }
  }
}