Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1482

Unable to delete static nat44 twice-nat entries from VPP CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 19.01
    • 18.10
    • CLI
    • None

      it's not possible to delete twice-nat or self-twice-nat entries from the nat44 static mappings table using the CLI.

      From looking at nat44_cli.c I can see:

            else if (unformat (line_input, "twice-nat"))

              twice_nat = 1;

            else if (unformat (line_input, "del"))

              is_del = 1;

      so the delete case can never be hit for twice-nat/self-twice-nat

            chrisluke Chris Luke
            gilesheron Giles Heron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: