SANRAD I3.1.1205 Switch User Manual


 
4-10 SANRAD V-Switch CLI User Manual
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-wcom
WRITE COMMUNITY COMMUNITY FOR
MANAGER TO SET
INFORMATION
OPTIONAL
DEFAULT:
PRIVATE
private
-trap
TRAP TO SEND TRAPS TO
MANAGER
OPTIONAL
YES: SEND
NO: DO NOT
SEND
DEFAULT: YES
yes
Example
An SNMP manager is added on IP address 212.199.43.96. It receives traps
through port 162. The manager receives information through the public
community and writes information through the private community.
snmp manager add –ip 212.199.43.96 –p 162 –rcom public –
wcom private –trap yes
Setting SNMP Communities
You can set SNMP read and write communities to regulate SNMP manager
access to variables. Use the CLI command device set to change the default
read and write SNMP communities. Use the CLI command info to check the
default communities.
device set.
You need to define two parameters to change the default SNMP communities:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-rcom
READ COMMUNITY COMMUNITY TO
GET INFORMATION
OPTIONAL
DEFAULT:
PUBLIC
-wcom
WRITE COMMUNITY COMMUNITY TO SET
INFORMATION
OPTIONAL
DEFAULT:
PRIVATE