Fortinet black logo

CLI Reference

config system addrgrp

config system addrgrp

Use this command to create the IPv4 address groups that you use to specify matching source and destination addresses in policies.

The following policies use address groups:

  • Link Load Balance policies
Basic Steps
  1. Create address objects.
  2. Configure address group objects.
  3. Select the address groups when you configure your policies.

Before you begin:

  • You must have read-write permission for system settings.
  • You must have created IPv4 address objects.

Syntax

config system addrgrp

edit <name>

config member

edit <name>

set address <datasource>

next

end

next

end

address

Specify an IPv4 address object.

Example

FortiADC-docs # config system addrgrp

FortiADC-docs (addrgrp) # edit WAN

Add new entry 'WAN' for node 3806

FortiADC-docs (WAN) # config member

FortiADC-docs (member) # edit 1

Add new entry '1' for node 3808

FortiADC-docs (1) # set address TEST-NET-3

FortiADC-docs (1) # end

FortiADC-docs (WAN) # next

FortiADC-docs (addrgrp) # edit LAN

Add new entry 'LAN' for node 3806

FortiADC-docs (LAN) # config member

FortiADC-docs (member) # edit 1

Add new entry '1' for node 3808

FortiADC-docs (1) # set address TEST-NET-1

FortiADC-docs (1) # next

FortiADC-docs (member) # edit 2

Add new entry '2' for node 3808

FortiADC-docs (2) # set address TEST-NET-2

FortiADC-docs (2) # end

FortiADC-docs (LAN) # end

config system addrgrp

Use this command to create the IPv4 address groups that you use to specify matching source and destination addresses in policies.

The following policies use address groups:

  • Link Load Balance policies
Basic Steps
  1. Create address objects.
  2. Configure address group objects.
  3. Select the address groups when you configure your policies.

Before you begin:

  • You must have read-write permission for system settings.
  • You must have created IPv4 address objects.

Syntax

config system addrgrp

edit <name>

config member

edit <name>

set address <datasource>

next

end

next

end

address

Specify an IPv4 address object.

Example

FortiADC-docs # config system addrgrp

FortiADC-docs (addrgrp) # edit WAN

Add new entry 'WAN' for node 3806

FortiADC-docs (WAN) # config member

FortiADC-docs (member) # edit 1

Add new entry '1' for node 3808

FortiADC-docs (1) # set address TEST-NET-3

FortiADC-docs (1) # end

FortiADC-docs (WAN) # next

FortiADC-docs (addrgrp) # edit LAN

Add new entry 'LAN' for node 3806

FortiADC-docs (LAN) # config member

FortiADC-docs (member) # edit 1

Add new entry '1' for node 3808

FortiADC-docs (1) # set address TEST-NET-1

FortiADC-docs (1) # next

FortiADC-docs (member) # edit 2

Add new entry '2' for node 3808

FortiADC-docs (2) # set address TEST-NET-2

FortiADC-docs (2) # end

FortiADC-docs (LAN) # end