---
title: "ezgh compute network-interfaces effective-rules"
description: "Show the rules in force on a network interface."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute network-interfaces effective-rules

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute network-interfaces effective-rules <interface>
```

Show a network interface's compiled rule set: the union of its firewalls' rules, normalized, with firewall peers as address sets. Each rule is shown as the API gives it; -o json prints the whole rule set.

Part of [`ezgh compute network-interfaces`](/cli/reference/compute-network-interfaces).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-network-interfaces-effective-rules/index.mdx
