The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Enabling IP filtering using the CLI

Prev Next

Use the commands in this section to enable IP filtering.

Note

  • The default rules do not place any restrictions on incoming and outgoing packets on ether* interfaces. You may add rules using the CLI. Use caution to not block access to needed network services.

  • IP filtering is automatically enabled when you connect to Managed Defense, described in the Managed Defense Quick Start Guide.

To view the active rules:
  1. Go to CLI enable mode:

    hostname > enable

  2. View the rules:

    hostname # show ip filter
    hostname # show ipv6 filter
To enable IP filtering:
  1. Go to CLI configuration mode:

    hostname > enable

    hostname # configure terminal

  2. Enable IP filtering:

    hostname (config) # ip filter enable

    hostname (config) # ipv6 filter enable

  3. Save your changes:

    hostname (config) # write memory