Fortinet white logo
Fortinet white logo

CLI Reference

config wireless-controller wag-profile

config wireless-controller wag-profile

Configure wireless access gateway (WAG) profiles used for tunnels on AP.

config wireless-controller wag-profile
    Description: Configure wireless access gateway (WAG) profiles used for tunnels on AP.
    edit <name>
        set comment {var-string}
        set dhcp-ip-addr {ipv4-address}
        set ping-interval {integer}
        set ping-number {integer}
        set return-packet-timeout {integer}
        set tunnel-type [l2tpv3|gre]
        set wag-ip {ipv4-address}
        set wag-port {integer}
    next
end

config wireless-controller wag-profile

Parameter

Description

Type

Size

Default

comment

Comment.

var-string

Maximum length: 255

dhcp-ip-addr

IP address of the monitoring DHCP request packet sent through the tunnel.

ipv4-address

Not Specified

0.0.0.0

name

Tunnel profile name.

string

Maximum length: 35

ping-interval

Interval between two tunnel monitoring echo packets.

integer

Minimum value: 1 Maximum value: 65535

1

ping-number

Number of the tunnel monitoring echo packets.

integer

Minimum value: 1 Maximum value: 65535

5

return-packet-timeout

Window of time for the return packets from the tunnel's remote end.

integer

Minimum value: 1 Maximum value: 65535

160

tunnel-type

Tunnel type.

option

-

l2tpv3

Option

Description

l2tpv3

L2TPV3 Ethernet Pseudowire.

gre

GRE Ethernet tunnel.

wag-ip

IP Address of the wireless access gateway.

ipv4-address

Not Specified

0.0.0.0

wag-port

UDP port of the wireless access gateway.

integer

Minimum value: 0 Maximum value: 65535

1701

config wireless-controller wag-profile

config wireless-controller wag-profile

Configure wireless access gateway (WAG) profiles used for tunnels on AP.

config wireless-controller wag-profile
    Description: Configure wireless access gateway (WAG) profiles used for tunnels on AP.
    edit <name>
        set comment {var-string}
        set dhcp-ip-addr {ipv4-address}
        set ping-interval {integer}
        set ping-number {integer}
        set return-packet-timeout {integer}
        set tunnel-type [l2tpv3|gre]
        set wag-ip {ipv4-address}
        set wag-port {integer}
    next
end

config wireless-controller wag-profile

Parameter

Description

Type

Size

Default

comment

Comment.

var-string

Maximum length: 255

dhcp-ip-addr

IP address of the monitoring DHCP request packet sent through the tunnel.

ipv4-address

Not Specified

0.0.0.0

name

Tunnel profile name.

string

Maximum length: 35

ping-interval

Interval between two tunnel monitoring echo packets.

integer

Minimum value: 1 Maximum value: 65535

1

ping-number

Number of the tunnel monitoring echo packets.

integer

Minimum value: 1 Maximum value: 65535

5

return-packet-timeout

Window of time for the return packets from the tunnel's remote end.

integer

Minimum value: 1 Maximum value: 65535

160

tunnel-type

Tunnel type.

option

-

l2tpv3

Option

Description

l2tpv3

L2TPV3 Ethernet Pseudowire.

gre

GRE Ethernet tunnel.

wag-ip

IP Address of the wireless access gateway.

ipv4-address

Not Specified

0.0.0.0

wag-port

UDP port of the wireless access gateway.

integer

Minimum value: 0 Maximum value: 65535

1701