Skip to content

class-map support for ZBFW #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
grotewortel opened this issue Apr 17, 2025 · 0 comments
Open

class-map support for ZBFW #237

grotewortel opened this issue Apr 17, 2025 · 0 comments

Comments

@grotewortel
Copy link

Description
Hi,
Can you please add support for class-maps for ZBFW?

Thank you
Jan

show running-config class-map github-classmap
This is part of the running config:




Building configuration...

Current configuration : 180 bytes
!
class-map type inspect match-all github-classmap
 match access-group 123
 match class-map someother-classmap
 match protocol tcp
 match protocol udp
 match protocol icmp
!
end

json path: .data["Cisco-IOS-XE-native:native"].policy."Cisco-IOS-XE-policy:class-map"[] | select(.name=="github-classmap")
This is the restconf-json formatted running config:

{
  "name": "github-classmap",
  "type": "inspect",
  "prematch": "match-all",
  "match": {
    "class-map": [
      "someother-classmap"
    ],
    "access-group": {
      "index": 123
    },
    "protocol": {
      "protocols-list": [
        {
          "protocols": "icmp"
        },
        {
          "protocols": "tcp"
        },
        {
          "protocols": "udp"
        }
      ]
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant