Fortinet black logo

CLI Reference

profile ip-address-group

profile ip-address-group

Use this command to create groups of IP addresses.

IP groups include groups of IP addresses that are used when configuring access control rules. For information about access control rules, see ms365 profile antivirus.

Syntax

config profile ip-address-group

edit <name>

config member

edit <ip/mask>

set comment <string>

end

Variable

Description

Default

<name>

Enter the name of the IP address group.

<ip/mask>

Enter the Enter the IP address and netmask that you want to include in the email group. Use the netmask, the portion after the slash (/), to specify the matching subnet.

For example, enter 10.10.10.10/24 to match a 24-bit subnet, or all addresses starting with 10.10.10. This will appear as 10.10.10.0/24 in the access control rule table, with the 0 indicating that any value is matched in that position of the address.

Similarly, 10.10.10.10/32 will appear as 10.10.10.10/32 and match only the 10.10.10.10 address.

To match any address, enter 0.0.0.0/0.

Related topics

ms365 profile antivirus

profile ip-address-group

Use this command to create groups of IP addresses.

IP groups include groups of IP addresses that are used when configuring access control rules. For information about access control rules, see ms365 profile antivirus.

Syntax

config profile ip-address-group

edit <name>

config member

edit <ip/mask>

set comment <string>

end

Variable

Description

Default

<name>

Enter the name of the IP address group.

<ip/mask>

Enter the Enter the IP address and netmask that you want to include in the email group. Use the netmask, the portion after the slash (/), to specify the matching subnet.

For example, enter 10.10.10.10/24 to match a 24-bit subnet, or all addresses starting with 10.10.10. This will appear as 10.10.10.0/24 in the access control rule table, with the 0 indicating that any value is matched in that position of the address.

Similarly, 10.10.10.10/32 will appear as 10.10.10.10/32 and match only the 10.10.10.10 address.

To match any address, enter 0.0.0.0/0.

Related topics

ms365 profile antivirus