HP Mellanox SX1018 Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet - Page 60

Configuring SNMP, 11.1.5 Configuring an SNMPv3 User

Page 60 highlights

For additional information refer to MELLANOX-EFM-MIB. For event-to-MIB mapping, please refer to Table 22, "Supported Event Notifications and MIB Mapping," on page 50. Rev 1.6.9 4.11.1.4 Configuring SNMP  To set up the SNMP: Step 1. Activate the SNMP server on the MLNX-OS switch (in configure mode) using the following commands: Community strings are case sensitive. Director switches (SX65xx systems) require SNMP timeout configuration on the agent of 60 seconds. switch (config) # snmp-server enable switch (config) # snmp-server enable notify switch (config) # snmp-server community public ro switch (config) # snmp-server contact "contact name" switch (config) # snmp-server host traps version 2c public switch (config) # snmp-server location "location name" switch (config) # snmp-server user admin v3 enable switch (config) # snmp-server user admin v3 prompt auth md5 priv des 4.11.1.5 Configuring an SNMPv3 User  To configure SNMP V3 user: Step 1. Configure the user using the command: switch (config) # snmp-server user [role] v3 prompt auth priv where • user role - admin • auth type - md5 or sha • priv type - des or aes-128 Step 2. Enter authentication password and its confirmation. Mellanox Technologies 60 Mellanox Technologies Confidential

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

Rev 1.6.9
Mellanox Technologies
60
Mellanox Technologies Confidential
For additional information refer to MELLANOX-EFM-MIB.
4.11.1.4 Configuring SNMP
To set up the SNMP:
Step 1.
Activate the SNMP server on the MLNX-OS switch (in configure mode) using the following
commands:
4.11.1.5 Configuring an SNMPv3 User
To configure SNMP V3 user:
Step 1.
Configure the user using the command:
where
user role -
admin
auth type -
md5
or
sha
priv type -
des
or
aes-128
Step 2.
Enter authentication password and its confirmation.
For event-to-MIB mapping, please refer to Table 22, “Supported Event Notifications
and MIB Mapping,” on page 50.
Community strings are case sensitive.
Director switches (SX65xx systems) require SNMP timeout configuration on the agent
of 60 seconds.
switch (config) # snmp-server enable
switch (config) # snmp-server enable notify
switch (config) # snmp-server community public ro
switch (config) # snmp-server contact "contact name"
switch (config) # snmp-server host <host IP address> traps version 2c public
switch (config) # snmp-server location "location name"
switch (config) # snmp-server user admin v3 enable
switch (config) # snmp-server user admin v3 prompt auth md5 priv des
switch (config) # snmp-server user [role] v3 prompt auth <hash type> priv <privacy
type>