Netgear CSM4532 Software Administration Manual - Page 37

Using the Command-Line Interface, Using SNMP

Page 37 highlights

2.2.1. Using the Command-Line Interface The command-line interface (CLI) is a text-based way to manage and monitor the system. You can access the CLI by using a direct serial connection or by using a remote logical connection with telnet or SSH. The CLI groups commands into modes according to the command function. Each of the command modes supports specific software commands. The commands in one mode are not available until you switch to that particular mode, with the exception of the User EXEC mode commands. You can execute the User EXEC mode commands in the Privileged EXEC mode. To display the commands available in the current mode, enter a question mark (?) at the command prompt. To display the available command keywords or parameters, enter a question mark (?) after each word you type at the command prompt. If there are no additional command keywords or parameters, or if additional parameters are optional, the following message appears in the output: Press Enter to execute the command For more information about the CLI, see the M4500 Intelligent Fully Managed Switches CLI Command Reference Manual. The M4500 Intelligent Fully Managed Switches CLI Command Reference Manual lists each command available from the CLI by the command name and provides a brief description of the command. Each command reference also contains the following information: • The command keywords and the required and optional parameters. • The command mode you must be in to access the command. • The default value, if any, of a configurable setting on the device. The show commands in the document also include a description of the information that the command shows. 2.2.2. Using SNMP SNMP is enabled by default. The show sysinfo command displays the information you need to configure an SNMP manager to access the switch. You can configure SNMP groups and users that can manage traps that the SNMP agent generates. The switch uses both standard public MIBs for standard functionality and private MIBs that support additional switch functionality. All private MIBs begin with a "-" prefix. The main object for interface configuration is in SWITCHING-MIB, which is a private MIB. Some interface configurations also involve objects in the public MIB, IF-MIB. 2.2.2.1. SNMPv3 SNMP version 3 (SNMPv3) adds security and remote configuration enhancements to SNMP. You can configure SNMP server, users, and traps for SNMPv3. Any user can connect to the switch using the SNMPv3 protocol, but for authentication and encryption, you need to configure a new user profile. To configure a profile by using the CLI, see the SNMP section in the M4500 Intelligent Fully Managed Switches CLI Command Reference Manual. NETGEAR M4500 Series Switches Software Administration Manual 37

  • 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
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251

NETGEAR M4500 Series Switches Software Administration Manual
37
2.2.1.
Using the Command-Line Interface
The command-line interface (CLI) is a text-based way to manage and monitor the system. You can access the
CLI by using a direct serial connection or by using a remote logical connection with telnet or SSH.
The CLI groups commands into modes according to the command function. Each of the command modes
supports specific software commands. The commands in one mode are not available until you switch to that
particular mode, with the exception of the User EXEC mode commands. You can execute the User EXEC mode
commands in the Privileged EXEC mode.
To display the commands available in the current mode, enter a question mark (?) at the command prompt. To
display the available command keywords or parameters, enter a question mark (?) after each word you type
at the command prompt. If there are no additional command keywords or parameters, or if additional
parameters are optional, the following message appears in the output:
<cr>Press Enter to execute the command
For more information about the CLI, see the
M4500 Intelligent Fully Managed Switches CLI Command
Reference Manual.
The
M4500 Intelligent Fully Managed Switches CLI Command Reference Manual
lists each command available
from the CLI by the command name and provides a brief description of the command. Each command
reference also contains the following information:
The command keywords and the required and optional parameters.
The command mode you must be in to access the command.
The default value, if any, of a configurable setting on the device.
The
show
commands in the document also include a description of the information that the command shows.
2.2.2.
Using SNMP
SNMP is enabled by default. The
show
sysinfo
command displays the information you need to configure an
SNMP manager to access the switch. You can configure SNMP groups and users that can manage traps that
the SNMP agent generates.
The switch uses both standard public MIBs for standard functionality and private MIBs that support additional
switch functionality. All private MIBs begin with a “-” prefix. The main object for interface configuration is in -
SWITCHING-MIB, which is a private MIB. Some interface configurations also involve objects in the public MIB,
IF-MIB.
2.2.2.1.
SNMPv3
SNMP version 3 (SNMPv3) adds security and remote configuration enhancements to SNMP. You can configure
SNMP server, users, and traps for SNMPv3. Any user can connect to the switch using the SNMPv3 protocol,
but for authentication and encryption, you need to configure a new user profile. To configure a profile by using
the CLI, see the SNMP section in the
M4500 Intelligent Fully Managed Switches CLI Command Reference
Manual
.