Alcatel-Lucent 6850-48 Supplementary Manual

Page of 312
Using SNMP
Quick Steps for Setting Up Trap Filters
OmniSwitch AOS Release 6 Switch Management Guide
September 2009
page 3-5
Quick Steps for Setting Up Trap Filters
You can filter traps by limiting user access to trap command families. You can also filter according to 
individual traps. 
Filtering by Trap Families
The following example will create a new user account. This account will be granted read-only privileges 
to three CLI command families (snmp, chassis, and interface). Read-only privileges will be withheld from 
all other command families.
Set up a user account named “usermark2” by executing th
-> user usermark2 password ******
Remove all read-only privileges from the user account.
-> user usermark2 read-only none
Add read-only privileges for the snmp, chassis, and interface command families.
-> user usermark2 read-only snmp chassis interface 
Note. Optional. To verify the user account, enter the 
 command. A partial display is shown 
here:
-> show user
User name = usermark2
Read right          = 0x0000a200 0x00000000,
Write right         = 0x00000000 0x00000000,
Read for domains    = ,
Read for families   = snmp chassis interface ,
Write for domains   = None ,
Snmp authentication = NONE, Snmp encryption = NONE 
The usermark2 account has read-only privileges for the snmp, chassis, and interface command families.
Set up an SNMP station with the user account “usermark2” defined above.
-> snmp station 210.1.2.1 usermark2 v3 enable
Note. Optional.To verify the SNMP Management Station, enter the 
 command. The 
display is similar to the one shown here:
-> show snmp station
ipAddress/udpPort
status
protocol
user
---------------------------+---------+--------+-------------------------------
210.1.2.1/162
enable
v3
usermark2
The usermark2 account is established on the SNMP station at IP address 210.1.2.1.