29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Quick Steps for Setting Up Trap Filters<br />

Using SNMP<br />

Quick Steps for Setting Up Trap Filters<br />

You can filter traps by limiting user access to trap command families. You can also filter according to<br />

individual traps.<br />

Filtering by Trap Families<br />

The following example will create a new user account. This account will be granted read-only privileges to<br />

three CLI command families (snmp, chassis, and interface). Read-only privileges will be withheld from all<br />

other command families.<br />

1 Set up a user account named “usermark2” by executing the user CLI command.<br />

-> user usermark2 password ******<br />

2 Remove all read-only privileges from the user account.<br />

-> user usermark2 read-only none<br />

3 Add read-only privileges for the snmp, chassis, and interface command families.<br />

-> user usermark2 read-only snmp chassis interface<br />

Note. Optional. To verify the user account, enter the show user command. A partial display is shown<br />

here:<br />

-> show user<br />

User name = usermark2<br />

Read right = 0x0000a200 0x00000000,<br />

Write right = 0x00000000 0x00000000,<br />

Read for domains = ,<br />

Read for families = snmp chassis interface ,<br />

Write for domains = None ,<br />

Snmp authentication = NONE, Snmp encryption = NONE<br />

The usermark2 account has read-only privileges for the snmp, chassis, and interface command families.<br />

4 Set up an SNMP station with the user account “usermark2” defined above.<br />

-> snmp station 210.1.2.1 usermark2 v3 enable<br />

Note. Optional.To verify the SNMP <strong>Management</strong> Station, enter the show snmp station command. The<br />

display is similar to the one shown here:<br />

-> show snmp station<br />

ipAddress/udpPort status protocol user<br />

---------------------------+---------+--------+-------------------------------<br />

210.1.2.1/162 enable v3 usermark2<br />

The usermark2 account is established on the SNMP station at IP address 210.1.2.1.<br />

page 9-4 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!