Chapter 6: Command line mode
NS3552-8P-2S-V2 User Manual 363
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
-8P-2S-V2:/>
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
-8P-2S-V2:/>
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.
-8P-2S-V2:/>
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)