Fortinet white logo
Fortinet white logo

CLI Reference

user peergrp

user peergrp

Use this command to add or edit peer groups. Peers that you define can be used in the vpn ipsec phase1 command if peertype is set to peer.

config user peergrp
    edit {name}
    # Configure peer groups.
        set name {string}   Peer group name. size[35]
        config member
            edit {name}
            # Peer group members.
                set name {string}   Peer group member name. size[35] - datasource(s): user.peer.name
            next
    next
end

Additional information

The following section is for those options that require additional explanation.

append member <name>

Append peer group members.

member <name>

Member names of the peer group, each separated by a space. To add or remove names from the group, you must re-enter the whole list with the additions or deletions required.

user peergrp

user peergrp

Use this command to add or edit peer groups. Peers that you define can be used in the vpn ipsec phase1 command if peertype is set to peer.

config user peergrp
    edit {name}
    # Configure peer groups.
        set name {string}   Peer group name. size[35]
        config member
            edit {name}
            # Peer group members.
                set name {string}   Peer group member name. size[35] - datasource(s): user.peer.name
            next
    next
end

Additional information

The following section is for those options that require additional explanation.

append member <name>

Append peer group members.

member <name>

Member names of the peer group, each separated by a space. To add or remove names from the group, you must re-enter the whole list with the additions or deletions required.