Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller snmp-user

config switch-controller snmp-user

Configure FortiSwitch SNMP v3 users globally.

config switch-controller snmp-user

Description: Configure FortiSwitch SNMP v3 users globally.

edit <name>

set queries [disable|enable]

set query-port {integer}

set security-level [no-auth-no-priv|auth-no-priv|...]

set auth-proto [md5|sha1|...]

set auth-pwd {password}

set priv-proto [aes128|aes192|...]

set priv-pwd {password}

next

end

config switch-controller snmp-user

Parameter

Description

Type

Size

Default

queries

Enable/disable SNMP queries for this user.

option

-

enable

Option

Description

disable

Disable SNMP queries for this user.

enable

Enable SNMP queries for this user.

query-port

SNMPv3 query port .

integer

Minimum value: 0 Maximum value: 65535

161

security-level

Security level for message authentication and encryption.

option

-

no-auth-no-priv

Option

Description

no-auth-no-priv

Message with no authentication and no privacy (encryption).

auth-no-priv

Message with authentication but no privacy (encryption).

auth-priv

Message with authentication and privacy (encryption).

auth-proto

Authentication protocol.

option

-

sha256

Option

Description

md5

HMAC-MD5-96 authentication protocol.

sha1

HMAC-SHA-1 authentication protocol.

sha224

HMAC-SHA-224 authentication protocol.

sha256

HMAC-SHA-256 authentication protocol.

sha384

HMAC-SHA-384 authentication protocol.

sha512

HMAC-SHA-512 authentication protocol.

auth-pwd

Password for authentication protocol.

password

Not Specified

priv-proto

Privacy (encryption) protocol.

option

-

aes128

Option

Description

aes128

CFB128-AES-128 symmetric encryption protocol.

aes192

CFB128-AES-192 symmetric encryption protocol.

aes192c

CFB128-AES-192-C symmetric encryption protocol.

aes256

CFB128-AES-256 symmetric encryption protocol.

aes256c

CFB128-AES-256-C symmetric encryption protocol.

des

CBC-DES symmetric encryption protocol.

priv-pwd

Password for privacy (encryption) protocol.

password

Not Specified

config switch-controller snmp-user

config switch-controller snmp-user

Configure FortiSwitch SNMP v3 users globally.

config switch-controller snmp-user

Description: Configure FortiSwitch SNMP v3 users globally.

edit <name>

set queries [disable|enable]

set query-port {integer}

set security-level [no-auth-no-priv|auth-no-priv|...]

set auth-proto [md5|sha1|...]

set auth-pwd {password}

set priv-proto [aes128|aes192|...]

set priv-pwd {password}

next

end

config switch-controller snmp-user

Parameter

Description

Type

Size

Default

queries

Enable/disable SNMP queries for this user.

option

-

enable

Option

Description

disable

Disable SNMP queries for this user.

enable

Enable SNMP queries for this user.

query-port

SNMPv3 query port .

integer

Minimum value: 0 Maximum value: 65535

161

security-level

Security level for message authentication and encryption.

option

-

no-auth-no-priv

Option

Description

no-auth-no-priv

Message with no authentication and no privacy (encryption).

auth-no-priv

Message with authentication but no privacy (encryption).

auth-priv

Message with authentication and privacy (encryption).

auth-proto

Authentication protocol.

option

-

sha256

Option

Description

md5

HMAC-MD5-96 authentication protocol.

sha1

HMAC-SHA-1 authentication protocol.

sha224

HMAC-SHA-224 authentication protocol.

sha256

HMAC-SHA-256 authentication protocol.

sha384

HMAC-SHA-384 authentication protocol.

sha512

HMAC-SHA-512 authentication protocol.

auth-pwd

Password for authentication protocol.

password

Not Specified

priv-proto

Privacy (encryption) protocol.

option

-

aes128

Option

Description

aes128

CFB128-AES-128 symmetric encryption protocol.

aes192

CFB128-AES-192 symmetric encryption protocol.

aes192c

CFB128-AES-192-C symmetric encryption protocol.

aes256

CFB128-AES-256 symmetric encryption protocol.

aes256c

CFB128-AES-256-C symmetric encryption protocol.

des

CBC-DES symmetric encryption protocol.

priv-pwd

Password for privacy (encryption) protocol.

password

Not Specified