Fortinet white logo
Fortinet white logo

CLI Reference

local-in-policy6

local-in-policy6

Use this command to edit the configuration of an IPv6 local-in policy.

Syntax

config system local-in-policy6

edit <id>

set action {accept | drop | reject}

set dport <integer>

set dst <IPv6 prefix>

set intf <string>

set protocol {tcp | tcp_udp | udp}

set src <IPv6 prefix>

end

end

Variable

Description

<id>

Set the entry number.

action {accept | drop | reject}

Select the action to be performed on the traffic matching this policy:

  • accept: Allow traffic matching this policy.

  • drop: Drop traffic matching this policy (default).

  • reject: Reject traffic matching this policy.

dport <integer>

Enter the destination port number (0 for all, default = 0).

dst <IPv6 prefix>

Enter the destination IPv6 address and prefix (default = ::/0).

intf <string>

Enter a name for the incoming interface. Enter port1, port2, port3....port10.

protocol {tcp | tcp_udp | udp}

Set the traffic protocol:

  • tcp: TCP only.

  • tcp_udp: TCP and UDP (default).

  • udp: UDP only.

src <IPv6 prefix>

Enter the source IPv6 address and prefix (default = ::/0).

local-in-policy6

local-in-policy6

Use this command to edit the configuration of an IPv6 local-in policy.

Syntax

config system local-in-policy6

edit <id>

set action {accept | drop | reject}

set dport <integer>

set dst <IPv6 prefix>

set intf <string>

set protocol {tcp | tcp_udp | udp}

set src <IPv6 prefix>

end

end

Variable

Description

<id>

Set the entry number.

action {accept | drop | reject}

Select the action to be performed on the traffic matching this policy:

  • accept: Allow traffic matching this policy.

  • drop: Drop traffic matching this policy (default).

  • reject: Reject traffic matching this policy.

dport <integer>

Enter the destination port number (0 for all, default = 0).

dst <IPv6 prefix>

Enter the destination IPv6 address and prefix (default = ::/0).

intf <string>

Enter a name for the incoming interface. Enter port1, port2, port3....port10.

protocol {tcp | tcp_udp | udp}

Set the traffic protocol:

  • tcp: TCP only.

  • tcp_udp: TCP and UDP (default).

  • udp: UDP only.

src <IPv6 prefix>

Enter the source IPv6 address and prefix (default = ::/0).