Fortinet black 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|sha]

set auth-pwd {password}

set priv-proto [aes|des]

set priv-pwd {password}

next

end

config switch-controller snmp-user

Parameter

Description

Type

Size

queries

Enable/disable SNMP queries for this user.

option

-

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

security-level

Security level for message authentication and encryption.

option

-

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

-

Option

Description

md5

HMAC-MD5-96 authentication protocol.

sha

HMAC-SHA-96 authentication protocol.

auth-pwd

Password for authentication protocol.

password

Not Specified

priv-proto

Privacy (encryption) protocol.

option

-

Option

Description

aes

CFB128-AES-128 symmetric encryption protocol.

des

CBC-DES symmetric encryption protocol.

priv-pwd

Password for privacy (encryption) protocol.

password

Not Specified

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|sha]

set auth-pwd {password}

set priv-proto [aes|des]

set priv-pwd {password}

next

end

config switch-controller snmp-user

Parameter

Description

Type

Size

queries

Enable/disable SNMP queries for this user.

option

-

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

security-level

Security level for message authentication and encryption.

option

-

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

-

Option

Description

md5

HMAC-MD5-96 authentication protocol.

sha

HMAC-SHA-96 authentication protocol.

auth-pwd

Password for authentication protocol.

password

Not Specified

priv-proto

Privacy (encryption) protocol.

option

-

Option

Description

aes

CFB128-AES-128 symmetric encryption protocol.

des

CBC-DES symmetric encryption protocol.

priv-pwd

Password for privacy (encryption) protocol.

password

Not Specified