Fortinet white logo
Fortinet white logo

CLI Reference

config network address6

config network address6

Description: Configure IPv6 addresses.

config network address6

edit <name>

set type [ipmask | iprange]

set subnet {ipv6-address}

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
config network address6
  edit all
    set type ipmask
    set subnet 0::0/0
  next
  edit none
    set type ipmask
    set subnet 0::0/128
  next
end
Parameter Description Type Size Default
type Type of address. option - ipmask
Option Description
ipmask IP address and subnet mask.
iprange IP range.
subnet IP address and subnet mask. IPv6 address - none

config network address6

config network address6

Description: Configure IPv6 addresses.

config network address6

edit <name>

set type [ipmask | iprange]

set subnet {ipv6-address}

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
config network address6
  edit all
    set type ipmask
    set subnet 0::0/0
  next
  edit none
    set type ipmask
    set subnet 0::0/128
  next
end
Parameter Description Type Size Default
type Type of address. option - ipmask
Option Description
ipmask IP address and subnet mask.
iprange IP range.
subnet IP address and subnet mask. IPv6 address - none