Chapter 6: Command line mode
NS3550-8T-2S Industrial Managed Switch User Manual
331
Syntax:
Security Switch SNMP Trap Security Name [<security_name>]
Parameters:
<security_name>
:
A string representing the security name for a principal (default:
Show SNMP trap security name). The allowed string length is (1-
32), and the allowed content is ASCII characters from 33 to 126
Example:
Set the SNMP trap security name
NS3552-8P-2S:/>
security switch
snmp
trap security name 12345678
Security Switch SNMP Engine ID
Description:
Set or show SNMPv3 local engine ID.
Syntax:
Security Switch SNMP Engine ID [<engineid>]
Parameters:
<engineid>
: Engine ID, the format may not be all zeros or all 'ff'H and is restricted
to 5 - 32 octet string
Default Setting:
800007e5017f000001
Example:
Set 800007e5017f000002 for SNMPv3 local engine ID
NS3552-8P-2S:/>
security
switch
snmp
engine id 800007e5017f000002
Security Switch SNMP Community Add
Description:
Add or modify SNMPv3 community entry.
The entry index key is <community>.
Syntax:
Security Switch SNMP Community Add <community> [<ip_addr>] [<ip_mask>]
Parameters:
<community>
: Community string
<ip_addr>
: IP address (a.b.c.d), default: Show IP address
<ip_mask>
: IP subnet mask (a.b.c.d), default: Show IP mask
Example:
Add SNMPv3 community entry.
NS3552-8P-2S:/>
security
switch
snmp
community add public
192.168.0.20 255.255.255.0
Security Switch SNMP Community Delete
Description:
Delete SNMPv3 community entry.
Syntax:
Security Switch SNMP Community Delete <index>
Parameters:
<index>
: entry index (1-64)